function JSFF_GetTourPrices(TourDate,Tour_ID)
{
var xmlHttp;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
    {
    
	if(xmlHttp.readyState==4)
      {
			if (xmlHttp.responseText != 'false') { 
			
	
				AllText 	= xmlHttp.responseText.split("||") ;
				Prices 		= AllText[0];
				Time		= AllText[1];
				PriceAdult	= AllText[2];
				PriceChild	= AllText[3];
				
				document.getElementById('TourPrices').innerHTML = Prices;
				if (Time.length > 0 ) 
				{
				document.getElementById('DepartureTime').innerHTML = "Departure Time: "+Time;
				}
				document.getElementById('TourTime').value = Time;
				document.getElementById('TourAdultPrice').value = PriceAdult;
				document.getElementById('TourChildPrice').value = PriceChild;
				
				CalculateTotalAmount();
				
				//var Names = All[0].split("|");
				//var PickUp = Names[0];
	
			  //document.form1.total.value=xmlHttp.responseText;
			  
			} else {
			
			document.getElementById('TourPrices').innerHTML = "";
	
			  
			}
	  
      } else { 
	  document.getElementById('TourPrices').innerHTML = '<img src="images/scanner.gif">';
	  }
	  
    }

  
  xmlHttp.open("GET","Scripts/GetTourPrices.php?TheDate="+TourDate+"&Tour_ID="+Tour_ID,true);
  xmlHttp.send(null);
  }
