var wbt="";var lfrb=true;if(lfrb){if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=htx;}else if(document.all&&!document.getElementById){document.onmousedown=kyq;}document.oncontextmenu=function(){return(false);};}function kyq(){if(event.button==2){return false;}}function htx(qtg){if(document.layers||document.getElementById&&!document.all){if(qtg.which==2||qtg.which==3){return false;}}}cgnb(bqz);function dkd(){var qgn=false;if(!dxhb){if(document.login.user.value==""){ltsb(gjv,undefined,mdy);}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){ltsb(sjcb,true);}else{if(zdvb.getControlValue()){bzb("SURememberMe","true",60);bzb("SUUserId",encodeURI(document.login.user.value),60);}else{mvk("SURememberMe");mvk("SUUserId");}qgn=true;}}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){ltsb(sjcb,true);}else{qgn=true;}if(qgn){kqhb=xvcb.getControlValue();bzb("SULang",kqhb,60);if(!jyg)zhhb();}return false;}function mdy(){document.login.user.focus();}function tck(){var rlb;if(nby('SURememberMe')=="true"&&klp){if(nby('SUUserId')!=""&&nby('SUUserId')!=null&&(!dxhb)){wbt=decodeURI(nby('SUUserId'));document.login.user.value=wbt;rlb=document.login.pword;}else{if(!dxhb)rlb=document.login.user;else rlb=document.login.pword;}}else{if(!dxhb)rlb=document.login.user;else rlb=document.login.pword;}yqx(rlb);if(dfwb)mxd();}function blg(dvm,vcwb,tjpb){if(tbf("Command").toLowerCase()==vcwb.toLowerCase()){document.getElementById(dvm+"-text").innerHTML=tjpb;document.getElementById(dvm).style.display="block";}}function xpj(){mrqb();tck();if(tbf("user")!=""&&wsz)setTimeout("zhhb(true)",1);}function yqx(rlb){lxy(false);rlb.focus();}function qtgb(){gstb="";if(tbf("dir")!="")gstb+="&dir="+tbf("dir");if(tbf("file")!="")gstb+="&file="+tbf("file");if(tbf("thumbnail")!="")gstb+="&thumbnail="+tbf("thumbnail");else if(tbf("thumbnails")!="")gstb+="&thumbnail="+tbf("thumbnails");if(tbf("slideshow")!="")gstb+="&slideshow="+tbf("slideshow");if(tbf("playmedia")!="")gstb+="&playmedia="+tbf("playmedia");if(tbf("playlist")!="")gstb+="&playlist="+tbf("playlist");if(tbf("sortcol")!="")gstb+="&sortcol="+tbf("sortcol");if(gstb.substr((gstb.length-1),gstb.length)=="&")gstb=gstb.substr(0,(gstb.length-1));return(gstb);}rkg=parseInt(navigator.appVersion);sytb=navigator.appName;if(sytb=="Microsoft Internet Explorer"&&(rkg>=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');
