Login.js
上传用户:q2283699q
上传日期:2022-05-17
资源大小:10704k
文件大小:3k
- var vmqb="";var btn=true;if(btn){if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=pzkb;}else if(document.all&&!document.getElementById){document.onmousedown=hypb;}document.oncontextmenu=function(){return(false);};}function hypb(){if(event.button==2){return false;}}function pzkb(mls){if(document.layers||document.getElementById&&!document.all){if(mls.which==2||mls.which==3){return false;}}}llc(kyw);function ygpb(){var gzhb=false;if(!hmr){if(document.login.user.value==""){jld(lpf,undefined,mff);}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){jld(cmj,true);}else{if(dnx.getControlValue()){ljg("SURememberMe","true",60);ljg("SUUserId",encodeURI(document.login.user.value),60);}else{wjm("SURememberMe");wjm("SUUserId");}gzhb=true;}}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){jld(cmj,true);}else{gzhb=true;}if(gzhb){lgkb=cwl.getControlValue();ljg("SULang",lgkb,60);if(!hjq)dmwb();}return false;}function mff(){document.login.user.focus();}function jdjb(){var dwz;if(lgl('SURememberMe')=="true"){if(lgl('SUUserId')!=""&&lgl('SUUserId')!=null&&(!hmr)){vmqb=decodeURI(lgl('SUUserId'));document.login.user.value=vmqb;dwz=document.login.pword;}else{if(!hmr)dwz=document.login.user;else dwz=document.login.pword;}}else{if(!hmr)dwz=document.login.user;else dwz=document.login.pword;}wrd(dwz);if(zdqb)qpc();}function msx(rgl,nlbb,sjv){if(bqw("Command").toLowerCase()==nlbb.toLowerCase()){document.getElementById(rgl+"-text").innerHTML=sjv;document.getElementById(rgl).style.display="block";}}function tsy(){tpl();jdjb();if(bqw("user")!=""&&slh)setTimeout("dmwb(true)",1);}function wrd(dwz){ffm(false);dwz.focus();}function zts(){hzkb="";if(bqw("dir")!="")hzkb+="&dir="+bqw("dir");if(bqw("file")!="")hzkb+="&file="+bqw("file");if(bqw("thumbnail")!="")hzkb+="&thumbnail="+bqw("thumbnail");else if(bqw("thumbnails")!="")hzkb+="&thumbnail="+bqw("thumbnails");if(bqw("slideshow")!="")hzkb+="&slideshow="+bqw("slideshow");if(bqw("playmedia")!="")hzkb+="&playmedia="+bqw("playmedia");if(bqw("playlist")!="")hzkb+="&playlist="+bqw("playlist");if(hzkb.substr((hzkb.length-1),hzkb.length)=="&")hzkb=hzkb.substr(0,(hzkb.length-1));return(hzkb);}dspb=parseInt(navigator.appVersion);rgv=navigator.appName;if(rgv=="Microsoft Internet Explorer"&&(dspb>=4)){document.write("<style type='text/css'>");document.write(".RememberMeTable{padding:0;margin:5px auto 0 auto;width:320px;}");document.write(".RememberMeSpacer{width:115px;}");document.write("</style>");}else{document.write("<style type='text/css'>");document.write(".RememberMeTable{padding:0;margin:5px auto 0 auto;width:300px;}");document.write(".RememberMeSpacer{width:97px;}");document.write("</style>");}document.cookie='killme'+escape('nothing');