// custom animations

$(document).ready(function(){
	$(".feature-box").hoverIntent( config );
	$("a.nyroModal").attr('rel', 'gal');
});

function makeTall(){  
	$(this).find(".expander").animate({"height":164, "paddingTop":10, opacity:0.9},300);
	$(this).find('.expander p').fadeIn(500);
}

function makeShort(){ 
	$(this).find(".expander").animate({"height":24, "paddingTop":8, opacity:0.8},300);
	$(this).find('.expander p').hide();
}




var config = {    
     sensitivity: 33, // number = sensitivity threshold (must be 1 or higher)    
     interval: 0, // number = milliseconds for onMouseOver polling interval    
     over: makeTall, // function = onMouseOver callback (REQUIRED)    
     timeout: 500, // number = milliseconds delay before onMouseOut    
     out: makeShort // function = onMouseOut callback (REQUIRED)    
};
