function GetXmlHttpObject()
{
	var xmlHttp=null;
	try
	{
		// Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest();
	}
	catch (e)
	{
		// Internet Explorer
		try
		{
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e)
		{
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	return xmlHttp;
}
function ajaxRestaurantPhone(RestaurantID)
{
	
	var xmlHttp;
	xmlHttp = GetXmlHttpObject();
	xmlHttp.onreadystatechange=function()
	{
		
		if(xmlHttp.readyState==4)
		{
			var theResponse;
			theResponse = xmlHttp.responseText;
			var theID;
			theID = "restaurant_phone_"+RestaurantID;
			document.getElementById(theID).innerHTML=theResponse;
		}
	}
	var url;
	url = "/javascripts/ajax/restaurant_phone.php?restaurant_ID="+RestaurantID;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}
function ajaxRestaurantFax(RestaurantID)
{
	var xmlHttp;
	xmlHttp = GetXmlHttpObject();
	xmlHttp.onreadystatechange=function()
	{
		if(xmlHttp.readyState==4)
		{
			var theResponse;
			theResponse = xmlHttp.responseText;
			var theID;
			theID = "restaurant_fax_"+RestaurantID;
			document.getElementById(theID).innerHTML=theResponse;
		}
	}
	var url;
	url = "/javascripts/ajax/restaurant_fax.php?restaurant_ID="+RestaurantID;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}
function ajaxRestaurantAddress(RestaurantID)
{
	var xmlHttp;
	xmlHttp = GetXmlHttpObject();
	xmlHttp.onreadystatechange=function()
	{
		if(xmlHttp.readyState==4)
		{
			var theResponse;
			theResponse = xmlHttp.responseText;
			var theID;
			theID = "restaurant_address_"+RestaurantID;
			document.getElementById(theID).innerHTML=theResponse;
		}
	}
	var url;
	url = "/javascripts/ajax/restaurant_address.php?restaurant_ID="+RestaurantID;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}