function doLogin(){ if (document.frmLogin.loginpassword.value.length<1){ fEr("password is requred"); return; } authorize(document.frmLogin.loginusername.value,document.frmLogin.loginpassword.value,true,""); } function ChatOnIdentityRet(bExist,iFirstRmId,sFirstRmName){ elemDisplChng("idLoggedinMsg",bExist); if(!bExist){ siteNameGet(); } } function ChatOnAuthorized(sUser,iUserType,iRoomId){ document.location="sup_admin.aspx"; }