$(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
	$(".horizontal_menu li").mouseover(function(){
		$(this).stop().animate({height:'100px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$(".horizontal_menu li").mouseout(function(){
		$(this).stop().animate({height:'50px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	// press messages animation
	$(".press .press_content").hide();
	$(".press .press_title").click(function() {
		var press_content = $(this).next();
		$(this).next().toggle("slow");
	});
	
	
	$("#hide").click(function() {
		$(this).parent().toggle("slow");
	});
	
});
