var addLoadEvent=function(func){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}else{window.onload=function(){if(oldonload){oldonload();}func();};}};var serviceLinksHover=function(){if(document.getElementById){navRoot=document.getElementById("serviceLinks");if(navRoot){for(i=0;i<navRoot.childNodes.length;i++){node=navRoot.childNodes[i];if(node.nodeName=="LI"&&node.className.indexOf("active")==-1){node.onmouseover=function(){this.className+=" hover";};node.onmouseout=function(){this.className=this.className.replace("hover","");};}}}}};addLoadEvent(serviceLinksHover);var mainNavHover=function(){if(document.all&&document.getElementById){navRoot=document.getElementById("mainNavItems");if(!navRoot)return;for(i=0;i<navRoot.childNodes.length;i++){node=navRoot.childNodes[i];if(node.nodeName=="TD"){node.onmouseover=function(){this.className+=" hover";};node.onmouseout=function(){this.className=this.className.replace(" hover","");};}}}};addLoadEvent(mainNavHover);