$(document).ready(function(){

	//Hide (Collapse) the toggle containers on load
	//$(".toggle_container").hide();
	//$(".toggle_container").show();

	//Hide (Collapse) the toggle containers on load
	$(".show .toggle_container").show();

	//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(){
		$(this).next(".toggle_container").slideToggle("slow");
	});
	
	//setTimeout ("minNoticias ()", 7000);

});

function minNoticias () {
	if (!$("h2.trigger").attr ("class").match (/active/)) {
		$("h2.trigger").click ();
	}
}


