jQuery.noConflict();
jQuery(document).ready(function(){ 
    jQuery("ul.sf-menu").supersubs({ 
        minWidth:    10,                                // minimum width of sub-menus in em units 
        maxWidth:    27,                                // maximum width of sub-menus in em units 
        extraWidth:  1                                  // extra width can ensure lines don't sometimes turn over 
                                                        // due to slight rounding differences and font-family 
    }).superfish({ 
        delay:       500,                               // delay on mouseout 
        animation:   {opacity:'show', height:'show'},    // fade-in and slide-down animation 
        speed:       'fast',                            // faster animation speed 
        autoArrows:  false,                             // disable generation of arrow mark-up 
        dropShadows: false                              // disable drop shadows 
    }).find('ul li a').filter(":first").css("border-top", "0")
	jQuery("ul.sf-menu").find('ul li a').filter(":last").css("border-bottom", "0");
	
	jQuery("ul.sf-menu ul li a").hover(
		function () {
			jQuery(this).stop().animate({paddingLeft: 20}, 200);
		},
		function () {
			jQuery(this).stop().animate({paddingLeft: 10}, 200);
		}
	);
});

