$(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();
	});
	
	//When mouse rolls over
	$(".home").mouseover(function(){
		$(this).stop().animate({height:'107px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$(".home").mouseout(function(){
		$(this).stop().animate({height:'30px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	
	//When mouse rolls over
	$(".services").mouseover(function(){
		$(this).stop().animate({height:'107px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$(".services").mouseout(function(){
		$(this).stop().animate({height:'30px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	
	$(".references").mouseover(function(){
		$(this).stop().animate({height:'107px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$(".references").mouseout(function(){
		$(this).stop().animate({height:'30px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	
	$(".portfolio").mouseover(function(){
		$(this).stop().animate({height:'107px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$(".portfolio").mouseout(function(){
		$(this).stop().animate({height:'30px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	
	$(".contacts").mouseover(function(){
		$(this).stop().animate({height:'107px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$(".contacts").mouseout(function(){
		$(this).stop().animate({height:'30px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	
	
});
