code: function() {
  
          this.div.style.backgroundColor = "darkblue";
  
          var viewSize = this.map.getSize();
          
          var msgW = Math.min(viewSize.w, 300);
          var msgH = Math.min(viewSize.h, 200);
          var size = new OpenLayers.Size(msgW, msgH);
  
          var centerPx = new OpenLayers.Pixel(viewSize.w/2, viewSize.h/2);
  
          var topLeft = centerPx.add(-size.w/2, -size.h/2);            
  
          var div = OpenLayers.Util.createDiv(this.name + "_warning", 
                                              topLeft, 
                                              size,
                                              null,
                                              null,
                                              null,
                                              "auto");
  
          div.style.padding = "7px";
          div.style.backgroundColor = "yellow";
  
          div.innerHTML = this.getWarningHTML();
          this.div.appendChild(div);
      }
docs: Method: loadWarningMessage
  If we can't load the map lib, then display an error message to the
  user and tell them where to go for help.
  
  This function sets up the layout for the warning message. Each 3rd
  party layer must implement its own getWarningHTML() function to
  provide the actual warning message.