// JavaScript Documentfunction createRequestObject(){  var request_o;  var browser = navigator.appName;  if(browser == "Microsoft Internet Explorer"){    request_o = new ActiveXObject("Microsoft.XMLHTTP");  }else{    request_o = new XMLHttpRequest();  }  return request_o;}var http = createRequestObject();function getAdults(id){  http.open('post', '/ajax/adult.php');  http.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');  http.send('id=' + id + '&adults=' + document.orderform.adults[document.orderform.adults.selectedIndex].value);  http.onreadystatechange = handleAdults;}function handleAdults(){  if(http.readyState == 4){    var response = http.responseText;    document.getElementById('adultnames').innerHTML = response;  }}function getChildren(id){  http.open('post', '/ajax/children.php');  http.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');  http.send('id=' + id + '&children=' + document.orderform.children[document.orderform.children.selectedIndex].value);  http.onreadystatechange = handleChildren;}function handleChildren(){  if(http.readyState == 4){    var response = http.responseText;    document.getElementById('childrennames').innerHTML = response;  }}/***************** New Ajax *******************/function getAttendees(id,tickets,div){	$.ajax({		type: 'GET',		url: '/ajax/attendees.php?id=' + id + '&tickets=' + tickets,		success: function(html){			$('#attendees').html(html);		}	});}/*function getAttendees(id,tickets,div){	http.open('post', '/ajax/attendees.php');	http.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');	http.send('id=' + id + '&tickets=' + tickets);	http.onreadystatechange = handleAttendees;}function handleAttendees(){	if(http.readyState == 4){		var response = http.responseText;		document.getElementById('attendees').innerHTML = response;	}}*/