// JavaScript Document

startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			subnode = navRoot.childNodes[i];
			if (subnode.nodeName=="LI") {
				for (j=0; j<subnode.childNodes.length; j++) {
					nodeUL = subnode.childNodes[j];
					if (nodeUL.nodeName=="UL") {
						for (n=0; n<nodeUL.childNodes.length; n++) {
							node = nodeUL.childNodes[n];
							if (node.nodeName=="LI") {
								node.onmouseover=function() {
									this.className+=" over";
								}
								node.onmouseout=function() {
									this.className=this.className.replace(" over", "");
								}
							}
						}
					}
				}
			}
		}
	}
}
window.onload=startList;