$(document).ready(function(){
						   
////////////////////////Hotel toggler ///////////////////////
//Hide (Collapse) the toggle containers on load
clicked = 0;

if($(".toggle_container")){

//Switch the "Open" and "Close" state per click
$("h2.trigger").toggle(function(){
$(this).addClass("active");
}, function () {
$(this).removeClass("active");
});

//Slide up and down on click
$("h2.trigger").click(function(){
if (clicked == 0)
{
clicked = 1;
$(this).next(".toggle_container").animate({width: 'hide'});
}
else
{
clicked = 0;
$(this).next(".toggle_container").animate({width: 'show'});

}
});
}
//////////////////////


clicked3 = 0;

if($(".toggle_container3")){

//Switch the "Open" and "Close" state per click
$("h2.trigger3").toggle(function(){
$(this).addClass("active");
}, function () {
$(this).removeClass("active");
});

//Slide up and down on click
$("h2.trigger3").click(function(){
if (clicked3 == 0)
{
clicked3 = 1;
$(this).next(".toggle_container3").animate({width: 'hide'});
}
else
{
clicked3 = 0;
$(this).next(".toggle_container3").animate({width: 'show'});

}
});
}


////////////////////////Offers toggler ///////////////////////
clickedoffers= 1;

if($(".toggle_container2")){
$(".toggle_container2").animate({width: 'hide'});

//Switch the "Open" and "Close" state per click
$("h2.trigger2").toggle(function(){
$(this).addClass("active");
}, function () {
$(this).removeClass("active");
});

//Slide up and down on click
$("h2.trigger2").click(function(){
if (clickedoffers == 0)
{
clickedoffers = 1;
$(this).next(".toggle_container2").animate({width: 'hide'});
}
else
{
clickedoffers = 0;
$(this).next(".toggle_container2").animate({width: 'show'});

}
});
}
///////////////////////////////////
});

