code: function(options) {
          options = OpenLayers.Util.applyDefaults({
              sphericalMercator: true
          }, options);
          var name = options.name || "Bing " + (options.type || this.type);
          
          var newArgs = [name, null, options];
          OpenLayers.Layer.XYZ.prototype.initialize.apply(this, newArgs);
          this.tileOptions = OpenLayers.Util.extend({
              crossOriginKeyword: 'anonymous'
          }, this.options.tileOptions);
          this.loadMetadata(); 
      }
docs: Constructor: OpenLayers.Layer.Bing
  Create a new Bing layer.
  
  Example:
  (code)
  var road = new OpenLayers.Layer.Bing({
  name: "My Bing Aerial Layer",
  type: "Aerial",
  key: "my-api-key-here",
  });
  (end)
  
  Parameters:
  options - {Object} Configuration properties for the layer.
  
  Required configuration properties:
  key - {String} Bing Maps API key for your application. Get one at
  http://bingmapsportal.com/.
  type - {String} The layer identifier.  Any non-birdseye imageryType
  from http://msdn.microsoft.com/en-us/library/ff701716.aspx can be
  used.
  
  Any other documented layer properties can be provided in the config object.