
function handleHttpResponseStat(objhttp)
{
	if(objhttp.readyState == 4)
	{
		unescape(objhttp.responseText);
	}
}

function statLoad(statMod, statId, lang) {
	var http=getHTTPObject();
	var adresse='/php/stat/ajax.php?statMod='+encodeURI(statMod)+'&statId='+encodeURI(statId)+'&lang='+encodeURI(lang)+'';
	http.open("GET", adresse, true);
	http.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
	http.onreadystatechange = function() {
		handleHttpResponseStat(http);
	};
	http.send(null);
}

