docs: function() {
  
          //use cached value if we have it
          var contentDivPadding = this._contentDivPadding;
          if (!contentDivPadding) {
  
              if (this.div.parentNode == null) {
                  //make the div invisible and add it to the page        
                  this.div.style.display = "none";
                  document.body.appendChild(this.div);
              }
                      
              //read the padding settings from css, put them in an OL.Bounds        
              contentDivPadding = new OpenLayers.Bounds(
                  OpenLayers.Element.getStyle(this.contentDiv, "padding-left"),
                  OpenLayers.Element.getStyle(this.contentDiv, "padding-bottom"),
                  OpenLayers.Element.getStyle(this.contentDiv, "padding-right"),
                  OpenLayers.Element.getStyle(this.contentDiv, "padding-top")
              );
      
              //cache the value
              this._contentDivPadding = contentDivPadding;
  
              if (this.div.parentNode == document.body) {
                  //remove the div from the page and make it visible again
                  document.body.removeChild(this.div);
                  this.div.style.display = "";
              }
          }
          return contentDivPadding;
      }