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;

function popUp(url, myWidth, myHeight)
{
        newwindow=window.open(url,'name','top='+Math.floor(screen.height/2-myHeight/2)+',status=0,scrollbars=0,left='+Math.floor(screen.width/2-myWidth/2)+',height='+myHeight+',width='+myWidth);
		if (window.focus) {newwindow.focus()}
        return false;
}

