new Event.observe(window, "load", function() {
	$$('ul.exp_onglets').each( function(el) {
		
		$$('a.onglet', 'a.onglet_on').each( function(o_hide) {
			new Event.observe(o_hide, 'click', function() {	
				$($$('a.onglet_on')[0].id.replace('onglet_', '')).style.display = 'none';
				$$('a.onglet_on')[0].className = 'onglet';
																					
				o_hide.toggleClassName('onglet_on');
			
				var o_hide_id = $(o_hide.id.replace('onglet_', ''));
				if(o_hide_id.style.display == 'none')
					o_hide_id.style.display = '';
				else
					o_hide_id.style.display = 'none';
			});
		});
		
	});
});