$(document).ready(function() {
	 
	//ACCORDION BUTTON ACTION (ON CLICK DO THE FOLLOWING)
	$('.accordionButton').click(function() {

		//Remove on all button
		$('.accordionButton').removeClass('on');
		  
		//No matter what close all slides
	 	$('.accordionContent').slideUp('normal');
   
		//If the next slide wasn't open, then open it
		if($(this).next().is(':hidden') == true) {
			
			//Add "on" by class "accordionButton" it will change into "accordionButton on" then.
			$(this).addClass('on');
			  
			//Open the slide
			$(this).next().slideDown('800');
		 } 
		  
	 });
	  
	
	/*** REMOVE IF MOUSEOVER IS NOT REQUIRED ***/
	
	// 
	$('.accordionButton').mouseover(function() {
		$(this).addClass('over');
		
	//ON MOUSEOUT REMOVE THE OVER CLASS
	}).mouseout(function() {
		$(this).removeClass('over');										
	});
	
	/*** END REMOVE IF MOUSEOVER IS NOT REQUIRED ***/
	
	//CLOSES ALL S ON PAGE LOAD

	$('.accordionContent').hide();

});
