var xmlHttp

function checkOrder(strA, strB, strC, strD, strE, strF, strG, str1, str2, str3, str4, str5, str6, str7, lng) {
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null) {
		alert ("Your browser does not support AJAX!");
		return;
	} 
	var url="/include/asp/checkorder.asp";
	url=url+"?enchained="+strA;
	url=url+"&package3="+strB;
	url=url+"&package2="+strC;
	url=url+"&package="+strD;
	url=url+"&recognition="+strE;
	url=url+"&remedy="+strF;
	url=url+"&shirt="+strG;
	url=url+"&orderName="+str1;
	url=url+"&orderAddress="+str2;
	url=url+"&orderZipcode="+str3;
	url=url+"&orderCity="+str4;
	url=url+"&orderCountry="+str5;
	url=url+"&orderEmail="+str6;
	url=url+"&mailinglist="+str7;
	url=url+"&lng="+lng;
	url=url+"&sid="+Math.random();
	xmlHttp.onreadystatechange=stateChanged;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
} 
function stateChanged() { 
	if (xmlHttp.readyState==4) { 
		document.getElementById("txtHint").innerHTML=xmlHttp.responseText;
	}
}
function GetXmlHttpObject() {
	var xmlHttp=null;
	try {
		// Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest();
	}
	catch (e) {
		// Internet Explorer
		try {
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e) {
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	return xmlHttp;
}

