

jQuery(document).ready(function(){      
    jQuery = jQuery.noConflict();   
    


       jQuery("ul.sf-menu").superfish({ 
			animation: {height:'show'},
			speed: 'fast'
                               // due to slight rounding differences and font-family 
        });  // call supersubs first, then superfish, so that subs are 
                         // not display:none when measuring. Call before initialising 
                         // containing tabs for same reason. 
	
	// Add Some Classes To Remove BG On Last LI    
	jQuery('#mainmenu > ul > li:last').addClass("last");
	jQuery('#topmenu ul li:last').addClass("last");
	jQuery('#topmenu ul li:first').addClass("first");  
	jQuery('#mainmenu .sf-menu > li > ul').each(function () {
		jQuery(this).wrapInner('<div class="dropDownBG"></div>');
   });
   jQuery('#mainmenu .sf-menu > li > ul div.dropDownBG').each(function () { 
		jQuery(this).after('<div class="dropDownBottomBG"></div>'); 
	});
   jQuery('#mainmenu .sf-menu > li > ul div.dropDownBG').each(function () { 
		jQuery(this).wrapInner('<div class="dropDownInner"></div>'); 
	});

});
