docs: public String getBroadcastMessage() {
  
          StringBuffer result = new StringBuffer(512);
          String message = getBroadcastMessageString();
  
          if (CmsStringUtil.isNotEmpty(message)) {
              // create a javascript alert for the message
              result.append("\n<script type=\"text/javascript\">\n<!--\n");
              // the timeout gives the frameset enough time to load before the alert is shown
              result.append("function showMessage() {\n");
              result.append("\talert(decodeURIComponent(\"");
              // the user has pending messages, display them all
              result.append(CmsEncoder.escapeWBlanks(message, CmsEncoder.ENCODING_UTF_8));
              result.append("\"));\n}\n");
              result.append("setTimeout('showMessage();', 2000);");
              result.append("\n//-->\n</script>");
          }
          return result.toString();
      }