jQuery().ready(function(){
	$('.v1').next('div').hide();
	$('.v1').click(function (){
		if($(this).next('div').is(':hidden')) {
			$('.v1').next('div:visible').slideUp();
			$('.headon').next('div:visible').slideUp();
			$(this).next('div').slideDown();
		}
		
		else if($(this).next('div').is(':visible')) {
			$(this).next('div').slideUp();
		}
	});
	$('.headon').click(function (){
		if($(this).next('div').is(':hidden')) {
			$(this).next('div').slideDown();
		}
		else if($(this).next('div').is(':visible')) {
			$(this).next('div').slideUp();
		}
	});
	
	$(window).load(function (){
		$('.contenu').hide();
		$('.contenu').fadeIn('slow');
	});
});


jQuery().ready(function(){
	$('.v2').next('div').hide();
	$('.v2').click(function (){
		if($(this).next('div').is(':hidden')) {
			$('.v2').next('div:visible').slideUp();
			$('.headon').next('div:visible').slideUp();
			$(this).next('div').slideDown();
		}
		
		else if($(this).next('div').is(':visible')) {
			$(this).next('div').slideUp();
		}
	});
	$('.headon').click(function (){
		if($(this).next('div').is(':hidden')) {
			$(this).next('div').slideDown();
		}
		else if($(this).next('div').is(':visible')) {
			$(this).next('div').slideUp();
		}
	});
	
	$(window).load(function (){
		$('.contenu').hide();
		$('.contenu').fadeIn('slow');
	});
});