// JavaScript Document
 
// DEBUT CAROUSSEL GAUCHE

jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

jQuery(function( $ ){




$('#scrollg').serialScroll({
		items:'div.view',
		prev:'#scrollg a.prev',
		next:'#scrollg a.next',
		// offset:-230, //when scrolling to photo, stop 230 before reaching it (from the left)
		//start:1, //as we are centering it, start at the 2nd
		duration:700,
		force:true,
		axis:'y',
		//easing:'easeOutQuart', //use this easing equation for a funny effect
		interval:7000
		//step:2 // scroll 2 news each time
		
		
		
		
		
		
		

	});
	

});

// FIN CARA+OUSSEL GAUCHE





 
$(document).ready(function(){	
						   $("#ev_tenis img").fadeTo("slow", 0.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads	
						   $("#ev_tenis").hover(function(){		
														   $("#ev_tenis img").fadeTo("slow", 1.0); // This should set the opacity to 100% on hover	
														   },function(){   		
														   $("#ev_tenis img").fadeTo("slow", 0.0); // This should set the opacity back to 60% on mouseout	
							});
						   
						   
						   $("#ev_foot img").fadeTo("slow", 0.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads	
						   $("#ev_foot").hover(function(){		
														   $("#ev_foot img").fadeTo("slow", 1.0); // This should set the opacity to 100% on hover	
														   },function(){   		
														   $("#ev_foot img").fadeTo("slow", 0.0); // This should set the opacity back to 60% on mouseout	
							});
						   
						   $("#ev_f1 img").fadeTo("slow", 0.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads	
						   $("#ev_f1").hover(function(){		
														   $("#ev_f1 img").fadeTo("slow", 1.0); // This should set the opacity to 100% on hover	
														   },function(){   		
														   $("#ev_f1 img").fadeTo("slow", 0.0); // This should set the opacity back to 60% on mouseout	
							});
						   
						   $("#ev_rugby img").fadeTo("slow", 0.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads	
						   $("#ev_rugby").hover(function(){		
														   $("#ev_rugby img").fadeTo("slow", 1.0); // This should set the opacity to 100% on hover	
														   },function(){   		
														   $("#ev_rugby img").fadeTo("slow", 0.0); // This should set the opacity back to 60% on mouseout	
							});
						   
						   $("#ev_culture img").fadeTo("slow", 0.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads	
						   $("#ev_culture").hover(function(){		
														   $("#ev_culture img").fadeTo("slow", 1.0); // This should set the opacity to 100% on hover	
														   },function(){   		
														   $("#ev_culture img").fadeTo("slow", 0.0); // This should set the opacity back to 60% on mouseout	
							});
						   
						   $("#ev_equit img").fadeTo("slow", 0.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads	
						   $("#ev_equit").hover(function(){		
														   $("#ev_equit img").fadeTo("slow", 1.0); // This should set the opacity to 100% on hover	
														   },function(){   		
														   $("#ev_equit img").fadeTo("slow", 0.0); // This should set the opacity back to 60% on mouseout	
							});
						   
						   
						   
						   
						   });

