navHover = function() {

	var liM = document.getElementById("mainmenu").getElementsByTagName("LI");
    
	liM[0].className += " first";
		
	for (var i=0; i<liM.length; i++) {
		
		liM[i].onmouseover=function() {
			this.className+=" iehover";
		}
		liM[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
    
    
	var liLang = document.getElementById("language").getElementsByTagName("LI");
    
	for (var i=0; i<liLang.length; i++) {
		liLang[i].onmouseover=function() {
			this.className+=" iehover";
		}
		liLang[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}

}
if (window.attachEvent) window.attachEvent("onload", navHover);

