window.addEvent('domready', function() {
	
	//create our Accordion instance
	var anotherEl = $('CSSmorph');
	
	var myAccordion = new Accordion($('accordion'), 'div.toggler', 'div.element', {
		opacity: false,
		wait:true,
		alwaysHide:false,
		show:0,
		duration:300,
		initialDisplayFx:false,
		onActive: function(toggler, element){
			
			toggler.setStyle('background', '#f1f1f1');
			
		},
		onBackground: function(toggler, element){
			
			toggler.setStyle('background', '#ffffff');
			
		}
	});
	
	//make it open on hover
	$$('.toggler').addEvent('mouseenter', function() { this.fireEvent('click'); });

});