$(document).ready(function()
	{
		
		$(".content-box-header .trigger").css({ "cursor":"pointer" }); // Give the h3 in Content Box Header a different cursor
		$(".closed-box .content-box-content").hide(); // Hide the content of the header if it has the class "closed"
		$(".closed-box .content-box-tabs").hide(); // Hide the tabs in the header if it has the class "closed"
		$('.erreur').closest('.content-box-content').show();
		$('.erreur').closest('.content-box-tabs').show();
		
		$(".content-box-header .trigger").click( // When the h3 is clicked...
			function () {
			  $(this).closest('.content-box-header').next().toggle(); // Toggle the Content Box
			  $(this).closest('.content-box').toggleClass("closed-box"); // Give the Content Box Header a special class for styling and hiding
			  $(this).closest('.content-box').find(".content-box-tabs").toggle(); // Toggle the tabs
			}
		);
		
	
		$('.submenuwrapper').hover( 
			function() { $(this).find('.submenu').show()},
			function() { $(this).find('.submenu').hide()}
		)
			
			
		
		
	});
