Fx.Properties = Fx.Styles.extend({
			increase: function(){
				for (var p in this.now) this.element[p] = this.now[p];
			}
		});
		Fx.FlyingScroller = Fx.Properties.extend({
			initialize: function(el, options){
				this.parent(el, options);
				this.options = Object.extend(this.options || {}, Object.extend({
					paddingLeft: 0, 
					paddingTop: 0
				}, options || {}));
			},
			//toElement: function(el, paddingLeft, paddingTop){
			//this.goTo(el.offsetLeft - (paddingLeft || this.options.paddingLeft || 0), el.offsetTop - (paddingTop || this.options.paddingTop || 0));
			//},
	//		goTo: function(x, y){
	//			this.custom({
		//			'scrollLeft': [this.element.scrollLeft, x],
			//		'scrollTop': [this.element.scrollTop, y]
		//		});
	//		}
		toElement: function(el, paddingLeft, paddingTop){
				this.goTo(el.offsetLeft, el.offsetTop);
			},
			
	toElement2: function(el, paddingLeft, paddingTop){
				this.goTo2(el.offsetLeft - (paddingLeft || this.options.paddingLeft || 0), el.offsetTop - (paddingTop || this.options.paddingTop || 0));
			},
			
	toElement3: function(el, paddingLeft, paddingTop){
				this.goTo3(el.offsetLeft - (paddingLeft || this.options.paddingLeft || 0), el.offsetTop - (paddingTop || this.options.paddingTop || 0));
			},
			
			toElement4: function(el, paddingLeft, paddingTop){
				this.goTo4(el.offsetLeft - (paddingLeft || this.options.paddingLeft || 0), el.offsetTop - (paddingTop || this.options.paddingTop || 0));
			},
	
	goTo: function(x, y){
				this.options.duration = 1500;
				this.custom({
					'scrollLeft': [this.element.scrollLeft, this.element.scrollLeft +x ],
					'scrollTop': [this.element.scrollTop, this.element.scrollTop + y]
				});
		},
		
		goTo2: function(x, y){
				this.options.duration = 3000;
				this.custom({
					'scrollLeft': [this.element.scrollLeft, x ],
					'scrollTop': [this.element.scrollTop, y]
				});
		},
		
		goTo3: function(x, y){
				this.options.duration = (180000 - 180000 * ((this.element.scrollLeft)/11110));
				this.custom({
					'scrollLeft': [this.element.scrollLeft, x ],
					'scrollTop': [0, y]
				});
		},
		
		goTo4: function(x, y){
				this.custom({
					'scrollLeft': [this.element.scrollLeft, this.element.scrollLeft],
					'scrollTop': [0, y]
				});
		}
		
		
		});



