//Hotel code starts here
var xmlHttp4;
function showSearchBoxCity4(my_state_id)
{ 
xmlHttp4=GetXmlHttpObject4()
if (xmlHttp4==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
 document.getElementById("my_city_id_4").disabled=true;
var url="http://busneeds.com/getSearchBoxCity.php"
url=url+"?my_state_id="+my_state_id+"&type=H&sid="+Math.random()
xmlHttp4.open("GET",url,true)
xmlHttp4.onreadystatechange=stateSearchBoxMoved4 
xmlHttp4.send(null)
}
function stateSearchBoxMoved4() 
{ 
if (xmlHttp4.readyState==4 || xmlHttp4.readyState=="complete")
 { 
document.getElementById("search_box_city_div4").innerHTML=xmlHttp4.responseText 
document.getElementById("my_city_id_4").disabled=false;
 } 
}
function GetXmlHttpObject4()
{
var xmlHttp4=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp4=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp4=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp4=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp4;
}
//Restaurant Code Starts here
var xmlHttp5;
function showSearchBoxCity5(my_state_id)
{ 
xmlHttp5=GetXmlHttpObject5()
if (xmlHttp5==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
 document.getElementById("my_city_id_5").disabled=true;
var url="http://busneeds.com/getSearchBoxCity.php"
url=url+"?my_state_id="+my_state_id+"&type=R&sid="+Math.random()
xmlHttp5.open("GET",url,true)
xmlHttp5.onreadystatechange=stateSearchBoxMoved5 
xmlHttp5.send(null)
}
function stateSearchBoxMoved5() 
{ 
if (xmlHttp5.readyState==4 || xmlHttp5.readyState=="complete")
 { 
document.getElementById("search_box_city_div5").innerHTML=xmlHttp5.responseText 
document.getElementById("my_city_id_5").disabled=false;
 } 
}
function GetXmlHttpObject5()
{
var xmlHttp5=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp5=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp5=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp5=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp5;
}
//Casino Code Starts here
var xmlHttp6;
function showSearchBoxCity6(my_state_id)
{ 
xmlHttp6=GetXmlHttpObject6()
if (xmlHttp6==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
 document.getElementById("my_city_id_6").disabled=true;
var url="http://busneeds.com/getSearchBoxCity.php"
url=url+"?my_state_id="+my_state_id+"&type=C&sid="+Math.random()
xmlHttp6.open("GET",url,true)
xmlHttp6.onreadystatechange=stateSearchBoxMoved6 
xmlHttp6.send(null)
}
function stateSearchBoxMoved6() 
{ 
if (xmlHttp6.readyState==4 || xmlHttp6.readyState=="complete")
 { 
document.getElementById("search_box_city_div6").innerHTML=xmlHttp6.responseText 
document.getElementById("my_city_id_6").disabled=false;
 } 
}
function GetXmlHttpObject6()
{
var xmlHttp6=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp6=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp6=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp6=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp6;
}
// Tour Code Starts here
var xmlHttp7;
function showSearchBoxCity7(my_state_id)
{ 
xmlHttp7=GetXmlHttpObject7()
if (xmlHttp7==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
 document.getElementById("my_city_id_7").disabled=true;
var url="http://busneeds.com/getSearchBoxCity.php"
url=url+"?my_state_id="+my_state_id+"&type=T&sid="+Math.random()
xmlHttp7.open("GET",url,true)
xmlHttp7.onreadystatechange=stateSearchBoxMoved7 
xmlHttp7.send(null)
}
function stateSearchBoxMoved7() 
{ 
if (xmlHttp7.readyState==4 || xmlHttp7.readyState=="complete")
 { 
document.getElementById("search_box_city_div7").innerHTML=xmlHttp7.responseText 
document.getElementById("my_city_id_7").disabled=false;
 } 
}
function GetXmlHttpObject7()
{
var xmlHttp7=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp7=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp7=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp7=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp7;
}