rem:  for(var i=1; i <= this.resolutions.length; i++) { if ( this.resolutions[i] < idealResolution) { break; } } return (i - 1); 
add:  return this.getZoomForResolution(idealResolution); 
context:     getZoomForExtent: function(extent) {        var viewSize = this.map.getSize();        var idealResolution = Math.max( extent.getWidth()  / viewSize.w,                                        extent.getHeight() / viewSize.h );                for(var i=1; i <= this.resolutions.length; i++) {            if ( this.resolutions[i] < idealResolution) {                break;            }        }        return (i - 1);    },
meta: 8310	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8310/693eab5cc9cbe4c34ec11be99ba4f77e27190b76/Layer.js/buggy/lib/OpenLayers/Layer.js