GuiPack.GuiSlideShow.__Element.prototype.select = function(elementId) {
	clearTimeout(this.tid);
	
	if(this.current != elementId) {
		if(typeof this.runStartEffect == 'undefined') {
			this.runStartEffect = false;
			Effect.Appear(this.panels[elementId], {duration: this.options.duration});
			this.current = elementId;
		} else {
			GuiPack.clearEffectQueue('guiSlideShow_' + this.panelId);
			
			var direction = 'Next';
			if(this.current > elementId) {
				direction = 'Previous';
			};				
			
			this.current = elementId;
			if(this.current < 0) {
				this.current = this.totalElements - 1;
			} else if(this.current >= this.totalElements) {
				this.current = 0;
			};				
			
			this.panels.each((function(e) {
				if(e.visible()) {
					//new Effect.Fade(e, {duration: this.options.duration, queue: {scope: 'guiSlideShow_' + this.panelId}});
					new this.options.hideEffect(e, this.options['hideEffect' + direction + 'Options']);
				};
			}).bind(this));
			
			this.tabs.each(function(e){e.removeClassName('guiSlideShowCurrent');});
			this.tabs[this.current].addClassName('guiSlideShowCurrent');
			
			
			//new Effect.Appear(this.panels[elementId], {duration: this.options.duration, queue: {scope: 'guiSlideShow_' + this.panelId}});
			new this.options.showEffect(this.panels[this.current], this.options['showEffect' + direction + 'Options']);
		};
	};
	
	if(this.options.interval > 0 && this.totalElements > 1) {
		this.tid = this.select.bind(this, this.current + 1).delay(this.options.interval);
	};
};