var mbc="";var kzcb=true;if(kzcb){if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=tgtb;}else if(document.all&&!document.getElementById){document.onmousedown=fbcb;}document.oncontextmenu=function(){return(false);};}function fbcb(){if(event.button==2){return false;}}function tgtb(fyjb){if(document.layers||document.getElementById&&!document.all){if(fyjb.which==2||fyjb.which==3){return false;}}}zhcb(ppbb);function gjt(){var qrnb=false;if(!chdb){if(document.login.user.value==""){qsd(yyd,undefined,vgsb);}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){qsd(wxbb,true);}else{if(fdmb.getControlValue()){xdy("SURememberMe","true",60);xdy("SUUserId",encodeURI(document.login.user.value),60);}else{txvb("SURememberMe");txvb("SUUserId");}qrnb=true;}}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){qsd(wxbb,true);}else{qrnb=true;}if(qrnb){dqhb=mkv.getControlValue();xdy("SULang",dqhb,60);if(!lsm)vjmb();}return false;}function vgsb(){document.login.user.focus();}function fmkb(){var zft;if(whc('SURememberMe')=="true"){if(whc('SUUserId')!=""&&whc('SUUserId')!=null&&(!chdb)){mbc=decodeURI(whc('SUUserId'));document.login.user.value=mbc;zft=document.login.pword;}else{if(!chdb)zft=document.login.user;else zft=document.login.pword;}}else{if(!chdb)zft=document.login.user;else zft=document.login.pword;}pjvb(zft);if(gqtb)zt();}function vtqb(qf,ncwb,qvlb){if(nfwb("Command").toLowerCase()==ncwb.toLowerCase()){document.getElementById(qf+"-text").innerHTML=qvlb;document.getElementById(qf).style.display="block";}}function fsw(){hcqb();fmkb();if(nfwb("user")!=""&&gpg)setTimeout("vjmb(true)",1);}function pjvb(zft){mhpb(false);zft.focus();}function bgbb(){nwpb="";if(nfwb("dir")!="")nwpb+="&dir="+nfwb("dir");if(nfwb("file")!="")nwpb+="&file="+nfwb("file");if(nfwb("thumbnail")!="")nwpb+="&thumbnail="+nfwb("thumbnail");else if(nfwb("thumbnails")!="")nwpb+="&thumbnail="+nfwb("thumbnails");if(nfwb("slideshow")!="")nwpb+="&slideshow="+nfwb("slideshow");if(nfwb("playmedia")!="")nwpb+="&playmedia="+nfwb("playmedia");if(nfwb("playlist")!="")nwpb+="&playlist="+nfwb("playlist");if(nwpb.substr((nwpb.length-1),nwpb.length)=="&")nwpb=nwpb.substr(0,(nwpb.length-1));return(nwpb);}txtb=parseInt(navigator.appVersion);hdgb=navigator.appName;if(hdgb=="Microsoft Internet Explorer"&&(txtb>=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');