// JavaScript Document

function wechsel()
{
document.getElementById("act").className="act2";
}
function wechsel2()
{
document.getElementById("act").className="act";
}

// gw, 2009-10-16
function toggle(obj) {
	var el = document.getElementById(obj);
	if(el) {
		el.style.display = (el.style.display != 'none' ? 'none' : '' );
	}
}

// gw, 2009-10-28
function shownjump(obj,anch) {
	//alert('shownjump( ' + obj + ', ' + anch + ' )');
	var el = document.getElementById(obj);
	if(el) {
		el.style.display = '';
		//alert('element ' + obj + ' shown!');
		window.location.hash = anch;
	}
}

function show_subtype(typeA) {
	var el = document.getElementById('type_contrib');
	if(typeA == 1) { // Foto/Text
		el.style.display = '';
	} else {
		el.style.display = 'none';
	}
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} }

