window.addEvent('domready', function(){
	var accordion = new Accordion('h3.atStart', 'div.atStart', {
		//duration: 500,
		opacity: true,
		alwaysHide: true,		//--> Hide all
		display: "-1",			//--> Default Selected Option
		onActive: function(toggler, element){
			toggler.setStyle('color', '#FFF');
		},
		onBackground: function(toggler, element){
			toggler.setStyle('color', '#FFF');
		}
	}, $('accordion'));
	//--> Perform transition effects
	var list = $$('h3.atStart');
	list.each(function(element) {
		var fx = new Fx.Styles(element, {duration:500, wait:false});
		element.addEvent('mouseover', function(){
			fx.start({'color': '#000'});
		});
		element.addEvent('mouseout', function(){
			fx.start({'color': '#FFF'});
		});
	});
});
