jQuery(document).ready(function() { 
	jQuery('ul.menu').superfish({ 
		delay:       500,                            // one second delay on mouseout 
		animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
		speed:       'normal',                          // faster animation speed 
		autoArrows:  false,                           // disable generation of arrow mark-up 
		dropShadows: false                            // disable drop shadows 
	}); 
	
	jQuery('.menu li a')
		.css( {backgroundPosition: "0px 0px"} )
		.mouseover(function(){
			jQuery(this).stop().animate({backgroundPosition:"(0px -112px)"}, {duration:'fast'})
		})
		.mouseout(function(){
			jQuery(this).stop().animate({backgroundPosition:"(0px 0px)"}, {duration:'fast', complete:function(){
				jQuery(this).css({backgroundPosition: "0px 0px"})
			}})
	});
		
	jQuery(".menu li li a").mouseover( function() {
		jQuery(this).animate({color: "#1f1f1f"}, {queue:false, duration:250 });
		}).mouseout( function() {
		jQuery(this).animate({color: "#f9f9f9"}, { queue:false, duration:350});
	});
}); 
