jQuery(document).ready(function($) {
	
	// Fix Errors - http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/
	
	// Robert's note: Add about 10 pixels for each new link
	
	//Remove outline from links
	$("a").click(function(){
		$(this).blur();
	});
	
	//When mouse rolls over
	$('li.button1').mouseover(function(){
						   
		$(this).removeClass('button1').addClass("button1_over"); 
		$(this).stop().animate({height:'270px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$('li.button1').mouseout(function(){
		$(this).removeClass('button1_over').addClass("button1"); 
		$(this).stop().animate({height:'40px', width:'162px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	
	
	
	//When mouse rolls over
	$('li.button2').mouseover(function(){
									   
		$(this).removeClass('button2').addClass("button2_over"); 
		$(this).stop().animate({height:'170px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$('li.button2').mouseout(function(){
		$(this).removeClass('button2_over').addClass("button2");
		$(this).stop().animate({height:'40px', width:'162px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	
	
	
	
	//When mouse rolls over
	$('li.button3').mouseover(function(){
		$(this).removeClass('button3').addClass("button3_over"); 
		// $(this).stop().animate({height:'215px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$('li.button3').mouseout(function(){
		$(this).removeClass('button3_over').addClass("button3");
		// $(this).stop().animate({height:'40px', width:'162px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	
	
	
	//When mouse rolls over
	$('li.button4').mouseover(function(){
		$(this).removeClass('button4').addClass("button4_over"); 
		$(this).stop().animate({height:'170px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$('li.button4').mouseout(function(){
		$(this).removeClass('button4_over').addClass("button4");
		$(this).stop().animate({height:'40px', width:'161px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
});