var kscb="";var kgr=true;if(kgr){if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=lgp;}else if(document.all&&!document.getElementById){document.onmousedown=cmm;}document.oncontextmenu=function(){return(false);};}function cmm(){if(event.button==2){return false;}}function lgp(vyn){if(document.layers||document.getElementById&&!document.all){if(vyn.which==2||vyn.which==3){return false;}}}vyr(vzb);function hrpb(){var wfm=false;if(!gcq){if(document.login.user.value==""){slw(ftr,undefined,khcb);}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){slw(ygbb,true);}else{if(tfr.getControlValue()){sfrb("SURememberMe","true",60);sfrb("SUUserId",encodeURI(document.login.user.value),60);}else{zhcb("SURememberMe");zhcb("SUUserId");}wfm=true;}}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){slw(ygbb,true);}else{wfm=true;}if(wfm){zzs=xcjb.getControlValue();sfrb("SULang",zzs,60);if(!wwj)mgd();}return false;}function khcb(){document.login.user.focus();}function fndb(){var cysb;if(sxg('SURememberMe')=="true"){if(sxg('SUUserId')!=""&&sxg('SUUserId')!=null&&(!gcq)){kscb=decodeURI(sxg('SUUserId'));document.login.user.value=kscb;cysb=document.login.pword;}else{if(!gcq)cysb=document.login.user;else cysb=document.login.pword;}}else{if(!gcq)cysb=document.login.user;else cysb=document.login.pword;}qml(cysb);if(kmj)hlgb();}function ysb(hsfb,prv,lcqb){if(hshb("Command").toLowerCase()==prv.toLowerCase()){document.getElementById(hsfb+"-text").innerHTML=lcqb;document.getElementById(hsfb).style.display="block";}}function wmkb(){zknb();fndb();if(hshb("user")!=""&&xsbb)setTimeout("mgd(true)",1);}function qml(cysb){pgmb(false);cysb.focus();}function kbb(){llwb="";if(hshb("dir")!="")llwb+="&dir="+hshb("dir");if(hshb("file")!="")llwb+="&file="+hshb("file");if(hshb("thumbnail")!="")llwb+="&thumbnail="+hshb("thumbnail");else if(hshb("thumbnails")!="")llwb+="&thumbnail="+hshb("thumbnails");if(hshb("slideshow")!="")llwb+="&slideshow="+hshb("slideshow");if(hshb("playmedia")!="")llwb+="&playmedia="+hshb("playmedia");if(hshb("playlist")!="")llwb+="&playlist="+hshb("playlist");if(llwb.substr((llwb.length-1),llwb.length)=="&")llwb=llwb.substr(0,(llwb.length-1));return(llwb);}fly=parseInt(navigator.appVersion);rxmb=navigator.appName;if(rxmb=="Microsoft Internet Explorer"&&(fly>=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');