$(document).ready(function(){

						   

//////////////////////// CONTENTS ///////////////////////

//Hide (Collapse) the toggle containers on load

clicked = 0;



if($(".toggle_container")){

$("h2.trigger").addClass("active");

//Switch the "Open" and "Close" state per click

	$("h2.trigger").toggle(function(){

		$(this).removeClass("active");

		}, function () {

			$(this).addClass("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'});

			}

	});

}

//////////////////////// BOOKING ///////////////////////

clicked2= 1;



if($(".toggle_container2")){

	$("h2.trigger2").addClass("active");



//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 (clicked2 == 0)

		{

			clicked2 = 1;

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

		}

		else

		{

			clicked2 = 0;

			$(this).next(".toggle_container2").animate({width: 'show'});

		}

	});

}



});


