showCategories = function () {
    if (document.all&&document.getElementById) {
        //box_all_categorias = document.getElementById("box_all_categorias");
        // ULnavRoot = box_all_categorias.getElementsByTagName("UL");
        ULnavRoot = $('#box_all_categorias ul');
        for (x=0; x<ULnavRoot.length; x++) {
            navRoot = ULnavRoot[x];
            for (i=0; i<navRoot.childNodes.length; i++) {
                node = navRoot.childNodes[i];
                if (node.nodeName=="LI" && node.className=="lnk_mais") {
                    node.onmouseover=function () {
                        this.className+=" over";
                    }
                    node.onmouseout=function () {
                        this.className=this.className.replace(" over", "");
                    }
                }
            }
        }
    }
}
function addEvent( obj, type, fn ) {
  if (obj.addEventListener)
      obj.addEventListener( type, fn, false );
  else if (obj.attachEvent)
  {
      obj["e"+type+fn] = fn;
      obj[type+fn] = function() { obj["e"+type+fn]( window.event ); }
      obj.attachEvent( "on"+type, obj[type+fn] );
  }
}

addEvent(window, 'load', showCategories);
