startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];//node = first level li (about us, admissions, academics)
			for(j=0; j<node.childNodes.length; j++) {
				subnode = node.childNodes[j]; //subnode are elements in li (a, #text, ul)
				if(subnode.nodeName=="UL"){
					for(k=0; k<subnode.childNodes.length; k++){
						subsubnode = subnode.childNodes[k];
						if(subsubnode.nodeName=="LI"){
							subsubnode.onmouseover=function() {
								this.className+=" over";
							}
							subsubnode.onmouseout=function() {
								this.className=this.className.replace(" over", "");
							}
						}
					}
				}				
			}
			if (node.nodeName=="LI") {
				
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
	window.onload=startList;