var http = getHTTPObject();
var ajaxRUL="http"+"://spamcleaner."+"net/fr/scajax"+".pl";
function ajax(banner, comment){
	http.open("POST", ajaxRUL, true);
	http.onreadystatechange = ajaxRes;http.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
	http.send('b='+banner);
	}
function ajaxRes(){
	if (http.readyState == 4){
		res = http.responseText;
		document.getElementById('ajaxdiv').innerHTML= res;
	}
}
function getHTTPObject(){
	var http;
	if(window.XMLHttpRequest){
		http = new XMLHttpRequest();
	} else if(window.ActiveXObject){
		http = new ActiveXObject("Microsoft.XMLHTTP");
	}
	return http;
}
