// NAVIGATION ROLLOVER (HOVER) TWEAK FOR INTERNET EXPLORER 4,5,6 

/*--------------------------------------
	This function allows roll overs via
	css in IE6 (already supported in 
				ie7 and fire fox)
	
	It searchs for element IDs menu-ul
	and news-ul.
----------------------------------------*/

if ( document.getElementById("menu-ul") )
{
	navRoot = document.getElementById("menu-ul");
}
else if ( document.getElementById("news-ul") )
{
	navRoot = document.getElementById("news-ul");
}

for(i=0; i<navRoot.childNodes.length; i++){
	node = navRoot.childNodes[i];
	if(node.nodeName=="LI"){
		node.onmouseover=function(){
			this.className+=" over";
		}
		node.onmouseout=function(){
			this.className=this.className.replace("over", "");	
		}
	}
}
