 var pos = this.isHorizontal ? "offsetLeft" : "offsetTop"; var size = this.isHorizontal ? "offsetWidth" : "offsetHeight"; var baseOffset = this.thumbsNode[pos]; var firstThumb = this._thumbs[this._thumbIndex]; var origOffset = firstThumb[pos] - baseOffset;  var idx = -1, img;  for(var i = this._thumbIndex + 1; i < this._thumbs.length; i++) { img = this._thumbs[i]; if(img[pos] - baseOffset + img[size] - origOffset > this._scrollerSize){ this._showThumbs(i); return; } } }, 
 var pos = this.isHorizontal ? "offsetLeft" : "offsetTop"; var size = this.isHorizontal ? "offsetWidth" : "offsetHeight"; var baseOffset = this.thumbsNode[pos]; var firstThumb = this._thumbs[this._thumbIndex]; var origOffset = firstThumb[pos] - baseOffset;  var idx = -1, img;  for(var i = this._thumbIndex + 1; i < this._thumbs.length; i++) { img = this._thumbs[i]; if(img[pos] - baseOffset + img[size] - origOffset > this._scrollerSize){ this._showThumbs(i); return; } } }, 
  _next: function() {	// summary: Displays the next page of images	var pos = this.isHorizontal ? "offsetLeft" : "offsetTop";    var size = this.isHorizontal ? "offsetWidth" : "offsetHeight";    var baseOffset = this.thumbsNode[pos];	var firstThumb = this._thumbs[this._thumbIndex];	var origOffset = firstThumb[pos] - baseOffset;	var idx = -1, img;	for(var i = this._thumbIndex + 1; i < this._thumbs.length; i++) {	  img = this._thumbs[i];	  if(img[pos] - baseOffset + img[size] - origOffset > this._scrollerSize){		this._showThumbs(i);		return;	  }	}  },
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/fd0905f7d5e660c20fd78d43589db96a2c5f07bd/ThumbnailPicker.js/buggy/image/ThumbnailPicker.js