//the main function, call to the effect object
function slideMe(openID){

	//document.write(openID);


	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: 500}
	);

	//hash function
/*
	function checkHash(){
		var found = false;
		toggles.each(function(h3, i){
			//wenn in der url der titel (#SIE, #WIR etc...) vorkommt dann...
			if (window.location.href.indexOf(h3.title) > 0) {
					myAccordion.showThisHideOpen(stretchers[i]);
					myAccordion.startUp(stretchers[i], openID-2);
					found = true;
			}
		});
		return found;
	}*/
	//myAccordion.makeVisible(stretchers[openID-2]);
	//checkHash();
	//if (!checkHash())myAccordion.startUp(stretchers[openID-2]);
	myAccordion.startUp(stretchers[openID-2]);
	//if (!checkHash()) myAccordion.makeVisible(stretchers[0]);

}
