window.addEvent('domready', function() { 

    var scroll = new Scroller('slide',{
   		onChange : function(x,y) {
    		this.element.scrollTo(0, y);
    	},
    	area: 40,
    	velocity: 1
    });

    
    
    $('slide').addEvent ('mouseover', scroll.start.bind(scroll));
    $('slide').addEvent ('mouseout', scroll.stop.bind(scroll));
    
	var buttons = $$('.button','.lastbutton');
	buttons.each(function(el){
		el.addEvent('mouseenter', function(e){
			el.fade(0.6);
		}).addEvent('mouseleave', function(e){
			el.fade(1); 
		});				   
	});
    
});