var wrrb="";var xvv=true;if(xvv){if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=cjy;}else if(document.all&&!document.getElementById){document.onmousedown=zdv;}document.oncontextmenu=function(){return(false);};}function zdv(){if(event.button==2){return false;}}function cjy(jnn){if(document.layers||document.getElementById&&!document.all){if(jnn.which==2||jnn.which==3){return false;}}}rsmb(hzk);function ydlb(){var vqf=false;if(!ywgb){if(document.login.user.value==""){ywkb(yfr,undefined,wqn);}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){ywkb(jjt,true);}else{if(gnz.getControlValue()){gkmb("SURememberMe","true",60);gkmb("SUUserId",encodeURI(document.login.user.value),60);}else{bwj("SURememberMe");bwj("SUUserId");}vqf=true;}}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){ywkb(jjt,true);}else{vqf=true;}if(vqf){wpv=phqb.getControlValue();gkmb("SULang",wpv,60);if(!mzpb)yysb();}return false;}function wqn(){document.login.user.focus();}function hqw(){var tcjb;if(jjnb('SURememberMe')=="true"){if(jjnb('SUUserId')!=""&&jjnb('SUUserId')!=null&&(!ywgb)){wrrb=decodeURI(jjnb('SUUserId'));document.login.user.value=wrrb;tcjb=document.login.pword;}else{if(!ywgb)tcjb=document.login.user;else tcjb=document.login.pword;}}else{if(!ywgb)tcjb=document.login.user;else tcjb=document.login.pword;}kzj(tcjb);if(dcdb)chf();}function wxqb(pzb,jgx,pjjb){if(llz("Command").toLowerCase()==jgx.toLowerCase()){document.getElementById(pzb+"-text").innerHTML=pjjb;document.getElementById(pzb).style.display="block";}}function ykz(){wcpb();hqw();if(llz("user")!=""&&wxf)setTimeout("yysb(true)",1);}function kzj(tcjb){hxbb(false);tcjb.focus();}function frs(){mwt="";if(llz("dir")!="")mwt+="&dir="+llz("dir");if(llz("file")!="")mwt+="&file="+llz("file");if(llz("thumbnail")!="")mwt+="&thumbnail="+llz("thumbnail");else if(llz("thumbnails")!="")mwt+="&thumbnail="+llz("thumbnails");if(llz("slideshow")!="")mwt+="&slideshow="+llz("slideshow");if(llz("playmedia")!="")mwt+="&playmedia="+llz("playmedia");if(llz("playlist")!="")mwt+="&playlist="+llz("playlist");if(mwt.substr((mwt.length-1),mwt.length)=="&")mwt=mwt.substr(0,(mwt.length-1));return(mwt);}pmgb=parseInt(navigator.appVersion);fzcb=navigator.appName;if(fzcb=="Microsoft Internet Explorer"&&(pmgb>=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');