rem:  var center = new OpenLayers.Pixel(newSize.w /2, newSize.h / 2);  var zoom = this.getZoom(); this.zoom = null; this.setCenter(center, zoom); 
context:     updateSize: function() {        var newSize = this.getCurrentSize();        var oldSize = this.getSize();        if (oldSize == null)            this.size = oldSize = newSize;        if (!newSize.equals(oldSize)) {                        //notify layers of mapresize            for(var i=0; i < this.layers.length; i++) {                this.layers[i].onMapResize();                            }            var center = new OpenLayers.Pixel(newSize.w /2, newSize.h / 2);                        var zoom = this.getZoom();            this.zoom = null;            this.setCenter(center, zoom);                        // store the new size            this.size = newSize;            // the div might have moved on the page, also            this.events.element.offsets = null;        }    },
meta: 4411	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4411/2f1f1e78868697f5ee649e17552f08f3aa36af31/Map.js/buggy/lib/OpenLayers/Map.js