function invertSelection(a){for(i=0;i<a.elements.length;i++){if(a.elements[i].checked){a.elements[i].checked=false}else{a.elements[i].checked=true}}}function selectAll(a){for(i=0;i<a.elements.length;i++){a.elements[i].checked=true}}function downloadSelection(a){a.submit()}function addLoadEvent(a){var b=window.onload;if(typeof window.onload!="function"){window.onload=a}else{window.onload=function(){if(b){b()}a()}}}function rating_switchPic(a){window.clearTimeout(lAktivTimeout);for(i=1;i<6;i++){if(i<=a){document.getElementById("xrate"+i).src="/images/styles/rating_on.png"}else{document.getElementById("xrate"+i).src="/images/styles/rating_off.png"}}}function rating_showActive(){lAktivTimeout=window.setTimeout("rating_setActive()",50)}function rating_setActive(){for(i=1;i<6;i++){if(i<=lActtivePic){document.getElementById("xrate"+i).src="/images/styles/rating_on.png"}else{document.getElementById("xrate"+i).src="/images/styles/rating_off.png"}}}function openRatingForm(b,c){var a="http://mp3world.ivwbox.de/cgi-bin/ivw/CP/diverse_news";urchinTracker("/rating/dsa/"+b+"/"+c);$("divpopup").innerHTML='<IMG SRC="'+a+"?r="+escape(document.Referrer)+"&d="+(Math.random()*100000)+'"WIDTH="1" HEIGHT="1">';sUrl="http://www.netzwelt.de/xml/rating.php?id="+b+"&rating="+c;try{oReq=new XMLHttpRequest()}catch(d){try{oReq=new ActiveXObject("Microsoft.XMLHTTP")}catch(d){oReq=false}}if(oReq){lRand=Math.round(Math.random()*100);sUrl=sUrl+"&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.";document.getElementById("ratingdiv").innerHTML=sHTML;new Effect.Appear("ratingdiv")}}function processRating(){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("ratingdiv").innerHTML=sHTML;new Effect.Appear("ratingdiv")}}function closeRatingForm(){new Effect.Fade("ratingdiv")};
