function formatDestinationItem(a){return a[0]+" ("+a[1]+")"}jQuery.Enquiry={RetrieveHotelsForResort:function(b){try{_enquiryProxy.RetrievePlaceHotels(b,jQuery.Enquiry.Enquiry_Callback,jQuery.Enquiry.OnEnquiryPageError)}catch(a){LogError("Enquiry.js - RetrieveHotelsForResort(): "+a)}},Enquiry_Callback:function(Result){eval(Result)},OnEnquiryPageError:function(a){LogError("Enquiry.js - OnEnquiryPageError(Result): "+a.message)},SetHotel:function(b,a){$("#"+a).val(b[b.selectedIndex].text)},ShowOtherAirport:function(a){var b=$(a);if(b.val().match("Other")!=null){$("#otherAirport").show()}else{$("#otherAirport").hide()}},ShowEnquiryHotels:function(c){var d=$("#_hotelList");if(c){var a=d.find("select");a.empty();a[0].options[0]=new Option("Please Choose","0");for(var b=0;b<c.length;b++){a[0].options[b+1]=new Option(c[b].name,c[b].id)}d.show()}else{d.hide()}}};