$(document).ready(function(){
	var config = {    
	 over: hoverOver, // function = onMouseOver callback (REQUIRED) 
	 interval: 25, // number = milliseconds between mouseover updates  
     timeout: 150, // number = milliseconds delay before onMouseOut    
	 out: hoverOut // function = onMouseOut callback (REQUIRED)    
	};
	$('li.dropdown').hoverIntent(config);		
});
function hoverOver() {		
	$(this).find('a:first').addClass('active');
	$(this).find('ul').slideDown();
}
function hoverOut() {
    $(this).find('ul').slideUp(function(){
		$(this).parent().find('.active').removeClass('active');
	});
}
