
ieHover = function(){
	if(document.getElementById("menu")){
		var ieEls = document.getElementById("menu").getElementsByTagName("LI");
		for (var i=0; i<ieEls.length; i++){
			ieEls[i].onmouseover=function(){
				this.className+=" over";
				if (this.childNodes[1]) this.childNodes[1].style.visibility = 'visible';
			}
			
			ieEls[i].onmouseout=function(){
				this.className=this.className.replace(new RegExp(" over\\b"), "");
				this.className=this.className.replace(new RegExp(" over\\b"), "");
				if (this.childNodes[1]) this.childNodes[1].style.visibility = 'hidden';
			}
		}
	}
}
window.onload=ieHover;
if (window.attachEvent)window.attachEvent("onload", ieHover);