$(function(){

	//	though we are using 0 interval/timeout still using hoverintent
	//	in case we want to use it again later and to still use its callbacks
	var config = {    
		 sensitivity: 3, // number = sensitivity threshold (must be 1 or higher)    
		 interval: 0,  // number = milliseconds for onMouseOver polling interval    
		 over: doOpen,   // function = onMouseOver callback (REQUIRED)    
		 timeout: 0,   // number = milliseconds delay before onMouseOut    
		 out: doClose    // function = onMouseOut callback (REQUIRED)    
	}
    
	function doOpen() {
		$(this).addClass("hover");
//		$('ul:first',this).css('visibility', 'visible');
		$('ul:first',this).slideDown(100)
	}
 
	function doClose() {
		$(this).removeClass("hover");
//		$('ul:first',this).css('visibility', 'hidden');
		$('ul:first',this).slideUp(100)
	}

//	$("ul.dropdown li").hoverIntent(config);
	$(".menu div").hoverIntent(config)
    
//	$("ul.dropdown li ul li:has(ul)").find("a:first").append(" &raquo; ");
/*
	not yet using sub-sub
*/
	$(".menu div ul li:has(ul)").find("a:first").append(" &nbsp;&raquo; ")
})
