function handleChildren(navRoot) {
	var i, j, node, nodetwo;
	
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.nodeName=="LI") {
			node.onmouseover=function() {
				this.className+=" over";
			}
			node.onmouseout=function() {
				this.className=this.className.replace (" over", "");
			}
			for (j=0; j<node.childNodes.length; j++) {
				nodetwo = node.childNodes[j];
				if (nodetwo.nodeName == "UL") {
					handleChildren(nodetwo);
				}
			}
		}
	}
}

function startList() {
	var navRoot_0;
	
	if (document.all&&document.getElementById) {
		navRoot_0 = document.getElementById("mainnav");
		handleChildren(navRoot_0);
	}
}