code: function(name, options) {
  
          this.metadata = {};
          
          options = OpenLayers.Util.extend({}, options);
          // make sure we respect alwaysInRange if set on the prototype
          if (this.alwaysInRange != null) {
              options.alwaysInRange = this.alwaysInRange;
          }
          this.addOptions(options);
  
          this.name = name;
          
          if (this.id == null) {
  
              this.id = OpenLayers.Util.createUniqueID(this.CLASS_NAME + "_");
  
              this.div = OpenLayers.Util.createDiv(this.id);
              this.div.style.width = "100%";
              this.div.style.height = "100%";
              this.div.dir = "ltr";
  
              this.events = new OpenLayers.Events(this, this.div);
              if(this.eventListeners instanceof Object) {
                  this.events.on(this.eventListeners);
              }
  
          }
      }
docs: Constructor: OpenLayers.Layer
  
  Parameters:
  name - {String} The layer name
  options - {Object} Hashtable of extra options to tag onto the layer