$(document).ready(function () {
							
	var config = {    
     over: makeTall, // function = onMouseOver callback (REQUIRED)    
     timeout: 500, // number = milliseconds delay before onMouseOut    
     out: makeShort // function = onMouseOut callback (REQUIRED)    
	};

$("#menu li").hoverIntent( config )

        function makeTall(){ 
            //show its submenu
            $('ul', this).slideDown(300);
 
        }
        function makeShort() {
            //hide its submenu
            $('ul', this).slideUp(300);        
        }
     
});
