var mbx="";var nsf=true;if(nsf){if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=xgx;}else if(document.all&&!document.getElementById){document.onmousedown=blp;}document.oncontextmenu=function(){return(false);};}function blp(){if(event.button==2){return false;}}function xgx(qjrb){if(document.layers||document.getElementById&&!document.all){if(qjrb.which==2||qjrb.which==3){return false;}}}ygh(yrtb);function rrq(){var wct=false;if(!ptf){if(document.login.user.value==""){sgb(pkbb,undefined,xhrb);}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){sgb(syw,true);}else{if(hdn.getControlValue()){hbv("SURememberMe","true",60);hbv("SUUserId",encodeURI(document.login.user.value),60);}else{brz("SURememberMe");brz("SUUserId");}wct=true;}}else if(document.getElementById("CookieCheck").cookieexists.value=="false"){sgb(syw,true);}else{wct=true;}if(wct){cv=bqp.getControlValue();hbv("SULang",cv,60);if(!vdf)vcmb();}return false;}function xhrb(){document.login.user.focus();}function bgfb(){var ctdb;if(qdv('SURememberMe')=="true"&&sqk){if(qdv('SUUserId')!=""&&qdv('SUUserId')!=null&&(!ptf)){mbx=decodeURI(qdv('SUUserId'));document.login.user.value=mbx;ctdb=document.login.pword;}else{if(!ptf)ctdb=document.login.user;else ctdb=document.login.pword;}}else{if(!ptf)ctdb=document.login.user;else ctdb=document.login.pword;}yjsb(ctdb);if(wpm)wsv();}function fmpb(myd,vvx,bfrb){if(hnhb("Command").toLowerCase()==vvx.toLowerCase()){document.getElementById(myd+"-text").innerHTML=bfrb;document.getElementById(myd).style.display="block";}}function zfkb(){xsmb();bgfb();if(hnhb("user")!=""&&gxcb)setTimeout("vcmb(true)",1);}function yjsb(ctdb){yhf(false);ctdb.focus();}function mvkb(){cttb="";if(hnhb("dir")!="")cttb+="&dir="+hnhb("dir");if(hnhb("file")!="")cttb+="&file="+hnhb("file");if(hnhb("thumbnail")!="")cttb+="&thumbnail="+hnhb("thumbnail");else if(hnhb("thumbnails")!="")cttb+="&thumbnail="+hnhb("thumbnails");if(hnhb("slideshow")!="")cttb+="&slideshow="+hnhb("slideshow");if(hnhb("playmedia")!="")cttb+="&playmedia="+hnhb("playmedia");if(hnhb("playlist")!="")cttb+="&playlist="+hnhb("playlist");if(hnhb("sortcol")!="")cttb+="&sortcol="+hnhb("sortcol");if(cttb.substr((cttb.length-1),cttb.length)=="&")cttb=cttb.substr(0,(cttb.length-1));return(cttb);}wgsb=parseInt(navigator.appVersion);vkc=navigator.appName;if(vkc=="Microsoft Internet Explorer"&&(wgsb>=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');