
var startList = function(){
  getNav();
}

//menu script
function getNav(){
if (document.all&&document.getElementById) {
//var navRoot  = document.getElementById("nav1");
var navRoot2 = document.getElementById("nav2");
var navRoot3 = document.getElementById("nav3");
var navRoot4 = document.getElementById("nav4");
var navRoot5 = document.getElementById("nav5");
//var navRoot6 = document.getElementById("nav6");

/*for (i=0; i<navRoot.childNodes.length; i++) {
                                   //alert(navRoot.id);
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
                                   //alert(this.className);
  }//end function
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }//end function
   }//end if
  }//end for
 */
for (i=0; i<navRoot2.childNodes.length; i++) {
node = navRoot2.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }//end function
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }//end function
   }//end if
  }//end for
	 
for (i=0; i<navRoot3.childNodes.length; i++) {
node = navRoot3.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }//end function
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }//end function
   }//end if
  }//end for
	
for (i=0; i<navRoot4.childNodes.length; i++) {
node = navRoot4.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }//end function
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }//end function
   }//end if
  }//end for
	
	for (i=0; i<navRoot5.childNodes.length; i++) {
node = navRoot5.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }//end function
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }//end function
   }//end if
  }//end for

	/*for (i=0; i<navRoot6.childNodes.length; i++) {
node = navRoot6.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }//end function
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }//end function
   }//end if
  }//end for*/
	
 }//end 1st if
}
window.onload=startList;