$(document).ready(function() {

	$('a.container_head').click( function() {		
		$('#' + this.id + '_content').toggle();
		
		if ($('#' + this.id + '_content').css('display') == 'none')
			$('#' + this.id).attr('class', 'container_head closed');
		else
			$('#' + this.id).attr('class', 'container_head opened');
		
		return false;
	});
});
