startList = function() {
	if (document.all && document.getElementById) {
		menuRoot = document.getElementById("nav");
		for (i=0; i<menuRoot.childNodes.length; i++) {
			node = menuRoot.childNodes[i];
			if (node.tagName=="LI") {
				node.onmouseover=function() {
					this.className+=" hover";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" hover", "");
				}
			}
		}
	}
}

document.onload=startList();