window.onload = function() {
	var main = $$('.toggler');
	var sub = $$('.element');
	var menuAccordion = new Accordion(main, sub, {alwaysHide: true, duration: 250});
	new SmoothScroll();

	var tg = document.getElementById('toggler2008');
	var em = document.getElementById('element2008');
	tg.onmouseup = function() {
		emFlag = em.getAttribute('flag').indexOf('visible');
		if (emFlag != -1){
			//alert("visible");
			tg.style.backgroundImage = 'url(img/mark_plus.gif)';
			em.setAttribute('flag', 'hidden'); 
		}else {
			//alert("hidden");
			tg.style.backgroundImage = 'url(img/mark_minous.gif)';
			em.setAttribute('flag', 'visible');
		}
	}
}

