$(function()
{

	//Hide (Collapse) the toggle contents on load
	$(".toggle_contents").hide(); 
	
	//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
	$("div.trigger").click(function(){
		$(this).next(".toggle_contents").slideToggle("slow");
	});

});
