function dlCategories_OnMouseOver() { //clear all effects for all TD's var thisSPAN = event.srcElement; var thisTD = thisSPAN.parentElement; var colTRs = thisTD.parentElement.parentElement.rows; for (var i = 0; i <= colTRs.length - 1; i++) { colTRs(i).cells(0).style.backgroundColor = "white"; colTRs(i).cells(0).style.fontWeight = "normal"; }; // change styles for this TD thisTD.style.backgroundColor = "yellow"; thisTD.style.fontWeight = "bold"; if (thisTD.childNodes[0].style.backgroundColor != "bisque") { thisTD.childNodes[0].style.backgroundColor = "yellow"; thisTD.childNodes[0].style.fontWeight = "bold"; }; };