/* menu.js */

activateMenu = function(nav) {
  if (document.all && document.getElementById(nav).currentStyle) {  
    var navroot = document.getElementById(nav);
    var uList = navroot.getElementsByTagName('LI');  
    for (i = 0; i < uList.length; i++) {
      if(uList[i].lastChild.tagName == 'UL'){
        uList[i].onmouseover = function() {this.lastChild.style.display='block';}
        uList[i].onmouseout = function() {this.lastChild.style.display='none';}
      }
    }
  }
}

