// JavaScript Document

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("main-menu");
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<navRoot.childNodes[i].childNodes.length; j++) {
  node = navRoot.childNodes[i].childNodes[j];
  if (node.nodeName=="UL") {
    
    for (k=0; k<navRoot.childNodes[i].childNodes[j].childNodes.length; k++) {
  node2 = navRoot.childNodes[i].childNodes[j].childNodes[k];
  if (node2.nodeName=="LI") {
    
    node2.onmouseover=function() {
      this.className+=" over";
    }
    node2.onmouseout=function() {
      this.className=this.className.replace(" over", "");
    }
    
   }
  }
    
   }
  }
   }
  }
 }
}
window.onload=startList;
