function makePOSTRequest(b,c,a){http_request=false;if(window.XMLHttpRequest){http_request=new XMLHttpRequest();if(http_request.overrideMimeType){http_request.overrideMimeType("text/html")}}else{if(window.ActiveXObject){try{http_request=new ActiveXObject("Msxml2.XMLHTTP")}catch(d){try{http_request=new ActiveXObject("Microsoft.XMLHTTP")}catch(d){}}}}if(!http_request){alert("Cannot create XMLHTTP instance");return false}http_request.onreadystatechange=function(){alertContents(a)};http_request.open("POST",b,true);http_request.setRequestHeader("Content-type","application/x-www-form-urlencoded");http_request.setRequestHeader("Content-length",c.length);http_request.setRequestHeader("Connection","close");http_request.send(c)}function alertContents(a){result=http_request.responseText;document.getElementById(a).innerHTML=result}function isset(a){var b;return(a==b?false:true)}function addlink(){var d;var e;var b;var f;var c=false;var a="php";if(isset(document.getElementById("captcha"))){d=document.getElementById("captcha").value}if(isset(document.getElementById("passwd"))){b=document.getElementById("passwd").value}f=document.getElementById("idarticle").value;referer=document.getElementById("referer").value;if(isset(b)){if(b==""){document.getElementById("passwd_msg").innerHTML="Password shoud not be empty";c=true}}if(isset(d)){if(d==""){document.getElementById("captcha_msg").innerHTML="Captcha shoud not be empty";c=true}}if(isset(b)){password_post="&passwd="+b}else{password_post=""}if(isset(f)&&c==false){makePOSTRequest("2307."+a+"?id="+f,"referer="+referer+"&captcha="+d+password_post,"divcont")}else{return false}}navHover=function(){var a=document.getElementById("navmenu-h").getElementsByTagName("LI");for(var b=0;b<a.length;b++){a[b].onmouseover=function(){this.className+=" iehover"};a[b].onmouseout=function(){this.className=this.className.replace(new RegExp(" iehover\\b"),"")}}};if(window.attachEvent){window.attachEvent("onload",navHover)}var intObjs=0;function frmt(a){return(a<10?"0":"")+Math.floor(a)+":"}function fillnum(b,a){if(b.indexOf(".")==-1){b=b+"."}while(b.length<a){b=b+"0"}return b}function countdown(intSec,strTgt,strCmd){var timelimit;var timevalue;x86=intSec.toString().length+1;if(document.getElementById){try{var args=countdown.arguments;var disp1=intSec;var disp=disp1;if(args.length>2){if(disp>60000){timelimit=fillnum((disp/6000).toString(),x86);timevalue="M"}else{timelimit=fillnum((disp/100).toString(),x86);timevalue="s"}document.getElementById("count_"+strTgt).firstChild.data=timelimit+" "+timevalue}else{strCmd=(args.length>1)?args[1]:"";strTgt=intObjs;var Teil=disp;document.write('<span id="count_'+intObjs+++'">'+Teil+"</span>")}if(intSec>0){window.setTimeout("countdown("+(intSec-9)+","+strTgt+",'"+strCmd+"')",90)}else{eval(strCmd)}}catch(e){}}}function change(){alert("thanks")}function reportLink(a){makePOSTRequest("index.php?go=ReportDL","iddata="+a,"reportLinkMsg")}function deleteLink(a){makePOSTRequest("/?go=addData&rem="+a,"","reportLinkMsg")};
