function sender(crpId,type,url) {
	var isIE = (window.ActiveXObject);
	var xmlhttp = null;
	if (isIE) {
		try {
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (e) {
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
		}
	} else {xmlhttp = new XMLHttpRequest();}

	var counterUrl = "./counter.php?crpId="+crpId+"&type="+type+"&d="+new Date().getTime();
	xmlhttp.open("GET", counterUrl);
	xmlhttp.onreadystatechange = function() {
		if (xmlhttp.readyState >= 4) {
			xmlhttp.abort();
			xmlhttp =null;
			document.location.href =url;
		}
	}
	xmlhttp.send(null);
}
