function order()
{var star=encodeURIComponent(document.getElementById("star").value)
var price=encodeURIComponent(document.getElementById("price").value)
var region=encodeURIComponent(document.getElementById("region").value)
var country=encodeURIComponent(document.getElementById("country").value)
var city=encodeURIComponent(document.getElementById("city").value)
var city_id=encodeURIComponent(document.getElementById("city_id").value)
var area_id=encodeURIComponent(document.getElementById("area_id").value)
var map=encodeURIComponent(document.getElementById("map").value)
var ads=encodeURIComponent(document.getElementById("ads").value)
var limit=encodeURIComponent(document.getElementById("limit").value)
var hotelname=encodeURIComponent(document.getElementById("hotelname").value)
var mylink="http://www.cheaphotelflight.com/ajax.php?region="+region+"&country="+country+"&city="+city+"&city_id="+city_id+"&area_id="+area_id+"&price="+price+"&star="+star+"&map="+map+"&ads="+ads+"&limit="+limit+"&hotelname="+hotelname;if(window.XMLHttpRequest)
{xmlhttp=new XMLHttpRequest();}
else
{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}
xmlhttp.onreadystatechange=function()
{if(xmlhttp.readyState==4&&xmlhttp.status==200)
{document.getElementById("hotelist").innerHTML=xmlhttp.responseText;}
else
{document.getElementById("hotelist").innerHTML="<center><img src='http://www.cheaphotelflight.com/img/loading.gif'><br>Please wait...</center>";}}
xmlhttp.open("GET",mylink,true);xmlhttp.send();return false;}
function showhide(id){var e=document.getElementById(id);if(e.style.display=='block')
e.style.display='none';else
e.style.display='block';}
