function xmlhttpPost(ratingValue, ratingID, ratingType) {
    var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('GET', 'http://www.the-blueprints.com/modules/rating/rating-ajax.php?ratingValue=' + ratingValue + '&id=' + ratingID + '&type=' + ratingType, true) ;
    // self.xmlHttpReq.open('GET', 'http://localhost/The Blueprints 2007/modules/rating/rating-ajax.php?ratingValue=' + ratingValue + '&id=' + ratingID + '&type=' + ratingType, true) ;
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded') ;
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {
            updateRating(self.xmlHttpReq.responseText) ;
        }
    }
    self.xmlHttpReq.send(ratingValue) ;
    
    return false ;
}

function updateRating(str) {
	document.getElementById("returnText").innerHTML = str ;
	document.getElementById("RatingContainer").style.display = 'none' ;
}