<!--
var xeventthumb = "";

function preloadimage(bilder)
{
  bilder = bilder.split('&');
  var anzahl=bilder.length;
  if (document.preloadlist == null) {
    document.preloadlist = new Array();
  }
  var top = document.preloadlist.length;
  for (var i=0; i < anzahl; i++) {
    document.preloadlist[top+i] = new Image;
    document.preloadlist[top+i].src = bilder[i];
  }
}

function vergroessern(bild, bildh, eventthumb, bildtitel)
{
	xeventthumb = eventthumb;
	if (xeventthumb) xeventthumb.style.visibility = 'hidden';
	str = "<img src='pics/bigpics/b"+bild+"' title='"+bildtitel+" ' alt='"+bildtitel+" '><p>zum Schlie&szlig;en anklicken</p>";
	fensterh = window.innerHeight || document.documentElement.clientHeight || 0;
	hoehe = document.getElementById("content").offsetHeight;
	scrolltop = window.pageYOffset || document.documentElement.scrollTop || 0;
	scrolltop = (scrolltop + (fensterh - bildh) / 2) - 180;
//	if (scrolltop < 110) { scrolltop = scrolltop + 30; } else { scrolltop = scrolltop - 100; }
	if (document.getElementById) {
			document.getElementById("bildgross").innerHTML = str;
			document.getElementById("transp").style.height = hoehe-2;
			document.getElementById("transp").style.display = 'block';
			document.getElementById("bildgross").style.top = scrolltop+'px';
			document.getElementById("bildgross").style.display = 'block';
	} else {
		if (document.all) {
			document.all.bildgross.innerHTML = str;
    	document.all.transp.style.height = hoehe-2;
    	document.all.transp.style.display = 'block';
    	document.all.bildgross.style.top = scrolltop+'px';
    	document.all.bildgross.style.display = 'block';
		}
	}
}

function bildschliessen()
{
	if (xeventthumb) xeventthumb.style.visibility = 'visible';
	if (document.getElementById) {
			document.getElementById("transp").style.display = 'none';
			document.getElementById("bildgross").style.display = 'none';
	} else {
		if (document.all) {
    	document.all.transp.style.display = 'none';
    	document.all.bildgross.style.display = 'none';
		}
	}
}

function jschange()
{
	if (document.getElementById) {
			document.getElementById("jstest").style.display = 'block';
			document.getElementById("jsbeleg").style.display = 'block';
			document.getElementById("jstext").style.display = 'none';
			document.getElementById("clearer").style.display = 'block'; // nur für IE
	} else {
		if (document.all) {
    	document.all.jstest.style.display = 'block';
    	document.all.jsbeleg.style.display = 'block';
    	document.all.jstext.style.display = 'none';
    	document.all.clearer.style.display = 'block'; // nur für IE
		}
	}
}

function neu_laden()
{
	parent.belegplanname.location.reload(true);
}
-->

