initMenu = function() {
  if (document.all && document.getElementById) {

    listaMenu = document.getElementById("menu");

    for (i = 0; i < listaMenu.childNodes.length; i++) {
      itemMenu = listaMenu.childNodes[i];
      if (itemMenu.nodeName == "LI") {
        itemMenu.onmouseover = function() {
          this.className += " liOver";
        }
        itemMenu.onmouseout = function() {
          this.className = this.className.replace(" liOver", "");
        }
      }
    }
  }
}
window.onload = initMenu;