
       
$(document).ready(function(){
        // tableau
        $(".tableauBis tr.pair:eq(0)").removeClass("pair");
        $(".tableauBis tr.pair:eq(5)").removeClass("pair");
        
         $("tr").mouseover(function(){
            $(this).addClass("over");
         });
         $("tr").mouseout(function(){
            $(this).removeClass("over");
         });
       
        $(".tableau tr.pair").mouseover(function(){
            $(this).fadeTo("normal", 1);
         });
         $(".tableau tr.pair").mouseout(function(){
            $(this).fadeTo("normal", 0.8);
         });
         $(".tableau tr.pair").fadeTo("normal", 0.8);
         
         
         
         // images
        $("p a img:hover").mouseover(function(){
            $(this).fadeTo("normal", 0.5);
        })
        $("p a img:hover").mouseout(function(){
            $(this).fadeTo("normal", 1);
        })
        
        $("div img").mouseover(function(){
            $(this).fadeTo("normal", 0.5);
        })
        $("div img").mouseout(function(){
            $(this).fadeTo("normal", 1);
        })
       
	    $(".tableau tr").click(function(){
	       window.location=$(this).find("a").attr("href"); return false;
	    });
});
