function order()
{
 alert('to get your rewords please click back to the page')
}

// function to create XmlHttp Object
function getxmlhttp(){
var xmlHttp = false;
if (window.XMLHttpRequest){
// If IE7, Mozilla, Safari, etc: Use native object
var xmlHttp = new XMLHttpRequest();
}else{
if (window.ActiveXObject){
// ...otherwise, use the ActiveX control for IE5.x and IE6
var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
}

return xmlHttp;
}

//function to process an XMLHttpRequest
function process_ajax(){
xmlhttp = getxmlhttp();

xmlhttp.open("GET","orders/orders.php?checkout=order",true);

xmlhttp.send(null);

}


