docs: function(name, url, params, options) {
          var newArguments = [];
          //uppercase params
          params = OpenLayers.Util.upperCaseObject(params);
          if (parseFloat(params.VERSION) >= 1.3 && !params.EXCEPTIONS) {
              params.EXCEPTIONS = "INIMAGE";
          } 
          newArguments.push(name, url, params, options);
          OpenLayers.Layer.Grid.prototype.initialize.apply(this, newArguments);
          OpenLayers.Util.applyDefaults(
                         this.params, 
                         OpenLayers.Util.upperCaseObject(this.DEFAULT_PARAMS)
                         );
  
  
          //layer is transparent        
          if (!this.noMagic && this.params.TRANSPARENT && 
              this.params.TRANSPARENT.toString().toLowerCase() == "true") {
              
              // unless explicitly set in options, make layer an overlay
              if ( (options == null) || (!options.isBaseLayer) ) {
                  this.isBaseLayer = false;
              } 
              
              // jpegs can never be transparent, so intelligently switch the 
              //  format, depending on the browser's capabilities
              if (this.params.FORMAT == "image/jpeg") {
                  this.params.FORMAT = OpenLayers.Util.alphaHack() ? "image/gif"
                                                                   : "image/png";
              }
          }
  
      }