//
//	Set up all accordions
//
var verticalAccordions = null;
var bottomAccordion = null;

function loadAccordions() {
  ScrollLoad ('scrollholder', 'scroll', false);
	ScrollLoad ('scrollholder2', 'scroll2', false);
	ScrollLoad ('scrollholder3', 'scroll3', false);
	ScrollLoad ('scrollholder4', 'scroll4', false);
	//
	// You can hide the accordions on page load like this, it maintains accessibility
	//
	// Special thanks go out to Will Shaver @ http://primedigit.com/
	//
  verticalAccordions = $$('.accordion_toggle');
	verticalAccordions.each(function(accordion) {
		$(accordion.next(0)).setStyle({
			display: 'block'
		});
	});
		
	bottomAccordion = new accordion('searchPod', {
		defaultSize : {
			height: 143
		},
		scaleContent: false,
		direction: "vertical"
	});
}
	
//
//	In my case I want to load them onload, this is how you do it!
// 
document.observe('dom:loaded', loadAccordions, true);