(function($) {


$(function(){

$(".hotelDetailPrevImgSmallFrame img")
	.hover(function() {
		$(this).attr("src", $(this).attr("src"));
	});



//************** SHOW HIDE : Amend your dates and check availability ******************
//
// hides the slickbox as soon as the DOM is ready
  // hides the slickbox on clicking the noted link
  $('a#slick-hide').click(function() {
	  $('#slickbox').hide('fast');
	  return false;
  });
  // toggles the slickbox on clicking the noted link
  $('a#slick-toggle').click(function() {
	  $('#slickbox').toggle(400);
	  return false;
  });

/* frag alternative-hotels */
$('#althotels .hotel')
	.click(function(ev){
		ev.preventDefault();
		location.href = $(this).find('a.hotel-title').attr('href');
		return false;
	});


if (phpJSVars["current_section"] == "description") {
	$('#hotel-descrip-imagewrapper').css('width','305px');
	$('#hotel-descrip-imagewrapper').css('margin','0px');
	$('#hotel-descrip-imagewrapper').css('height','170px');
	//$('#hotel-images .hotel_image').css('display','');
}


	
});




})(jQuery);
