  //<![CDATA[            
jQuery(function(){   
var allStr="";$('#phone-booking-wrap').hide();$("a#contact-reservations").toggle(function(){$("#phone-booking-wrap").fadeIn();$("#booking-wrap").hide()},function(){$("#phone-booking-wrap").hide();$("#booking-wrap").fadeIn()});$.ajax({type:"GET",url:"xml/hostels_all.xml",dataType:"xml",success:function(a,b){$("hostel",a).each(function(){allStr+="<option value=\""+$(this).attr("url")+"\">"+$(this).attr("hostelname")+"</option>"});$("#AllHostels").append(allStr)},error:function(a,b,c){alert("There was an error retrieving the marker/map information.")}});$("#AllHostels").change(function(){var a=$("#AllHostels option:selected").val();location.href=a});$("#maps").append('<img id="highlands" class="img-map" src="images/site/main-highlands.jpg" alt="" usemap="#main_Map" /><img id="islands" class="img-map" src="images/site/main-islands.jpg" alt="" usemap="#main_Map" /><img id="central" class="img-map" src="images/site/main-central.jpg" alt="" usemap="#main_Map" /><img id="borders" class="img-map" src="images/site/main-borders.jpg" alt="" usemap="#main_Map" />');$("#maps img").fadeTo("fast",0);$("area").mouseover(function(){var a=$(this).attr("class");$("#"+a+"").stop().fadeTo(265,1)});$("area").mouseout(function(){var a=$(this).attr("class");$("#"+a+"").stop().fadeTo(100,0)});     		 
});
//]]> 