function init_acc()
{
$$('.accordion_container').each(
	function (cntitem,cntindex)
	{
		cntitem.getElements('.accordion_head').each(
			function(item,index) { item.setStyle('cursor','pointer'); }
		);

		var accordion = new Accordion(cntitem.getElements('.accordion_head'), cntitem.getElements('.accordion_content'), {
			display: false, show: false,
			alwaysHide:true,
			opacity: false,
			onActive: function(toggler, element)
			{
				toggler.addClass('act');
			},
			onComplete: function()
			{
			},
			onBackground: function(toggler, element)
			{
				toggler.removeClass('act');
			}
		}, cntitem);
	}
);
}
window.addEvent('domready',function () {init_acc(); });