window.addEvent('domready', function(){
	
	var accordion = new Accordion('div.x', 'div.divc', {
		opacity: true,
		duration:1000,
		transition: Fx.Transitions.Pow.easeOut,
		onActive: function(toggler, element){
			toggler.setStyle('color', '#c84d1a');
		},

		onBackground: function(toggler, element){
			toggler.setStyle('color', '#54301A');
		}
		}, $('contact_container'));

		$$('div.x').each(function(el) {
			el.addEvents({
				'mouseenter': function(){ this.setStyles({'text-decoration': 'underline' });
				 						  this.setStyles({'cursor': 'pointer' });},
				'mouseleave': function(){ this.setStyles({'text-decoration': 'none'}); }
			});
		});
}); 
