$(document).ready(function(){
	
	//Fix Errors - http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/
	
	//Remove outline from links
	$("a").click(function(){
		$(this).blur();
	});
	
	//Qd on survole le menu jaune
	$('li[class$="jaune"]').mouseover(function(){
		$(this).stop().animate({height:'140px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});

	//Qd on survole le menu orange
	$('li[class$="orange"]').mouseover(function(){
		$(this).stop().animate({height:'210px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});

	//Qd on survole le menu bleu
	$('li[class$="bleu"]').mouseover(function(){
		$(this).stop().animate({height:'250px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});

	//Qd on survole le menu bleu foncé
	$('li[class$="bleufonce"]').mouseover(function(){
		$(this).stop().animate({height:'300px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});

	//Qd on survole le menu violet
	$('li[class$="violet"]').mouseover(function(){
		$(this).stop().animate({height:'150px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});

	//When mouse is removed
	$("li").mouseout(function(){
		$(this).stop().animate({height:'30px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
});