// JavaScript Document

startList = function() {
	//alert("GO!");
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("menu");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			//alert(node.nodeName);
			if (node.nodeName=="UL") {
				
				//alert("yay");
				
				
				menRoot = document.getElementById("menu").childNodes[i];
				
				for (j=0; j<menRoot.childNodes.length; j++) {
					nextnode = menRoot.childNodes[j];
					//alert(nextnode.nodeName);
					if (nextnode.nodeName=="LI") {
						
						//alert("zowee");
						
						nextnode.onmouseover=function() {
							this.className+=" over";
						}
						
						nextnode.onmouseout=function() {
							this.className=this.className.replace(" over", "");
						}
						
					}
				}
				
			}
		}
	}
}
window.onload=startList;
