fx.ElementScroll = Class.create();
fx.ElementScroll.prototype = Object.extend(new fx.Base(), {
	initialize: function(el, options) {
		this.el = el;
		this.now = this.el.offsetLeft;
		this.setOptions(options);
		this.options = options;
		this.tween();
	},

	increase: function() {
		this.el.style.left = this.now + 'px';
	},

	tween: function(end) {
		this.clearTimer();
		this.custom(this.now, end);
	}
});
