$(document).ready(function() {
	//SIMPLE ACCORDIAN STYLE MENU FUNCTION
	$('div.accordionButton').click(function() {

	    for (x = 1; x < 5; x++) {	
		    if(document.getElementById("tab" + x))
			    document.getElementById("tab" + x).style.backgroundPosition = 'top left no-repeat';
		}
		
		$('div.accordionContent').slideUp('normal');	
		$(this).next().slideDown('normal');
		this.style.backgroundPosition = 'bottom left no-repeat';
	});
	
	//CLOSES ALL DIVS ON PAGE LOAD
	$("div.accordionContent").hide();
});
