// custom animations

var $j = jQuery.noConflict(); $j().ready(function()
{
	$j(".feature-box").hoverIntent( config );
	$j("a.nyroModal").attr('rel', 'gal');
});

function makeTall(){  
	$j(this).find(".expander").animate({"height":164, "paddingTop":10, opacity:0.9},300);
	$j(this).find('.expander p').fadeIn(500);
}

function makeShort(){ 
	$j(this).find(".expander").animate({"height":24, "paddingTop":8, opacity:0.8},300);
	$j(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)    
};


