function showMobileBar(){
			$(menu).hide(0);
			$(showHideButton).show(0).click(function(event){
				event.preventDefault();
				$(this).toggleClass('open');
				if($(menu).css("display") == "none")
					$(menu).slideDown(settings.showSpeed);
				else
					$(menu).slideUp(settings.hideSpeed).find(".sub-menu, .megamenu").hide(settings.hideSpeed);
			});
		}
// show the bar to show/hide menu items on mobile
show the bar to show/hide menu items on mobile
show the bar to show / hide menu items on mobile
function showMobileBar(){
			$(menu).hide(0);
			$(showHideButton).show(0).click(function(event){
				event.preventDefault();
				$(this).toggleClass('open');
				if($(menu).css("display") == "none")
					$(menu).slideDown(settings.showSpeed);
				else
					$(menu).slideUp(settings.hideSpeed).find(".sub-menu, .megamenu").hide(settings.hideSpeed);
			});
		}
function showMobileBar ( ) { $ ( menu ) . hide ( 0 ) ; $ ( showHideButton ) . show ( 0 ) . click ( function ( event ) { event . preventDefault ( ) ; $ ( this ) . toggleClass ( 'open' ) ; if ( $ ( menu ) . css ( "display" ) == "none" ) $ ( menu ) . slideDown ( settings . showSpeed ) ; else $ ( menu ) . slideUp ( settings . hideSpeed ) . find ( ".sub-menu, .megamenu" ) . hide ( settings . hideSpeed ) ; } ) ; }
show the bar to show/hide menu items on mobile
show the bar to show / hide menu items on mobile