var mooAccordion;

window.onload = function()
{
	var mooTogs    = document.getElementsByClassName('stretchtoggle');
	var mooStretch = document.getElementsByClassName('stretcher');
	
	// toggle the togglers
	
	mooTogs.each(function(tog, i) {
		tog.onclick = function() {
			tog.className = (tog.className == 'stretch_active') ? 'stretchtoggle' : 'stretch_active';
		};
	});

	
	mooAccordion = new Fx.Accordion(mooTogs, mooStretch, {start: 'first-open', itemOpen:defaultOpenTab, alwaysHide:true, opacity:false, width:false, height:true});


}

document.writeln("<style>.stretcher {");
document.writeln("height:0;overflow:hidden;");
document.writeln("}</style>");


