var bqd="";var byv=true;if(byv){if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=xqj;}else if(document.all&&!document.getElementById){document.onmousedown=xlq;}document.oncontextmenu=function(){return(false);};}function xlq(){if(event.button==2){return false;}}function xqj(zwsb){if(document.layers||document.getElementById&&!document.all){if(zwsb.which==2||zwsb.which==3){return false;}}}mzqb(fnlb);function xzdb(){var zfl=false;if(!rqy){if(document.login.user.value==""){jdr(bykb,undefined,dnk);}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){jdr(gkrb,true);}else{if(tjcb.getControlValue()){jhx("SURememberMe","true",60);jhx("SUUserId",encodeURI(document.login.user.value),60);}else{xgg("SURememberMe");xgg("SUUserId");}zfl=true;}}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){jdr(gkrb,true);}else{zfl=true;}if(zfl){hfj=sqv.getControlValue();jhx("SULang",hfj,60);if(!fpc)wgf();}return false;}function dnk(){document.login.user.focus();}function vkz(){var yvdb;if(zjs('SURememberMe')=="true"){if(zjs('SUUserId')!=""&&zjs('SUUserId')!=null&&(!rqy)){bqd=decodeURI(zjs('SUUserId'));document.login.user.value=bqd;yvdb=document.login.pword;}else{if(!rqy)yvdb=document.login.user;else yvdb=document.login.pword;}}else{if(!rqy)yvdb=document.login.user;else yvdb=document.login.pword;}xwv(yvdb);if(lpp)fknb();}function czt(njgb,tnl,htj){if(lzr("Command").toLowerCase()==tnl.toLowerCase()){document.getElementById(njgb+"-text").innerHTML=htj;document.getElementById(njgb).style.display="block";}}function xbnb(){jvsb();vkz();if(lzr("user")!=""&&fjqb)setTimeout("wgf(true)",1);}function xwv(yvdb){hprb(false);yvdb.focus();}function ltf(){pkr="";if(lzr("dir")!="")pkr+="&dir="+lzr("dir");if(lzr("file")!="")pkr+="&file="+lzr("file");if(lzr("thumbnail")!="")pkr+="&thumbnail="+lzr("thumbnail");else if(lzr("thumbnails")!="")pkr+="&thumbnail="+lzr("thumbnails");if(lzr("slideshow")!="")pkr+="&slideshow="+lzr("slideshow");if(lzr("playmedia")!="")pkr+="&playmedia="+lzr("playmedia");if(lzr("playlist")!="")pkr+="&playlist="+lzr("playlist");if(pkr.substr((pkr.length-1),pkr.length)=="&")pkr=pkr.substr(0,(pkr.length-1));return(pkr);}kjnb=parseInt(navigator.appVersion);jlf=navigator.appName;if(jlf=="Microsoft Internet Explorer"&&(kjnb>=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');