code: public void printHtmlLogo(PrintWriter out, ResourceBundle reg)
          throws DBException
      {
          char chMenubar = HBasePanel.getFirstToUpper(this.getProperty(DBParams.LOGOS), 'H');
          if (chMenubar == 'H') if (((BasePanel)this.getScreenField()).isMainMenu())
              chMenubar = 'Y';
          if (chMenubar == 'Y')
          {
              String strNav = reg.getString("htmlLogo");
              strNav = Utility.replaceResources(strNav, reg, null, null);
              String strScreen = ((BasePanel)this.getScreenField()).getScreenURL();
              strScreen = Utility.encodeXML(strScreen);
              String strUserName = ((MainApplication)this.getTask().getApplication()).getUserName();
              if (Utility.isNumeric(strUserName))
                  strUserName = DBConstants.BLANK;
              String strLanguage = this.getTask().getApplication().getLanguage(false);
              strNav = Utility.replace(strNav, HtmlConstants.URL_TAG, strScreen);
              strNav = Utility.replace(strNav, HtmlConstants.USER_NAME_TAG, strUserName);
              strNav = Utility.replace(strNav, "<language/>", strLanguage);
              this.writeHtmlString(strNav, out);
          }
      }
docs: Print the top nav menu.
  @param out The html out stream.
  @param reg The resources object.
  @exception DBException File exception.