/*
Nav Fix for IE hover
*/
navArray = Array('nav');
startList = function() {
	if (document.all&&document.getElementById) {
		//Top Navs
		for (m=0; m<navArray.length; m++) {
			if (document.getElementById(navArray[m])) {
				topNavRoot = document.getElementById(navArray[m]);
				for (i=0; i<topNavRoot.childNodes.length; i++) {
					node = topNavRoot.childNodes[i];
					//alert(node.nodeName);
					if (node.nodeName=="LI") {
						//Sub UL
						for (j=0; j<node.childNodes.length; j++) {
							subTopNavRoot = node.childNodes[j];
							if (subTopNavRoot.nodeName=="UL") {
								for (k=0; k<subTopNavRoot.childNodes.length; k++) {
									subnode = subTopNavRoot.childNodes[k];
									if (subnode.nodeName=="LI") {
										subnode.onmouseover=function() {
											this.className="over "+this.className;
										}
										subnode.onmouseout=function() {
											this.className=this.className.replace("over ", "");
										}
									}
								}
							}
						}
											
					}
				}
			}
		}
	}
}
navfix = function(){
       if(document.getElementById("nav2")){
	 tmp = document.getElementById("nav2");
         
         tmp.onmouseover=function(){
  //       alert("hi");
         document.getElementById("show").style.display = "block";
//         alert(document.getElementById("show").display);
        }

         tmp.onmouseout=function() {
         document.getElementById("show").style.display = "none";
//         alert(this.className);
         }
        }
}
addEvent(window, 'load', navfix);


