function GetHWCities(d,c){var a=d.split(",");var e=a[0];var b=a[1];$("hw_dest").innerHTML='<select class="textBlackDefault" name="hostels_destination" id="hostels_destination" style="width:160px;"><option>Please wait ...</option></select>';new Ajax.Request("/wayntravels.html?wci=home&wce=gethwcities&selection="+e+"&selectedcity="+c,{onSuccess:function(h){responseXml=h.responseXML;if(responseXml){for(var g=responseXml.firstChild;g!=null;g=g.nextSibling){for(var f=g.firstChild;f!=null;f=f.nextSibling){if(f.nodeValue!=null&&f.nodeValue!=""){$("hw_dest").innerHTML=f.nodeValue}}}}else{$("hw_dest").innerHTML='<select class="textBlackDefault" name="hostels_destination" id="hostels_destination" style="width:160px;"><option>Choose a city</option></select>'}}})}function GetWCTDestinations(a){$("hwct_dest").innerHTML='<select id="hotels_destination" style="width:140px;"><option>Please wait ...</option></select>';new Ajax.Request("/wayntravels.html?wci=home&wce=getwctdestinations&selection="+a,{onSuccess:function(d){responseXml=d.responseXML;if(responseXml){for(var c=responseXml.firstChild;c!=null;c=c.nextSibling){for(var b=c.firstChild;b!=null;b=b.nextSibling){if(b.nodeValue!=null&&b.nodeValue!=""){$("hwct_dest").innerHTML=b.nodeValue}}}}else{$("hwct_dest").innerHTML='<select id="hotels_destination" style="width:140px;"><option>Choose a city</option></select>'}}})};
