code: function() {
          OpenLayers.Control.prototype.draw.apply(this, arguments);
            
          if (!this.element && !this.anchor) {
              this.element = document.createElement("a");
              this.element.innerHTML = OpenLayers.i18n("Permalink");
              this.element.href="";
              this.div.appendChild(this.element);
          }
          this.map.events.on({
              'moveend': this.updateLink,
              'changelayer': this.updateLink,
              'changebaselayer': this.updateLink,
              scope: this
          });
          
          // Make it so there is at least a link even though the map may not have
          // moved yet.
          this.updateLink();
          
          return this.div;
      }
docs: Method: draw
  
  Returns:
  {DOMElement}