Accordion.implement({
	addSection: function(toggler, element, pos){
		toggler = $(toggler);
		element = $(element);
		var test = this.togglers.contains(toggler);
		var len = this.togglers.length;
		this.togglers.include(toggler);
		this.elements.include(element);
		if (len && (!test || pos)){
		pos = $pick(pos, len - 1);
		toggler.injectBefore(this.togglers[pos]);
		element.injectAfter(toggler);
		} else if (this.container && !test){
		toggler.inject(this.container);
		element.inject(this.container);
		}
		var idx = this.togglers.indexOf(toggler);
		toggler.addEvent('mouseover', this.display.bind(this, idx));
		if (this.options.height) element.setStyles({'padding-top': 0, 'border-top': 'none', 'padding-bottom': 0, 'border-bottom': 'none'});
		if (this.options.width) element.setStyles({'padding-left': 0, 'border-left': 'none', 'padding-right': 0, 'border-right': 'none'});
		element.fullOpacity = 1;
		if (this.options.fixedWidth) element.fullWidth = this.options.fixedWidth;
		if (this.options.fixedHeight) element.fullHeight = this.options.fixedHeight;
		element.setStyle('overflow', 'hidden');
		if (!test){
		for (var fx in this.effects) element.setStyle(fx, 0);
		}
		return this;
	}
});


window.addEvent('domready', function() {

				var accordion = new Accordion('h5.atStart', 'div.atStart', {
					opacity: true,
					onActive: function(toggler, element){
						toggler.setStyle('background-position', '0 -26px');
					},
					
				 
					onBackground: function(toggler, element){
						toggler.setStyle('background-position', '0 0');
					}
				}, $('accordion'));
				
				accordion.display(2);

			});
			
			
			