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: 8310	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8310/c932a87d3f98c2018fdc3fc8f3bba11898354f3e/KaMap.js/clean/lib/OpenLayers/Layer/KaMap.js