/*function star_vote ( tipp, stars ) {
var http = new ActiveXObject("Microsoft.XMLHTTP");


	url = 'http://www.geniale-tipps.de/vote.php?tipp='+tipp+'&stars='+stars;
	rdm = Math.floor(Math.random()*128);
	url = url+'&x='+rdm;
http.open("GET", url, false);
http.setRequestHeader("Accept","text/xml");
http.send();	
if(http.ReadyState==4)alert(http.responseText);
  else  alert("Voting-Datei nicht gefunden");	


}
*/

function star_vote ( tipp, stars ) {
	
	url = 'http://www.geniale-tipps.de/vote.php?tipp='+tipp+'&stars='+stars;
	rdm = Math.floor(Math.random()*128);
	url = url+'&x='+rdm;	
	
// Mozilla, Opera, Safari sowie Internet Explorer 7
if (typeof XMLHttpRequest != 'undefined') {
    xmlHttp = new XMLHttpRequest();
}
if (!xmlHttp) {
    // Internet Explorer 6 und älter
    try {
        xmlHttp  = new ActiveXObject("Msxml2.XMLHTTP");
    } catch(e) {
        try {
            xmlHttp  = new ActiveXObject("Microsoft.XMLHTTP");
        } catch(e) {
            xmlHttp  = null;
        }
    }
}
if (xmlHttp) {
    xmlHttp.open('GET', url, true);
    xmlHttp.onreadystatechange = function () {
        if (xmlHttp.readyState == 4) {
            alert(xmlHttp.responseText);
        }
    };
    xmlHttp.send(null);
}

}


