//
//  In my case I want to load them onload, this is how you do it!
// 
/*Event.observe(window, 'load', loadAccordions(pann), false);*/

//
//	Set up all accordions
//

function loadAccordions(pann, alt) {
	
	var bottomAccordion = new accordion('.menusx', {
	defaultSize : {
			height : alt
		}
	});
	if (pann == null)
		return true;
	
	// Open first one
	bottomAccordion.activate($$('.menusx .accordion_toggle')[pann]);
	
	
}