function hideLogin(){var login_box=document.getElementById('login_box');login_box.style.display='none';}
function showLogin(){var document.getElementById('login_box');login_box.style.display='inline';}
function addEvent(ele,type,hander){if(ele.addEventListener){ele.addEventListener(type,hander,false);}else if(ele.attachEvent){ele.attachEvent('on'+type,hander);}else{ele['on'+type]=hander;}