window.addEvent('domready', function() {
	
	//create our Accordion instance
	var myAccordion = new Accordion($('accordion'), 'h4.toggler', 'div.element2', {
		start: 'all-closed', // this makes them all start in the closed position
		opacity: false,
		alwaysHide: true, // this makes an open element close if you click it
		onActive: function(toggler, element){
			toggler.setStyle('color', '#890000');
		},
		onBackground: function(toggler, element){
			toggler.setStyle('color', '#121212');
		}
	});
});