jQuery(document).ready(function() {
    //$("#equipe img").css({opacity:0.65});
    
	$("#liste_propageurs a").hover(
	    function(){
	        var a = $(this).attr("href");
	        
	        //$("#equipe a[href!=" + a + "] img").fadeTo("fast", 0.2);
	        $("#equipe a[href!=" + a + "] img").css( {opacity:0.2} );
	        //$("#equipe a[href!=" + a + "] img").animate({opacity:0.2});
	        
	        //$("#equipe a[href=" + a + "] img").animate({opacity:1});
	        //$("#equipe a[href=" + a + "] img").animate({opacity:0.40}).animate({opacity:1});
	        
	    },
	    function(){
	        $("#equipe img").css({opacity:1});
	    }
	);
	
	$("#equipe a").hover(
	    function(){
	        var a = $(this).attr("href");
	        
	        //$("#equipe a[href!=" + a + "] img").fadeTo("fast", 0.2);
	        $("#equipe a[href!=" + a + "] img").css( {opacity:0.2} );
	        //$("#equipe a[href!=" + a + "] img").animate({opacity:0.2});
	        
	        //$("#equipe img").css({opacity:0.65});
	        //$("#equipe a[href=" + a + "] img").css({opacity:1});
	        //$("#equipe a[href=" + a + "] img").animate({opacity:0.70}).animate( {opacity:1} );
	        
	        $("#liste_propageurs a[href=" + a + "]").addClass( "selected" );
	        
	    },
	    function(){
	        //$("#equipe img").css({opacity:0.65});
	        $("#equipe img").css( {opacity:1} );
	        $("#liste_propageurs a").removeClass( "selected" );
	        
	    }
	)
});
