window.addEvent('domready', function() {
	
	var accordion = new Accordion('h3.atStart', 'div.atStart', {
        duration: 800,
		transition: Fx.Transitions.Quad.easeInOut,
		//opacity: false,
		alwaysHide: true,
		show: true,
		//display: 5,
        onActive: function(toggler, element){
            toggler.setStyle('color', '#ccc');            
        },
    
        onBackground: function(toggler, element){
            toggler.setStyle('color', '#fa9800');
        },
		onComplete: function(toggler, element){
			var scroll = new Fx.Scroll(window, { wait: false, duration: 800, transition: Fx.Transitions.Quad.easeInOut });  
			scroll.toElement('accordion');
		}
    }, $('accordion'));

});
