$(document).ready(function()
{
	$.easing.def = "easeOutSine";

	var config = {    
		sensitivity: 3, // number = sensitivity threshold (must be 1 or higher)    
		interval: 200, // number = milliseconds for onMouseOver polling interval    
		over: onExpand, // function = onMouseOver callback (REQUIRED)    
		timeout: 500, // number = milliseconds delay before onMouseOut    
		out: onShrink // function = onMouseOut callback (REQUIRED)    
	};

	$("#accordion > div.bg_block").hoverIntent(config);

});


function onExpand()
{
	var el = $(this).find("div.subtext");			
	
	$('.subtext').not(el).slideUp(250);			
	el.slideDown(250);
	
}

function onShrink()
{
	var el = $(this).find("div.subtext");
	el.slideUp(250);
}
