window.onload = function()
{
	var stretchers = document.getElementsByClassName('other_items_box');
	var toggles = document.getElementsByClassName('togglers');
	
	var myAccordion = new fx.Accordion( 
		toggles, stretchers, {
			opacity: true,
			duration: 400,
			onBackground: function(o) {
				//window.alert('bg ' + o.parentNode);
				o.parentNode.className = 'headlineContainer closed';
				o.parentNode.setAttribute('class', 'headlineContainer closed');
			},
			onActive: function(o) {
				//window.alert('active ' + o.parentNode);
				o.parentNode.className = 'headlineContainer open';
				o.parentNode.setAttribute('class', 'headlineContainer open');

			}
		
		
		}
	);

	//myAccordion.showThisHideOpen(stretchers[0]);
}

