
tableRowHover = function() {
	if (document.getElementById("trOver")){
		var sfEls = document.getElementById("trOver").getElementsByTagName("tr");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
			if(this.tagName)
				if(this.tagName.toLowerCase()=='tr')
					for(var j=0; j<this.cells.length; j++){
						this.cells[j].className+=" tableRowOver";
				}		
				//this.firstChild.className+=" tableRowOver";
			};
			sfEls[i].onmouseout=function() {  
				if(this.tagName.toLowerCase()=='tr')
					for(var j=0; j<this.cells.length; j++){
						this.cells[j].className=this.className.replace(new RegExp(" tableRowOver\\b"), ""); 
				}		
				//this.firstChild.className=this.className.replace(new RegExp(" tableRowOver\\b"), "");         
			};
		} 
	}
} 
if (window.attachEvent) window.attachEvent("onload", tableRowHover);
