whole_func_string: function(status, msg) {
          var delay = 3;    // <-- default delay of msg box is 1 second.
          if (status == false) {
              delay = 5;    // <-- when status is error, msg box delay is 3 seconds.
          }
          // add some smarts to msg's duration (div by 13.3 between 3 & 9 seconds)
          delay = msg.length / 13.3;
          if (delay < 3) {
              delay = 3;
          }
          else if (delay > 9) {
              delay = 9;
          }
  
          this.msgCt.alignTo(document, 't-t');
          Ext.DomHelper.append(this.msgCt, {html:this.buildMessageBox(status, String.format.apply(String, Array.prototype.slice.call(arguments, 1)))}, true).slideIn('t').pause(delay).ghost("t", {remove:true});
      }
func_code_string: function(status, msg) {
          var delay = 3;    // <-- default delay of msg box is 1 second.
          if (status == false) {
              delay = 5;    // <-- when status is error, msg box delay is 3 seconds.
          }
          // add some smarts to msg's duration (div by 13.3 between 3 & 9 seconds)
          delay = msg.length / 13.3;
          if (delay < 3) {
              delay = 3;
          }
          else if (delay > 9) {
              delay = 9;
          }
  
          this.msgCt.alignTo(document, 't-t');
          Ext.DomHelper.append(this.msgCt, {html:this.buildMessageBox(status, String.format.apply(String, Array.prototype.slice.call(arguments, 1)))}, true).slideIn('t').pause(delay).ghost("t", {remove:true});
      }
func_documentation_string: *
  adds a message to queue.
  @param {String} msg
  @param {Bool} status