setHover = function( navRoot ) {
	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++ ) {
			nodeInt = node.childNodes[j];
			if ( nodeInt.nodeName=="UL" ) {
				for ( k = 0; k < nodeInt.childNodes.length; k++ ) {
					nodeLi = nodeInt.childNodes[k];
					if ( node.nodeName=="LI" ) {
						nodeLi.onmouseover=function() {
							this.className+=" over";
						}
						nodeLi.onmouseout=function() {
							this.className=this.className.replace(" over", "");
						}
					}
				}
			}
		}
	}
}


startList = function() {
	if ( document.all&&document.getElementById ) {
		navRoot = document.getElementById("navigation");
		setHover(navRoot);
	}
}

ELO.functionsToCallOnload.push("startList()");
