snap : function(aZoom) { if (this.isZoomInRange(aZoom)) { var level = 0; while (this.zoomFactors[level + 1] < aZoom) ++level;   if ((this.zoomFactors[level + 1] - aZoom) < (aZoom - this.zoomFactors[level])) ++level;  aZoom = this.zoomFactors[level]; 
snap: function (aVal) { var values = this.fullZoomValues; for (var i = 0; i < values.length; i++) { if (values[i] >= aVal) { if (i > 0 && aVal - values[i - 1] < values[i] - aVal) i--; return values[i]; } 
  snap : function(aZoom) {    if (this.isZoomInRange(aZoom)) {      var level = 0;      while (this.zoomFactors[level + 1] < aZoom)        ++level;      // if aZoom closer to [level + 1] than [level], snap to [level + 1]      if ((this.zoomFactors[level + 1] - aZoom) < (aZoom - this.zoomFactors[level]))        ++level;      aZoom = this.zoomFactors[level];    }    return aZoom;  },
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/db7cd57c4ee083b474dffe689b52f577a52bb6f8/viewZoomOverlay.js/clean/toolkit/content/viewZoomOverlay.js