initMenu = function() {
    if (document.all&&document.getElementById) {
	
	navRoot = document.getElementById("navbar");
	
	var nodes = navRoot.childNodes[0].childNodes;

	for (i=0; i<nodes.length; i++) {
	    node = nodes[i];
	    if (node.nodeName=="LI") {

		node.onmouseover=function() {
		    this.className+=" over";
		}
		node.onmouseout=function() {
		    this.className=this.className.replace(" over", "");
		}
	    }
	}
    }
}

window.onload=initMenu;
