var complete = dojo.hitch(this, function(items, request){ if(items && items.length) { var itemCounter = 0; var loadNext = function(){ if(itemCounter >= items.length){ _this._loadInProgress = false; return; } var counter = itemCounter++;  loadImage(items[counter], pos + counter, loadNext); } loadNext();     this._updateNavControls(); }else{ this._loadInProgress = false; } 
dojo.connect(img, "onload", this, function(){ var realSize = dojo.marginBox(img)[sizeParam]; this._totalSize += (Number(realSize) + 4); dojo.style(this.thumbsNode, this._sizeProperty, this._totalSize + "px");  if(this.useLoadNotifier){dojo.style(loadingDiv, "width", (img.width - 4) + "px"); } callback(); return false; 
		var complete = dojo.hitch(this, function(items, request){			if(items && items.length) {				var itemCounter = 0;				var loadNext = function(){					if(itemCounter >= items.length){						_this._loadInProgress = false;						return;					}					var counter = itemCounter++;										loadImage(items[counter], pos + counter, loadNext);				}				loadNext();								//Show or hide the navigation arrows on the thumbnails, 				//depending on whether or not the widget is at the start,				//end, or middle of the list of images. 				this._updateNavControls();			}else{				this._loadInProgress = false;			}		});
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/75f2030aef51379b6ac902f159c22a4b917d93e2/ThumbnailPicker.js/buggy/image/ThumbnailPicker.js