//AjaxReq("/xml/recommendOffers.php?group="+group,'RecommendOffersCallback(xmlHttp)');
function AjaxReq(url,callback)
{
	var xmlHttp;
	xmlHttp = false;
  // branch for native XMLHttpRequest object
	if(window.XMLHttpRequest && !(window.ActiveXObject)) {
		try {
			xmlHttp = new XMLHttpRequest();
		} catch(e) {
			xmlHttp = false;
		}
	// branch for IE/Windows ActiveX version
	} else if(window.ActiveXObject) {
		try {
			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
		} 
		catch(e) {
			try {
				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
			} catch(e) {
				xmlHttp = false;
			}
		}
	}
	if(xmlHttp) {
		xmlHttp.onreadystatechange = function() { eval(callback); }
		//prenumerataCallback(xmlHttp);
		xmlHttp.open("GET", url, true);
		xmlHttp.send("");
	}
}

