setHover = function() {

if (document.all&&document.getElementById) {
	var navRoot = document.getElementById("mainmenu");
	var navLi = navRoot.getElementsByTagName("li");
	
	for (i=0; i<navLi.length; i++) {
		node = navLi[i];
				node.onmouseover=function() {
					this.className+=" hover";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" hover", "");
				}
		}
	}
}
window.onload=setHover;

