window.addEvent('domready', function() {
	
	//create our Accordion instance
	var myAccordion = new Accordion($('div.accordion'), 'h3.toggler', 'div.element', {
		opacity: true,
		onActive: function(toggler, element){
		},
		onBackground: function(toggler, element){
		}
	});
	
//	var el = $('accordion'),
//		color = el.getStyle('backgroundColor');
	
	// We are setting the opacity of the element to 0 and adding two events
//	$('accordion').set('opacity', 1).addEvents({
//		mouseenter: function(){
			// This morphes the opacity and backgroundColor
//			this.morph({
//				'opacity': 1,
//				'background-color': '#fff5fb'
//			});
//		},
//		mouseleave: function(){
			// Morphes back to the original style
//			this.morph({
//				'opacity': 1,
//				'backgroundColor': '#ffffff'
//			});
//		}
//	});
	

});