  jQuery(document).ready( function($) { 
  var config = {sensitivity: 3,interval: 200,over: makeTall,timeout: 200,out: makeShort};
  	$('ul','#menu').hide();
	if ($.browser.msie) {
				//$('#menu li').boxShadow(  0,   0, 5, "#f00");			
			} 

	/*$('#menu li').ahover({moveSpeed: 100, hoverEffect: function() {
        $(this)
            .css({opaticity: 0.99})
            .animate({opaticity: 0.5}, 750)
            .animate({opaticity: 0.99}, 750)
			//.hoverIntent( config );
            .dequeue();
        $(this).queue(arguments.callee);
    }});
*/
	function makeTall(){ $(this).children("li > ul").animate({"height": "toggle", "width": "toggle", "opacity": "toggle"}, "fast","linear" ); }
	function makeShort(){ $(this).children("li > ul").animate({ "height": "toggle", "width": "toggle", "opacity": "toggle"}, "fast","linear" ); }
	
	$("#menu li").hoverIntent( config );
	});
