code: protected void toggleToolbar(boolean show) {
  
          if (show) {
              CmsDebugLog.consoleLog("Showing toolbar");
              CmsToolbar.showToolbar(
                  m_toolbar,
                  true,
                  m_toolbarVisibility,
                  I_CmsLayoutBundle.INSTANCE.toolbarCss().simpleToolbarShow());
              saveToolbarVisibility(true);
          } else {
              CmsDebugLog.consoleLog("Hiding toolbar");
              CmsToolbar.showToolbar(
                  m_toolbar,
                  false,
                  m_toolbarVisibility,
                  I_CmsLayoutBundle.INSTANCE.toolbarCss().simpleToolbarShow());
              saveToolbarVisibility(false);
          }
  
      }
docs: Toggles the visibility of the toolbar.<p>
  
  @param show <code>true</code> to show the toolbar