if(window.XMLHttpRequest){
	var xmlHttpReq = new XMLHttpRequest(); // native object //
} else {
	if(window.ActiveXObject){
		var xmlHttpReq = new ActiveXObject('Microsoft.XMLHTTP'); // activex control ie5/6 //
	}
}

function payment(){
	
	var queryStr = 't=1'; // this is a URL variable to the php //
	var strURL = 'javascript/ajax_payment.php';

	xmlHttpReq.open('GET', strURL, false);
	xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	xmlHttpReq.send(null);
	var ajaxresponse = xmlHttpReq.responseText;
	
	if(ajaxresponse == 0){
		alert("Internal Error");
		return false;
	} else {
		return true;
	}
	

}
