//
//  In my case I want to load them onload, this is how you do it!
// 
Event.observe(window, 'load', loadAccordions, false);

//
//	Set up all accordions
//
function loadAccordions() {
	// find all the accordions
	var accordions = $$('div.vertical_accordion_container');
	
	// now create an accordion object for each accordion container DIV found
	accordions.each(function(anAccordion) {
		var anotherAccordion = new accordion(Element.identify(anAccordion));
	});
}