var ex;
function init(){
	var divs = document.getElementsByClassName("stretcher");
	var allStretch = new fx.MultiFadeSize(divs, {duration: 400});
		items = document.getElementsByClassName("display");
	for (i = 0; i < items.length; i++){
		var h3 = items[i];
		div = h3.nextSibling;
		h3.title = h3.className.replace("display ", "");
			if (window.location.href.indexOf(h3.title) < 0) {
			allStretch.hide(div, 'height');
			if (ex != true) ex = false;
		}
		else ex = true;
			h3.onclick = function(){
			allStretch.showThisHideOpen(this.nextSibling, 100, 'height');
		}
	}
	if (ex == false) $('item1').fs.toggle('height');
}
window.onload = function() {
	Element.cleanWhitespace('top20');
	init();
}