$(document).ready(function(){ 
	
	
	//menuThumbs et overFade 
	$("#menuThumb a, .overFade")
	.hover(
        function(){
            $(this).stop(true,true).find("img").next("img").fadeIn(200);
			
        }, function(){
            $(this).find("img").next("img").fadeOut(200);
        }
    );

	//anime fleche gauche
	$(".listeSpeciale li")
	.css({backgroundPosition:"0px 6px"})
	.hover(
        function(){
			$(this).stop(true,true).animate({backgroundPosition:"3px 6px"}, 200);
        }, function(){
			$(this).animate({backgroundPosition:"0px 6px"}, 200);
        }
    );
	$(".flecheGauche")
	.css({backgroundPosition:"0px 4px"})
	.hover(
        function(){
			$(this).stop(true,true).animate({backgroundPosition:"3px 4px"}, 200);
        }, function(){
			$(this).animate({backgroundPosition:"0px 4px"}, 200);
        }
    );
	
	
	//anime fleche haut
    $(".animeFlecheHaut")
	.css({backgroundPosition:"right 4px"})
	.hover(
        function(){
			$(this).stop(true,true).animate({backgroundPosition:"right 2px"}, 200);
        }, function(){
			$(this).animate({backgroundPosition:"right 4px"}, 200);
        }
    );
	
	$(".retourHaut a")
	.css({backgroundPosition:"right 3px"})
	.hover(
        function(){
			$(this).stop(true,true).animate({backgroundPosition:"right 1px"}, 200);
        }, function(){
			$(this).animate({backgroundPosition:"right 3px"}, 200);
        }
    );

	
	//anime fleche droite
    /*$(".animeFlecheDroite,.liens a")
	.css({backgroundPosition:"0px 3px"})
	.hover(
        function(){
			$(this).stop(true,true).animate({backgroundPosition:"2px 3px"}, 200);
        }, function(){
			$(this).animate({backgroundPosition:"0px 3px"}, 200);
        }
    );*/




	//SMOOTHANCHOR
	$.smoothAnchors(700, "swing", false);
	
	//shadowbox
	Shadowbox.init();
	
});





