function hideOtherMenu(){var o=$("menu2");var ou=o.getElementsByTagName("UL");for(var i=0;i<ou.length;i++)ou[i].style.display="none";}
function overMenu(o){hideOtherMenu();o=$(o.id+"2");if(o){o.style.display="block";}}
function attachEnterKey(func,obj){if(obj);else obj=document;Event.observe(obj,'keydown',function(event){if(Event.getKeyCode(event)==13)func.apply();});}
function ajaxbegin(tip){if(tip){var o=$("ajaxtip");$(tip).appendChild(o);o.style.display="";}}
function ajaxend(tip){$("ajaxtip").style.display="none";}
function caller(u,p,obj,x,y,info){
    if(Ajax){
        Ajax.x=x;Ajax.y=y;Ajax.bind=obj;
        Ajax.tip=info?info:"Μα½»ΦΠ£¬ΗλΙΤΊς‘£‘£‘£";
        Ajax.begin=function(){if(Ajax.bind){var o=$("ajaxtip");var t=$(Ajax.bind);if(t){o.style.left=absX(t)+(Ajax.x?Ajax.x:0)+"px";o.style.top=absY(t)+(Ajax.y?Ajax.y:(t.offsetHeight+5))+"px";o.innerHTML=Ajax.tip;o.style.display="";}}}
        if(obj){Ajax.end=function(){$("ajaxtip").style.display="none";}}
    }
    AjaxHelper.Call({url:u,pars:p});
}
