/** * (c) 2008, Wacko-Wacko!
 * @author daclip
 */
function WSuperSlide () {	var screen = null;	var content = null;	var page = null;	var url = null;			/* timer stuff */	var _timer = null;	var _timerSpeed = 1;	var _slideStep = 50;	var currentShiftValue = 0;		this.setScreenId = function(screen_ptr, cont_ptr, page_ptr) {		screen = screen_ptr;		content = cont_ptr;		page = page_ptr;	}		this.slideRight = function(afterslide_url) {		prepare_screen();		set_position(0);		this.processSlideRight();				url = null;		url = afterslide_url;	}		/* private */	this.processSlideRight = function() {		var __backref = this;		if ((currentShiftValue+=_slideStep) >= 2000) {			clearTimeout(_timer);			if (url != null) window.location.href=url;			return false;		}		set_position(currentShiftValue);		_timer = setTimeout(function() { __backref.processSlideRight(); }, _timerSpeed);		}	var set_position = function(value) {		screen.scrollLeft = value;	}	var prepare_screen = function() {		content.style.width= "200%";		page.style.width = "50%";	}		var restore_screen = function() {		content.style.width = "100%";		page.style.width = "100%";			}		var init = function() {			}	init();		// End of class}