rem: return new OpenLayers.Bounds(center.lon - w_deg / 2, center.lat - h_deg / 2, center.lon + w_deg / 2, center.lat + h_deg / 2); 
add: extent = new OpenLayers.Bounds(center.lon - w_deg / 2, center.lat - h_deg / 2, center.lon + w_deg / 2, center.lat + h_deg / 2); 
context:     getExtent: function () {        var extent = null;        var center = this.map.getCenter();        if (center != null) { 	            var res = this.getResolution(); 	            var size = this.map.getSize(); 	            var w_deg = size.w * res; 	            var h_deg = size.h * res; 	            return new OpenLayers.Bounds(center.lon - w_deg / 2,                         	                 center.lat - h_deg / 2,                         	                 center.lon + w_deg / 2,                          	                 center.lat + h_deg / 2);        }        return extent;    },
meta: 4411	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4411/b98a3f00bfa5d790cf3bf08b36a3727ae3aa59d2/Grid.js/buggy/lib/OpenLayers/Layer/Grid.js