function sendAjaxRequest(url,callback,postArguments){
	var xmlHttp = null;
	try{
		xmlHttp = new XMLHttpRequest();
	}catch(e){
		try{
			xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
		}catch(e2){
			try{
				xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
			}catch(e){
				xmlHttp = null;
			}
		}
	}
	if(xmlHttp){
		if(postArguments !== null){
			xmlHttp.open('POST',url,false/*
											 * must be false(=no asynchronous)
											 * otherwise chrome will not work
											 */);
			xmlHttp.setRequestHeader("Accept-Encoding","gzip, deflate");
			xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
			xmlHttp.setRequestHeader("Content-length",postArguments.length);
			// xmlHttp.setRequestHeader("Connection", "close");
			xmlHttp.send(postArguments);
		}else{
			xmlHttp.open('GET',url,false/*
										 * must be false(=no asynchronous)
										 * otherwise chrome will not work
										 */);
			xmlHttp.send(null);
		}

		if(callback !== null){
			return callback(xmlHttp);
		}
	}
}
if(String(window.location).indexOf("select-your-country")==-1 && sendAjaxRequest(window.location,function(response){return response.responseText;},"___hascookie=1")=="1" && sendAjaxRequest(window.location,function(response){return response.responseText;},"___hascountry=1")=="0"){
	window.location = sendAjaxRequest(window.location,function(response){return response.responseText;},"___countrychooser=1");
}
