


jQuery(document).ready(function(){
	
// home reservation

jQuery("#reservation").each(function(){
	jQuery(this).toggle (function () {
		jQuery("#reservation_box").removeClass("hide");
		return false;
	},
	function () {
		jQuery("#reservation_box").addClass("hide");
		return false;
	});
});

jQuery("#hotel_summary .img a").mouseover( function() { 
	jQuery(this).find("img.show1").addClass("hide");
	jQuery(this).find("img.hide1").removeClass("hide");
} );

jQuery("#hotel_summary .img a").mouseout( function() { 
	jQuery(this).find("img.show1").removeClass("hide");
	jQuery(this).find("img.hide1").addClass("hide");
} );



// foot logo 
jQuery("#related li").mouseover( function() { 
	jQuery(this).find("img.show1").addClass("hide");
	jQuery(this).find("img.hide1").removeClass("hide");
	jQuery(this).find(".tooltip_logo").show();
} );
jQuery("#related li").mouseout( function() { 
	jQuery(this).find("img.show1").removeClass("hide");
	jQuery(this).find("img.hide1").addClass("hide");
	jQuery(this).find(".tooltip_logo").hide();
} );


});


function checkroom(id)
        {
            if(id=="0")
            {
                document.getElementById('tr_room1').style.display='none'
                document.getElementById('tr_room2').style.display='none'
                document.getElementById('tr_room3').style.display='none'
               checkAgend(0)
            }
            else 
            {
               document.getElementById('tr_room1').style.display='';
               document.getElementById('tr_room2').style.display='';
               document.getElementById('tr_room3').style.display='';
			   if(document.getElementById('AgendaRequireYes').checked==true)
			   {
			        checkAgend(1)
			   }
			   else
			   {
			        checkAgend(0)
			   }
            }
        }

