
window.addEvent('domready', function() {
    var d = 0;
    if (typeof(rightSectionIndex) != 'undefined')
    	d = rightSectionIndex;
	var accordion = new Accordion('h5.atStart', 'div.atStart', {
		opacity:false,
		show:d,
		onActive: function(togg, el) {
			el.addClass('active');
		},
		onBackground: function(togg, el) {
			el.removeClass('active');
		}
	}, $('accordion'));

});

