jQuery(document).ready( function($) { 
var config = {sensitivity: 3,interval: 100,over: makeTall,timeout: 
100,out: makeShort};
$('ul','#menu').hide();
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 );
$('li','#menu').css( {backgroundPosition: "0 -60px"} ).mouseover(function(){$(this).stop().animate({backgroundPosition:"(0 -120px)"}, {duration:400})}).mouseout(function(){$(this).stop().animate({backgroundPosition:"(0 -60px)"}, {duration:400})})
$('#menu > li').css( {backgroundPosition: "0 0"} ).mouseover(function(){$(this).stop().animate({backgroundPosition:"(0 -60px)"}, {duration:400})}).mouseout(function(){$(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:400})})});


