/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

    $(document).ready(function() {
            $('#bleu').click(function(){
                 document.location.href = $(this).find("a").attr("href");
            });
            $('#orange').click(function(){
                 document.location.href = $(this).find("a").attr("href");
            });
            $('#vert').click(function(){
                 document.location.href = $(this).find("a").attr("href");
            });           
             
            $('#bleu').hover(function(){
                $(this).css("cursor","pointer");
            });
            $('#orange').hover(function(){
                $(this).css("cursor","pointer");
            });
            $('#vert').hover(function(){
                $(this).css("cursor","pointer");
            });
            
            
    
        	$('#sgallery1').hide();
           	$('a#cgallery1').click(function() {
           		$('#sgallery1').slideToggle(400);
           		return false;
           	});    
        
        	$('#sgallery7').hide();
           	$('a#cgallery7').click(function() {
           		$('#sgallery7').slideToggle(400);
           		return false;
           	});    
        
        	$('#sgallery9').hide();
           	$('a#cgallery9').click(function() {
           		$('#sgallery9').slideToggle(400);
           		return false;
           	});    
    
        	$('#sgallery27').hide();
           	$('a#cgallery27').click(function() {
           		$('#sgallery27').slideToggle(400);
           		return false;
           	});    
        
        	$('#sgallery29').hide();
           	$('a#cgallery29').click(function() {
           		$('#sgallery29').slideToggle(400);
           		return false;
           	});    
        
        	$('#sgallery31').hide();
           	$('a#cgallery31').click(function() {
           		$('#sgallery31').slideToggle(400);
           		return false;
           	});    
    
    
        	$('#spartenaires').hide();
           	$('a#cpartenaires').click(function() {
           		$('#spartenaires').slideToggle(400);
           		return false;
           	});             
            
        
    });

