$(document).ready(function() {

	 $(".go").hover(
      function () {
        $(this).find("ul:first").toggle();
      }, 
      function () {
        $(this).find("ul:first").toggle();
      }
    );
	 
	 var config = {    
		sensitivity: 3, // number = sensitivity threshold (must be 1 or higher)    
		interval: 20, // number = milliseconds for onMouseOver polling interval    
		over: menu_hover, // function = onMouseOver callback (REQUIRED)    
		timeout: 500, // number = milliseconds delay before onMouseOut    
		out: menu_hover // function = onMouseOut callback (REQUIRED)    
	 };
	 
	 $("#mainMenu li").hoverIntent( config )


	
});

function menu_hover(){
	$(this).find("ul:first").toggle();	
}
