$(document).ready( function () {

	$("ul li.bloc > h3").css('cursor','pointer');
	$("ul li.bloc > h3").mouseover( function () {
		$(this).mouseout(function() { $(this).stop() });
		$(this).animate({opacity: 1.0}, 300, function() {
       	if ($(this).next(".subBloc:visible").length != 0) {
       	   
	       }
		else {
			$(".subBloc").slideUp(400, function () { $(this).parent().removeClass("open") });
			$(this).next(".subBloc").slideDown(400, function () { $(this).parent().addClass("open") } );
		}
		$(this).mouseout(function() { });
		});
	});
});