$(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
	$(".menu1").mouseover(function(){
		$(this).stop().animate({height:'60px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	$(".menu3").mouseover(function(){
		$(this).stop().animate({height:'100px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	$(".menu2").mouseover(function(){
		$(this).stop().animate({height:'60px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	$(".menu4").mouseover(function(){
		$(this).stop().animate({height:'245px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	$(".menu5").mouseover(function(){
		$(this).stop().animate({height:'60px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	$(".menu6").mouseover(function(){
		$(this).stop().animate({height:'60px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$("li").mouseout(function(){
		$(this).stop().animate({height:'50px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	$("#sidebar li").mouseout(function(){
		$(this).stop().animate({},{queue:false, duration:600, easing: 'none'})
	});
	
	//When page loads
	
	$(document).ready(function () {
    $(".stillsubheader").animate({height:'100px'},{queue:false, duration:600, easing: 'easeOutSine'})
});
	

	
});
