           this.reset(); var _this = this;  this.request = { query: {}, start: request.start ? request.start : 0, count: request.count ? request.count : 10, onBegin: function(total) { _this._maxPhotos = total; } };  if(request.query){ dojo.mixin(this.request.query, request.query); }  if(paramNames && paramNames.imageThumbAttr){ var attrNames = ["imageThumbAttr", "imageLargeAttr", "linkAttr", "titleAttr"]; for(var i = 0; i< attrNames.length; i++){ if(paramNames[attrNames[i]]){this[attrNames[i]] = paramNames[attrNames[i]];} } }  this.request.start = 0; this.request.count = this.pageSize; this.imageStore = dataStore;  if(!this.init()){ this._loadNextPage(); } }, 
           this.reset(); var _this = this;  this.request = { query: {}, start: request.start ? request.start : 0, count: request.count ? request.count : 10, onBegin: function(total) { _this._maxPhotos = total; } };  if(request.query){ dojo.mixin(this.request.query, request.query);}  if(paramNames && paramNames.imageThumbAttr){ var attrNames = ["imageThumbAttr", "imageLargeAttr", "linkAttr", "titleAttr"]; for(var i = 0; i< attrNames.length; i++){ if(paramNames[attrNames[i]]){this[attrNames[i]] = paramNames[attrNames[i]];} } }  this.request.start = 0; this.request.count = this.pageSize; this.imageStore = dataStore;  if(!this.init()){this._loadNextPage();} }, 
  setDataStore: function(dataStore, request, /*optional*/paramNames){	// summary: Sets the data store and request objects to read data from.	// dataStore:	//	An implementation of the dojo.data.api.Read API. This accesses the image	//	data.	// request:	//	An implementation of the dojo.data.api.Request API. This specifies the	//	query and paging information to be used by the data store	// paramNames:	//	An object defining the names of the item attributes to fetch from the	//	data store.  The four attributes allowed are 'linkAttr', 'imageLargeAttr',	//	'imageThumbAttr' and 'titleAttr'	this.reset();	var _this = this;	this.request = {	  query: {},	  start: request.start ? request.start : 0,	  count: request.count ? request.count : 10,	  onBegin: function(total) {		  _this._maxPhotos = total;	  }	};	if(request.query){	  dojo.mixin(this.request.query, request.query);	}	if(paramNames && paramNames.imageThumbAttr){	  var attrNames = ["imageThumbAttr", "imageLargeAttr", "linkAttr", "titleAttr"];	  for(var i = 0; i< attrNames.length; i++){	    if(paramNames[attrNames[i]]){this[attrNames[i]] = paramNames[attrNames[i]];}		  }	}    	this.request.start = 0;	this.request.count = this.pageSize;    this.imageStore = dataStore;    if(!this.init()){        this._loadNextPage();    }  },
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/fd0905f7d5e660c20fd78d43589db96a2c5f07bd/ThumbnailPicker.js/buggy/image/ThumbnailPicker.js