var stretchers = $$('div.accordion');
stretchers.each(function(item){
	item.setStyles({'height': '0', 'overflow': 'hidden'});
});
	
window.onload = function(){ //safari cannot get style if window isnt fully loaded
		
		var togglers = $$('div.toggler');
				
		var myAccordion = new Fx.Accordion(togglers, stretchers, { opacity: true, start: 'close-first', fixedHeight: 230, alwaysHide: true, transition: Fx.Transitions.quadOut,
										   
			onActive: function(toggler){
				//toggler.setHTML('<a href=#>&rsaquo; Close Subscription</a>');
			},
		
			onBackground: function(toggler){
				//toggler.setHTML('<a href=#>&rsaquo; Newsletter Subscription</a>');
			}
		});
	};
	
	try {
		Window.disableImageCache();
	}catch(e){}
	
	
	