/***************************************************************/
/*
/*
/*
/*
/***************************************************************/

//Appel du plugin jquery color
/*$.ajax({
	url: "js/coloranimation.js",
	dataType: "script",
	async: false,
	success: function(js){if(jQuery.browser.safari){eval(js);}}
});
*/

$(document).ready(function(){ //Définir la fonction de clic
	
$('.clic_moteur').click(function() { //mouse in
	if($('.contenu_moteur').height()==0){
		$('.contenu_moteur').stop().animate({
			'height':200
		}, 200, 'swing');
	}else{
		$('.contenu_moteur').stop().animate({
			'height':0
		}, 200, 'swing');
	}
});

	
	//Changer le comportement hover au survol
   $('.clic').hover(function() { //mouse in
		$(this).css({
			'cursor':'pointer'
		});
		if(!jQuery.support.opacity) {
			/*$(this).stop();
			$(this).stop().animate(
				{ 
					
			}, 200);*/
			
			$(this).css({
					'overflow':'visible'
									});
			
			$(this).fadeTo(200,0.6);
		}
		else {
			$(this).stop().animate(
				{ 
				
				'opacity':0.6
			}, 200);
		}

   }, function() { //mouse out
   		if(!jQuery.support.opacity) {
			/*$(this).stop();
			$(this).stop().animate(
	  			{ 
				
				}, 200);*/
			$(this).fadeTo(200,1);
		}
		else {
			$(this).stop().animate(
				{ 
				
				'opacity':1
			}, 200);
		}
		
		
		
		
		
   });
   
 });





