// JavaScript Document

startList = function() {
	if (document.all&&document.getElementsByTagName) {
		var lists=document.getElementsByTagName("UL");
		for(var i=0; i<lists.length; i++) {
			if(lists[i].className.indexOf("drop-down-nav")>-1) {
				loadNavList(lists[i]);
			}
		}
	}
}

loadNavList=function(navRoot) {
	for (var i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.nodeName.toLowerCase()=="li") {
			node.onmouseover=function() { 
				this.className+=" over";
			}
			node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
			}
		}
	}
}

window.onload=startList;
