// JavaScript Document
	$(document).ready(function(){
		var config = {    
			 sensitivity: 1,    
			 interval: 10, 
			 over: 
				function(){
					var new_height = $(this).find('ul').height()+30+'px';
					$(this).animate({ 
						height: new_height
					}, 150 );
				}, 
			 timeout: 150, 
			 out: function(){
					$(this).animate({ 
						height: '20px'
					 }, 150);
				}
		};
		
		$('#menu .item:has(ul)').hoverIntent(config);
		
	});