var newRow = tblObj.insertRow();
var newCell = newRow.insertCell();
newCell.innerHTML="<tr onmouseover="func()"> </tr>"
var newCell = newRow.insertCell();
newCell.innerHTML="<tr onmouseover="func()"> </tr>"
var newCell = newRow.insertCell();
newCell.onmouseover=function (){this.style.backgroundColor='black';}
newCell.onmouseout=function (){this.style.backgroundColor='white';}