$(document).ready(function(){
	
	//Fix Errors - http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/
	
	//Remove outline from links
	$("headerLinks a").click(function(){
		//alert ('outline removed');
		$(this).blur();
	});
	
	//When mouse rolls over
	$(".link1").mouseover(function(){
		//alert('rolled over');
		$(this).stop().animate({height:'150px'},{queue:false, duration:400, easing: 'easeOutCubic'})
	});
	
	//When mouse rolls over
	$(".link2").mouseover(function(){
		//alert('rolled over');
		$(this).stop().animate({height:'160px'},{queue:false, duration:400, easing: 'easeOutCubic'})
	});
	
	//When mouse is removed
	$(".link1").mouseout(function(){
		//alert('mouse removed');
		$(this).stop().animate({height:'20px'},{queue:false, duration:50, easing: 'easeOutCubic'})
	});
	$(".link2").mouseout(function(){
		//alert('mouse removed');
		$(this).stop().animate({height:'20px'},{queue:false, duration:50, easing: 'easeOutCubic'})
	});
	
});
