
if (window.attachEvent) window.attachEvent("onload", IEhover);



function IEhover() {
		if (document.getElementById('navigation')) {
			cssHover('navigation','LI');	
		}
}

function cssHover(tagid,tagname) {
	var sfEls = document.getElementById(tagid).getElementsByTagName(tagname);
	for (var i=0; i<sfEls.length; i++) {
	//debug: document.getElementById("error").innerHTML += "["+ i+ " "+ tagname +"]";
		sfEls[i].onmouseover=function() {
			this.className = " nav-hover";
			//debug: document.getElementById("error").innerHTML = "[hover]";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" nav-hover\\b"), "");
			//debug: document.getElementById("error").innerHTML = "[out("+ this.className +")]";
		}
	}
}




