function afficheblocks(order,sticked,listcat) { // affichage des blocks
	if (page != "accueil") {
		$("#page_marker").animate({ height: "0" }, 0).animate({ left: "17" }, 0).animate({ height: "4" }, 400);
	}
	
	page = "accueil"; // par default la page est la home
	
	$(".content_block_nav").animate({ 
		opacity: 1.0				
	}, 300 );
	
	noir(); // on passe menu et footer en noir
	
	$.ajax({ // 
	url: "blocks.php?order="+order+"&sticked="+sticked+"&listcat="+listcat, // une page
	cache: false, //pas de cache
		success: function(html){ //si la fonction se charge bien
			$("#blocks").fadeOut(500, function (){
												
				$("#results").empty(); // on vide			
				$("#blocks").empty(); // on vide avt de remplir
				$("#blocks").append(html); //  on rempli #blocks
				
				$(".block").click(function(){
					
					$("#nav").animate({ 
						opacity: 0.1				
					}, 500 );
					
					$(this).children('.obturateur')
					.css('left','-420px')
					.css('opacity','0.0');
					
					$(this).children('.texte_description').fadeOut(200); // on efface le texte
				});
				
				$(".block").hover(// hover() prend en argument deux fonctions, over puis out.
					function() // over
					{
						$(this).children('.obturateur').animate({
						left: "0px",
						opacity: 0.95},
						{duration: 500}
						);
						$(this).children('.texte_description').fadeIn(400);	
					}, // DFTFC!
					function() //out
					{
						$(this).children('.obturateur').animate({
						opacity: 0.0},
						{duration:400}
						).animate({left: "-420px"},{duration:0});
						
						$(this).children('.texte_description').fadeOut(200); // on efface le texte
					}
				);		
				$("#blocks").fadeIn(500, function () {}); // on fait apparaitre les blocks )
			});		
		} //success
	});	//ajax	
}
