var xmlHttp = null;
function GetXmlHttpObject() {
	try {
		// Firefox, Opera 8.0+, Safari
   		xmlHttp = new XMLHttpRequest();
	} catch (e) {
		// Internet Explorer
		try {
			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e) {
				alert('Your browser does not support AJAX');
				exit;
			}
		}
	}
	return xmlHttp;
}

function runCheck(appBase, orderId) {
	var url = appBase + "pacer_check.php?oid=" + orderId;

	xmlHttp = GetXmlHttpObject();
	xmlHttp.onreadystatechange = function() {//Call a function when the state changes.
		if(xmlHttp.readyState == 4 && xmlHttp.status == 200) {

		}
	}
	xmlHttp.open("GET", url);
	xmlHttp.send(null);
}