 var img = this._thumbs[idx];; if(!img){return false;} var pos = this.isHorizontal ? "offsetLeft" : "offsetTop"; var size = this.isHorizontal ? "offsetWidth" : "offsetHeight"; var scrollAttr = this.isHorizontal ? "scrollLeft" : "scrollTop"; var offset = img[pos] - this.thumbsNode[pos]; return (offset >= this.thumbScroller[scrollAttr] && offset + img[size] <= this.thumbScroller[scrollAttr] + this._scrollerSize); }, 
 var img = this._thumbs[idx];; if(!img){return false;} var pos = this.isHorizontal ? "offsetLeft" : "offsetTop"; var size = this.isHorizontal ? "offsetWidth" : "offsetHeight"; var scrollAttr = this.isHorizontal ? "scrollLeft" : "scrollTop"; var offset = img[pos] - this.thumbsNode[pos]; return (offset >= this.thumbScroller[scrollAttr] && offset + img[size] <= this.thumbScroller[scrollAttr] + this._scrollerSize); }, 
  isVisible: function(idx) {    // summary: Returns true if the image at the specified index is currently visible. False otherwise.    var img = this._thumbs[idx];;    if(!img){return false;}    var pos = this.isHorizontal ? "offsetLeft" : "offsetTop";	var size = this.isHorizontal ? "offsetWidth" : "offsetHeight";    var scrollAttr = this.isHorizontal ? "scrollLeft" : "scrollTop";    var offset = img[pos] - this.thumbsNode[pos];    return (offset >= this.thumbScroller[scrollAttr]        && offset + img[size] <= this.thumbScroller[scrollAttr] + this._scrollerSize);      },
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/fd0905f7d5e660c20fd78d43589db96a2c5f07bd/ThumbnailPicker.js/buggy/image/ThumbnailPicker.js