// Slideup Content Effect
// by: Harley Neal

$(document).ready(function(){

//Set default size settings
var contentSmall = $('.slideup-content').parent().height() - 30; //Minimum height of content
var totalHeight = $('.slideup-content').parent().height()

$('.slideup-content').css("height",totalHeight); //set Div height
$('.slideup-content').css("top",contentSmall); //move to bottom Div height

//On Mouseover
$('.slideup-content').bind("mouseenter", function(){
	$(this).animate( { top: 0 }, 150, function(){
		$(this).animate( { top: +20 }, 100, function(){
			$(this).animate( { top: 0 }, 300);
		});
	});
	return false; 
	});

//On Mouseout
$('.slideup-content').bind("mouseleave", function(){
	$(this).stop().animate( { top: contentSmall }, 200 );
	return false;
	});
});

