// accordion script

// first instance for orange box accordion
window.addEvent('domready', function(){

			var accordion2 = new Accordion('h4.atStart2', 'div.atStart2', {
				opacity: false,
				start:'all-close',
				alwaysHide: true,
			 onActive: function(toggler, element){
            toggler.addClass('open');
      toggler.removeClass('closed'); 
      //toggler.setStyle('background', 'url(/images08/shared/open_instruction.gif) top right no-repeat');
    },
 
    onBackground: function(toggler, element){
      toggler.addClass('closed');
      toggler.removeClass('open'); 
	    }

				}, $('content'));
				var accordion3 = new Accordion('h4.atStart4', 'div.atStart4', {
				opacity: false,
				start:'all-close',
				alwaysHide: true,
			 onActive: function(toggler, element){
            toggler.addClass('open');
      toggler.removeClass('closed'); 
      //toggler.setStyle('background', 'url(/images08/shared/open_instruction.gif) top right no-repeat');
    },
 
    onBackground: function(toggler, element){
      toggler.addClass('closed');
      toggler.removeClass('open'); 
    }

				}, $('content'));

	if(!window.ie6){

	var accordion = new Accordion('h4.atStart', 'div.atStart', {
		opacity: false,
		alwaysHide: true,
		onActive: function(toggler, element){
					element.addClass('open');
			  element.removeClass('closedinitial'); 
		},
		onBackground: function(toggler, element){
		element.addClass('closed');
		element.removeClass('open'); 
		}  
		}, $('content'));
	
	}
	
		var accordion = new Accordion('h4.atStart3', 'div.atStart3', {
				opacity: false,
					alwaysHide: true						
				}, $('content'));
	
	
	
	var accordion = new Accordion('h4.atStart5', 'div.atStart5', {
				opacity: false,
				start:'all-close',
					alwaysHide: true						
				}, $('content'));
	
	}); 