$(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
	$("#down1 > a").click(function(){
		if (parseInt($(this).parent().css('height'), 10) <155) {				  
		$(this).parent().stop().animate({height:'155px'},{queue:false, duration:600, easing: 'easeOutQuart'})
		}else{
		$(this).parent().stop().animate({height:'24px'},{queue:false, duration:600, easing: 'easeOutQuart'})
		}
	});
	
	$("#down2 > a").click(function(){
		if (parseInt($(this).parent().css('height'), 10) <102) {				  
		$(this).parent().stop().animate({height:'102px'},{queue:false, duration:600, easing: 'easeOutQuart'})
		}else{
		$(this).parent().stop().animate({height:'24px'},{queue:false, duration:600, easing: 'easeOutQuart'})
		}
	});
	
	$("#down3 > a").click(function(){
		if (parseInt($(this).parent().css('height'), 10) <75) {				  
		$(this).parent().stop().animate({height:'75px'},{queue:false, duration:600, easing: 'easeOutQuart'})
		}else{
		$(this).parent().stop().animate({height:'24px'},{queue:false, duration:600, easing: 'easeOutQuart'})
		}
	});
	
	$("#down4 > a").click(function(){
		if (parseInt($(this).parent().css('height'), 10) <102) {				  
		$(this).parent().stop().animate({height:'102px'},{queue:false, duration:600, easing: 'easeOutQuart'})
		}else{
		$(this).parent().stop().animate({height:'24px'},{queue:false, duration:600, easing: 'easeOutQuart'})
		}
	});
	

	
});
