var oReq;var oGenericDiv;function doRating(a,b){try{oReq=new XMLHttpRequest()}catch(c){try{oReq=new ActiveXObject("Microsoft.XMLHTTP")}catch(c){oReq=false}}if(oReq){lRand=Math.round(Math.random()*100);sUrl="http://www.netzwelt.de/xml/rating.php?id="+a+"&rating="+b+"&rand="+lRand;oReq.onreadystatechange=processRating;oReq.open("GET",sUrl,true);oReq.send(null)}else{sHTML="Es ist ein Problem aufgetreten. Versuchen Sie Ihre Anfrage erneut.";sHTML=sHTML+'<a class="closelink" href="#" onClick="closeRatingForm()">Schließen</a>';document.getElementById("divpopup").innerHTML=sHTML}}function processRating(){if(oReq.readyState==4){if(oReq.status==200){sHTML=oReq.responseText;sHTML=sHTML+'<a class="closelink" href="#" onClick="closeRatingForm()">Schließen</a>';document.getElementById("divpopup").innerHTML=sHTML}else{sHTML="Es ist ein Problem aufgetreten. Versuchen Sie Ihre Anfrage erneut.";sHTML=sHTML+'<a class="closelink" href="#" onClick="closeRatingForm()">Schließen</a>';document.getElementById("divpopup").innerHTML=sHTML}}}function doSoftware(a){try{oReq=new XMLHttpRequest()}catch(b){try{oReq=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){oReq=false}}if(oReq){lRand=Math.round(Math.random()*100);a=a+"&rand="+lRand;oReq.onreadystatechange=processSoftware;oReq.open("GET",a,true);oReq.send(null)}else{sHTML="Es ist ein Problem aufgetreten. Versuchen Sie Ihre Anfrage erneut.";document.getElementById("softwarelist").innerHTML=sHTML}}function processSoftware(){if(oReq.readyState==4){if(oReq.status==200){sHTML=oReq.responseText}else{sHTML="Es ist ein Problem aufgetreten. Versuchen Sie Ihre Anfrage erneut. ["+oReq.status+"]"}document.getElementById("softwarelist").innerHTML=sHTML}}function doGeneric(b,a){oGenericDiv=a;try{oReq=new XMLHttpRequest()}catch(c){try{oReq=new ActiveXObject("Microsoft.XMLHTTP")}catch(c){oReq=false}}if(oReq){lRand=Math.round(Math.random()*100);b=b+"&rand="+lRand;oReq.onreadystatechange=processGeneric;oReq.open("GET",b,true);oReq.send(null)}else{sHTML="Es ist ein Problem aufgetreten. Versuchen Sie Ihre Anfrage erneut.";oGenericDiv.innerHTML=sHTML}}function processGeneric(){if(oReq.readyState==4){if(oReq.status==200){sHTML=oReq.responseText}else{sHTML="Es ist ein Problem aufgetreten. Versuchen Sie Ihre Anfrage erneut. ["+oReq.status+"]"}oGenericDiv.innerHTML=sHTML}};
