window.addEvent('domready', function(){
	var stretchers = $$('div.accordion');var togglers = $$('h3.toggler');stretchers.setStyles({'height': '0', 'overflow': 'hidden'});				//initialization of togglers effects			togglers.each(function(toggler, i){		toggler.color = toggler.getStyle('background-color');		toggler.$tmp.first = toggler.getFirst();		toggler.$tmp.fx = new Fx.Style(toggler, 'background-color', {'wait': false, 'transition': Fx.Transitions.Quart.easeOut});	});			//the accordion			var myAccordion = new Accordion(togglers, stretchers, {

		'duration': 600, 
					'opacity': false,				'start': false,

		// 'transition': Fx.Transitions.cubicOut,			

		'transition': Fx.Transitions.Quad.easeOut,

		// 'alwaysHide': true,
					onActive: function(toggler){			toggler.$tmp.fx.start('#F5F5F5');			toggler.$tmp.first.setStyle('color', '#666');
			// toggler.$tmp.first.setStyle('background-image', 'url(files/acc_bg_activ.gif)');
			toggler.$tmp.first.setStyle('border-bottom', '1px solid #cccccc');
			// toggler.$tmp.first.setStyle('height', '33px');
		},				onBackground: function(toggler){			toggler.$tmp.fx.stop();			toggler.setStyle('background-color', toggler.color).$tmp.first.setStyle('color', '#0099cc');			// toggler.$tmp.first.setStyle('background-image', 'url(files/acc_bg_normal.gif)');			toggler.$tmp.first.setStyle('border-bottom', '1px solid #ffffff');
			// toggler.$tmp.first.setStyle('height', '35px');
		}	});			//open the accordion section relative to the url			var found = 0;	$$('h3.toggler a').each(function(link, i){		if (window.location.hash.test(link.hash)) found = i;	});	myAccordion.display(found);
				});
var images_url_nav = "files/navi"; var images_url_sonst = "files";function show(id) {    if (document.getElementById(id).style.visibility == "hidden") {        document.getElementById(id).style.visibility = "visible";    } }
function hide(id) {    if (document.getElementById(id).style.visibility == "visible") {        document.getElementById(id).style.visibility = "hidden";    } else {        document.getElementById(id).style.visibility = "visible";    }}function show_navi(id){    var elm = document.getElementById(id);    if (elm) elm.style.display = 'block';}
function hide_navi(id){    var elm = document.getElementById(id);    if (elm) elm.style.display = 'none';}function show_other(id) {	document.getElementById(id).style.display = "block";}
function hide_ohter(id) {	document.getElementById(id).style.display = "none";}

function highlight(element, value){	element.src = images_url_nav + "/" + element.id+ (value ? "_2" : "") + ".gif";}
function sonst_highlight(element, value){		element.src = images_url_sonst + "/" + element.id+ (value ? "_2" : "") + ".jpg";}