var navShowing = this._navShowing; 
	showImage: function(idx, /* Function? */callback){		// summary: Shows the image at index 'idx'.		// idx: Number		//	The position of the image in the data store to display		// callback: Function		//	Optional callback function to call when the image has finished displaying.				if(!callback && this._slideId){ this.toggleSlideShow(); }		var _this = this;		var current = this.largeNode.getElementsByTagName("div");		this.imageIndex = idx;		var navShowing = this._navShowing;		var showOrLoadIt = function() {			//If the image is already loaded, then show it. 			if(_this.images[idx]){				while(_this.largeNode.firstChild){					_this.largeNode.removeChild(_this.largeNode.firstChild);				}				_this.images[idx].style.opacity = 0;				_this.largeNode.appendChild(_this.images[idx]);				_this._currentImage = _this.images[idx]._img;				_this._fitSize();											    var onEnd = function(a,b,c) {					var img = _this.images[idx].firstChild;					if(img.tagName.toLowerCase() != "img"){img = img.firstChild;}					title = img.getAttribute("title");										if(navShowing){						_this._showNav(true);					}					dojo.publish(_this.getShowTopicName(), [{						index: idx,							title: title,						url: img.getAttribute("src")					}]);        			if(callback) { callback(a,b,c); }					_this._setTitle(title);        		};								dojo.fadeIn({					node: _this.images[idx],					duration: 300,					onEnd: onEnd				}).play();			}else{				//If the image is not loaded yet, load it first, then show it.				_this._loadImage(idx, function(){					dojo.publish(_this.getLoadTopicName(), [idx]);					_this.showImage(idx, callback);					});			}		};		//If an image is currently showing, fade it out, then show		//the new image. Otherwise, just show the new image. 			if(current && current.length > 0){			this._hideNav();			dojo.fadeOut({				node: current[0],				duration: 300,				onEnd: function(){					_this.hiddenNode.appendChild(current[0]);					showOrLoadIt();			}			}).play();		}else{			showOrLoadIt();		}	},
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/986f62b947e1b39f4ad2932dd3d3a85ff8be3cea/SlideShow.js/buggy/image/SlideShow.js