	

	//the main function, call to the effect object
	function init(){
		var toggles2 = document.getElementsByClassName('display2'); //h3s where I click on
		var stretchers2 = document.getElementsByClassName('stretcher2'); //div that stretches
		var stretchers = document.getElementsByClassName('stretcher'); //div that stretches
		var toggles = document.getElementsByClassName('display'); //h3s where I click on

		//accordion effect
		var myAccordion = new fx.Accordion(
			toggles, stretchers, {opacity: true, duration: 400}
		);
		
		var myAccordion2 = new fx.Accordion(
			toggles2, stretchers2, {opacity: true, duration: 400}
		);
		
		//hash function
		
		function checkHash(){
			var found = false;
			toggles.each(function(h3, i){
				if (window.location.href.indexOf(h3.title) > 0) {
					myAccordion.showThisHideOpen(stretchers[i]);
					found = true;
				}
			});
			return found;
		}
		
	
	}
	