// JavaScript Document
handlerToMenu = function(id) {
navRoot = document.getElementById(id);
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
  if (node.nodeName=="LI") {
    node.onmouseover=function() {
      if(this.className.indexOf('over') == -1) {
        this.className+=" over";
      }
    }
    node.onmouseout=function() {
      this.className=this.className.replace(" over", "");
    }
  }
}
}

startList = function() {
  handlerToMenu('left_menu');
  handlerToMenu('upper_menu');
}

window.onload=startList;
