if (obj.employees[i].Title==Petr && obj.employees[i].Highlight==true){ newcell.className = 'shadow'; }