docs: public boolean showTheDocument(App app, String strURL, int iOptions)
      {
          BaseAppletReference applet = this;
          boolean bIsHelpScreen = false;
          if ((strURL.indexOf("JHelp") != -1) ||
              (strURL.indexOf(Params.HELP + "=")) != -1)
                  bIsHelpScreen = true;
          if (bIsHelpScreen)
              if ((iOptions & ThinMenuConstants.HELP_WINDOW_CHANGE) != 0)
              {   // Special case - if help is currently displayed, display this new help screen
                  if (this.getHelpView().getHelpPane().isVisible())
                      iOptions = ThinMenuConstants.HELP_PANE_OPTION | ThinMenuConstants.HELP_WINDOW_CHANGE;
                  else
                      return false;   // Don't refresh help if no current pane
              }
          boolean bSuccess = false;
          URL url = null;
          String strProtocol = null;
          if (strURL != null)
              if (strURL.indexOf(':') != -1)
          {
              strURL.substring(strURL.indexOf(':') + 1);
              strProtocol = strURL.substring(0, strURL.indexOf(':'));
          }
          if ((Params.FAX.equalsIgnoreCase(strProtocol)) || (Params.PHONE.equalsIgnoreCase(strProtocol)))
              url = null;
          else
          {
              strProtocol = null;
              url = app.getResourceURL(strURL, applet);
          }
          if ((url != null) || (strProtocol != null))
          {
              if ((applet != null)
                      && (((BaseApplet)applet).getHelpView() != null)
                      && (((iOptions & 1) == 0) && ((iOptions & Constants.USE_NEW_WINDOW) == 0)
                              && ((iOptions & ThinMenuConstants.HELP_WEB_OPTION) == 0)  // Use same window
                              && ((iOptions & ThinMenuConstants.EXTERNAL_LINK) == 0)  // Change browser window
                      || (bIsHelpScreen)))
              {
                  if (((applet != null) && (((BaseApplet)applet).getHelpView().getHelpPane().isVisible()))
                      || ((ThinMenuConstants.HELP_PANE_OPTION & iOptions) == ThinMenuConstants.HELP_PANE_OPTION))
                  {
                      ((BaseApplet)applet).getHelpView().linkActivated(url, (BaseApplet)applet, Constants.DONT_PUSH_HISTORY); // For now
                  }
                  bSuccess = true;    // Even if the help didn't display
              }
              if (!bSuccess)
                  if ((applet != null) && (url != null) && (applet.getApplet() != null))
              {
                  applet = applet.getApplet();    // Get the JApplet if not standalone.
                  ((BaseApplet)applet).getAppletContext().showDocument(url, "_blank");
                  bSuccess = true;
              }
              if (!bSuccess)
              {
                  if (!bSuccess)
                      if ((iOptions & ThinMenuConstants.CHANGE_BROWSER_SCREEN) != 0)
                          if (this.getBrowserManager() != null)
                              bSuccess = this.getBrowserManager().doLink(strURL);
                  if (!bSuccess)
                      if ((((Application)app).getMuffinManager() != null) && (url != null))
                          if (((Application)app).getMuffinManager().isServiceAvailable())
                              bSuccess = ((Application)app).getMuffinManager().showTheDocument(url);
                  if (!bSuccess)
                  {
                      Map<String,Object> properties = new Hashtable<String,Object>();
                      properties.put(Params.SCREEN, "org.jbundle.thin.base.screen.util.html.JHelpView");
                      if (url != null)
                          strProtocol = url.getProtocol();
                      if (Application.MAIL_TO.equalsIgnoreCase(strProtocol))
                          properties.put(Params.SCREEN, "org.jbundle.thin.base.screen.util.mail.JMailView");
                      else if (Params.FAX.equalsIgnoreCase(strProtocol))
                          properties.put(Params.SCREEN, "org.jbundle.thin.base.screen.util.mail.JFaxView");
                      else if (Params.PHONE.equalsIgnoreCase(strProtocol))
                          properties.put(Params.SCREEN, "org.jbundle.thin.base.screen.util.mail.JPhoneView");
                      if (url != null)
                          properties.put(Params.URL, url.toString());
                      else
                          properties.put(Params.URL, strURL);
                      this.makeHelpScreen(app, applet, properties);
                      return true;    // Success
                  }
              }
          }
          return false; // failure
      }