$(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
	$("li.animate1, ul.subtext2").mouseover(function(){
		$('ul.subtext2').show()
		$('ul.subtext2').stop().animate({height:'206px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$('ul.subtext2').css("paddingTop", "10px")
	});
	$("li.animate2, ul.subtext").mouseover(function(){
		$('ul.subtext').show()
		$('ul.subtext').stop().animate({height:'90px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$('ul.subtext').css("paddingTop", "10px")
	});
	$("li.animate3, ul.subtext3").mouseover(function(){
		$('ul.subtext3').show()
		$('ul.subtext3').stop().animate({height:'90px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$('ul.subtext3').css("paddingTop", "10px")
	});
	
	//When mouse is removed
	$("li.animate1, ul.subtext2").mouseout(function(){
		$('ul.subtext2').stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$('ul.subtext2').hide()
		$('ul.subtext2').css("paddingTop", "0px")
	});
	$("li.animate2, ul.subtext").mouseout(function(){
		$('ul.subtext').stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$('ul.subtext').hide()
		$('ul.subtext').css("paddingTop", "0px")
	});
	$("li.animate3, ul.subtext3").mouseout(function(){
		$('ul.subtext3').stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$('ul.subtext3').hide()
		$('ul.subtext3').css("paddingTop", "0px")
	});
	
});
