$(document).ready(function()
{
	$(".toggle_container").hide();
	$("h5.trigger").click(function()
    {
		var existingDisplay =  $(this).next().css('display');
		collapseAllContainers();
		if (existingDisplay!='block')
			$(this).toggleClass("active").next().slideToggle("slow");
		return false;
    });
});
function collapseAllContainers()
{
	$(".toggle_container").each(function()
		{
			if ($(this).css('display') == 'block')
				$(this).slideToggle("slow");
		});
$('H5.trigger').filter('.active').removeClass('active')
}

