function ajax_check(){var a=false;try{a=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP")}catch(b){return false}return true}function preload_image(a){var b=new Image;b.src=a}function OnloadExecute(){if(!window.onload_queue||window.onload_queue.length==0){return}for(var a=0;a<window.onload_queue.length;a++){window.onload_queue[a]()}}function Onload(a,c){if(typeof(a)!="function"){return}if(!window.onload_queue_set){window.onload_queue_set=true;var b=window.onload;window.onload=function(){if(b){b()}setTimeout(OnloadExecute,10)}}if(!window.onload_queue){window.onload_queue=[]}if(c){window.onload_queue.unshift(a)}else{window.onload_queue[window.onload_queue.length]=a}}function resize_eas_frame(a,e){if(!document.org_domain){document.org_domain=document.domain}var d=location.host;if(d.match(/^([0-9].){4}/)){if(d.indexOf(":")){d=d.substr(0,d.indexOf(":"))}}else{var b=d.split(".");if(b.length>=2){d=b[b.length-2]+"."+b[b.length-1]}}document.domain=d;var c=a.contentWindow?a.contentWindow.document:a.contentDocument.document;a.height=c.body.scrollHeight;if(a.height==0){a.parentNode.removeChild(a)}else{if(c.body.scrollWidth<e){a.width=c.body.scrollWidth}else{if(e){a.width=e}}}}function clickcounter(a){if(ajax_check()){var b=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP");b.open("GET","/redir?nc=1&s="+a,true);b.send(null)}}function include_script(b,c){var a=document.createElement("script");a.src=b;a.type="text/javascript";if(c){a.onload=c;a.onreadystatechange=function(){if(this.readyState=="complete"||this.readyState=="loaded"){this.onload();this.onload=this.onreadystatechange=null}}}document.getElementsByTagName("head")[0].appendChild(a)};
