$(document).ready(function(){
	
	//Fix Errors - http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/
	
	//Remove outline from links
	$("#barmenu a").click(function(){
		$(this).blur();
	});
	
	//When mouse rolls over
	$("#barmenu li").mouseover(function(){
		$(this).stop().animate({height:'140px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$("#barmenu li").mouseout(function(){
		$(this).stop().animate({height:'38px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//-----------------
	
	$("#contpanier a").click(function(){
		$(this).blur();
	});
	
	//When mouse rolls over
	$("#contpanier").hover(function()
	{	$(this).css("height","auto");
		var ah = $(this).height();
		$(this).css("height","38px");
		$(this).stop().animate({height:ah+"px"},{queue:false, duration:850, easing: 'easeOutBounce'},function(){$(this).css("height","auto");});
	},function()
	{	$(this).stop().animate({height:'38px'},{queue:false, duration:850, easing: 'easeOutBounce'});
	});
	
});