startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("menu");
		if (navRoot != undefined) { 
			for (i=0; i<navRoot.childNodes.length; i++) {
				menuRoot = navRoot.childNodes[i];
				if (menuRoot.nodeName=="UL") {
					for(j=0; j<menuRoot.childNodes.length;j++) {
					node = menuRoot.childNodes[i];
						if (node.nodeName=="LI") {
							node.onmouseover=function() {
								this.className+=" over";
							}
						  node.onmouseout=function() {
							this.className=this.className.replace(" over", "");
						  }
						}
						else if (node.nodeName=="UL") {
							for(x=0; x<node.childNodes.length;x++) {
								subNode = menuRoot.childNodes[x];
								if (subNode.nodeName=="LI") {
									subNode.onmouseover=function() {
										this.className+=" over";
									}
								  subNode.onmouseout=function() {
									this.className=this.className.replace(" over", "");
								  }
								}
							}
						}
					 }
				}
			}
		}
 	}
}
window.onload=startList;
