jQuery(document).ready(function($) {


// Clients Logos Opacity
	$('.logoClient img').css('opacity',0.6);
	$('.logoClient img').mouseover(function(){
		$(this).css('opacity',1);
   });
	$('.logoClient img').mouseout(function(){
		$(this).css('opacity',0.6);
   });

// Equipe Effects
	$('.member-img img').css('opacity',0.6);
	$('.member-img img').mouseover(function(){
		$(this).css('opacity',1);
   });
	$('.member-img img').mouseout(function(){
		$(this).css('opacity',0.6);		
   });

   
   $('.member').hover(
	function() {
	$(this).next('.member').css({'z-index': '-1'});
	$(this).next('.last-member').css({'z-index': '-1'});
	$('.member-desc',this).css({display: 'block', opacity: '1'});	   
	},
	function() {
	$(this).next('.member').css({'z-index': '0'});
	$(this).next('.last-member').css({'z-index': '0'});
	$('.member-desc',this).css({display: 'none'});
	}
   );

   $('.last-member').hover(
	function() {
	$('.member-desc',this).css({display: 'block', opacity: '1'});	   
	},
	function() {
	$('.member-desc',this).css({display: 'none'});
	}
   );   
   
   $('div.member-desc').mouseover(
	function() {
		$(this).css({display: 'none'});
	});
	
// Reste de l'equipe Effects
	$('#employees img').css('opacity',0.6);
	$('#employees img').mouseover(function(){
		$(this).css('opacity',1);
   });
	$('#employees img').mouseout(function(){
		$(this).css('opacity',0.6);		
   });
   
// Clients Effects
	$('.client-img').css('opacity',0.6);
	$('.client-img').mouseover(function(){
		$(this).css('opacity',1);
   });
	$('.client-img').mouseout(function(){
		$(this).css('opacity',0.6);		
   });
   
/*
   $('.client').hover(
	function() {
	$('.client-desc',this).css({display: 'block', opacity: '1'});	   
	},
	function() {
	$('.client-desc',this).css({display: 'none'});
	}
   );

   $('.last-client').hover(
	function() {
	$('.client-desc',this).css({display: 'block', opacity: '1'});	   
	},
	function() {
	$('.client-desc',this).css({display: 'none'});
	}
   );   
   
   $('div.client-desc').mouseover(
	function() {
		$(this).css({display: 'none'});
	});
*/
	
// Colorbox
	$(".newsletterBox").colorbox({width:"480", height:"320", iframe:true});
	$(".registerLink").colorbox({width:"80%", height:"80%", iframe:true, onClosed:function(){ window.location.reload();}});

 });
 

