// Fixes unordered list onMouseOver functionality...

/*
startList = function() {
	subnodes = 0;
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				//
				//	If a li set mouseEvents
				//
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
				
				// Check for nested Lists
				
				for (j=0; j<node.childNodes.length; j++) {
					navSub = node.childNodes[j];
					//alert(node.nodeName);
					if (navSub.nodeName=="UL") {
						//subnodes++;
						for (k=0; k<navSub.childNodes.length; k++) {
							subNode = navSub.childNodes[k];
							if (subNode.nodeName=="LI") {
								//
								//	If a li set mouseEvents
								//
								subnodes++;
								subNode.className = "test"
								subNode.onmouseover=function() {
									//alert("asdasd");
									this.className +=" subover";
								}
								subNode.onmouseout=function() {
									this.className=this.className.replace(" subover", "");
								}
							}
						}
					}
				}
			}
		}
	}
}
*/
