$(document).ready(function() {
	
	// GLOBAL
	jQuery.easing.def = 'easeInOutQuart';

	// INDEX TEXT ANIMATION
	$(function() {
		$('body.index #column_right ul li').hover(function(){
			$(this).find('div').fadeIn("fast");
		}, function(){
			$(this).find('div').fadeOut("slow");
		});
	});
	
	// PROJECT TEXT ANIMATION
	$(function() {
		$('body.project #column_right ul li.project_info').hover(function(){
			$(this).find('.panel').show().animate({bottom:'0px'},{queue:false,duration:500});
		}, function(){
			$(this).find('.panel').animate({bottom:'-300px'},{queue:false,duration:500});
		});
	});
	
	$(function() {
		$('body.project #column_right ul li.project_info_top').hover(function(){
			$(this).find('.panel').show().animate({top:'0px'},{queue:false,duration:500});
		}, function(){
			$(this).find('.panel').animate({top:'-300px'},{queue:false,duration:500});
		});
	});
	
	// FOOTER ANIMATION
	$("#credits").hide();
	$("#credits_trigger").mouseover(function(){$("#credits").fadeIn("slow");return false});

});
	
