
function newAjax(){
	var xmlhttp=false;
 	try {
 		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
 	} catch (e) {
 		try {
 			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
 		} catch (E) {
 			xmlhttp = false;
 		}
  	}

	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
 		xmlhttp = new XMLHttpRequest();
	}
	return xmlhttp;
}


function ajaxChargeCruiseReservations(){
	
	country = "";
	ajax=newAjax();
	ajax.open("POST", "ajax_secure/reservations/chargeCruises.php",true);
	
	ajax.onreadystatechange=function() {
		
		if (ajax.readyState==4) {
			var resp = ajax.responseText;
			document.getElementById('cruises_div').innerHTML = resp;
			
	 	}
	}

	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send("t1_country="+country)
}