code: public String pageHtml(int segment, String helpUrl, String title) {
  
          if (segment == HTML_START) {
              String stylesheet = null;
              if (isPopup() && !useNewStyle()) {
                  stylesheet = "popup.css";
              }
              StringBuffer result = new StringBuffer(pageHtmlStyle(segment, title, stylesheet));
              if (getSettings().isViewExplorer()) {
                  result.append("<script type=\"text/javascript\" src=\"");
                  result.append(getSkinUri());
                  result.append("commons/explorer.js\"></script>\n");
              }
              result.append("<script type=\"text/javascript\">\n");
              result.append(dialogScriptSubmit());
              if (helpUrl != null) {
                  result.append("if (top.head && top.head.helpUrl) {\n");
                  result.append("\ttop.head.helpUrl=\"");
                  result.append(helpUrl + "\";\n");
                  result.append("}\n\n");
              }
              // the variable that may be set as path: if non-null this will be
              // used as path for the online help window. This is needed because there are pages
              // e.g. /administration/accounts/users/new  that perform a jsp - forward while leaving the
              // path parameter on the old page: no correct online help possible.
              result.append("var onlineHelpUriCustom = ");
              result.append(getOnlineHelpUriCustom());
              result.append(";\n");
  
              result.append("</script>\n");
              return result.toString();
          } else {
              return super.pageHtml(segment, null);
          }
      }
docs: Builds the start html of the page, including setting of DOCTYPE and
  inserting a header with the content-type.<p>
  
  This overloads the default method of the parent class.<p>
  
  @param segment the HTML segment (START / END)
  @param helpUrl the url for the online help to include on the page
  @param title the title for the page
  
  @return the start html of the page