rem: var zoom = this.map.getZoom(); 
add: var mapRes = this.map.getResolution(); 
context:     getURL: function (bounds) {        var zoom = this.map.getZoom();        var scale = this.map.getScale();                var cellSize = new OpenLayers.Size(mapRes*this.tileSize.w, mapRes*this.tileSize.h);        var pX = Math.round(((bounds.left) / cellSize.w) * this.tileSize.w);        var pY = -Math.round(((bounds.top) / cellSize.h) * this.tileSize.h);        return this.getFullRequestString(                      { t: pY,                         l: pX,                        s: scale                      });    },
meta: 4411	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4411/c6de730716367da2294b0f3435cfa6cccebffc12/KaMap.js/buggy/lib/OpenLayers/Layer/KaMap.js