
var fenster;

function fensterOeffnen(aktfenster, aktwidth, aktheight, x, y, options)
{
	//"innerWidth=400,innerHeight=267,screenX=150,screenY=80,dependent=yes"
	//aktwidth += 4;
	//aktheight += 4;
	windowOptions = "width=" +  aktwidth;     // String!!
 	windowOptions += ",height=" + aktheight;
	windowOptions += ",screenX="+x;   // String!!
	windowOptions += ",screenY="+y;
	windowOptions += ",dependent=yes";
	if (options)
		windowOptions += ","+options;

	if (fenster != null && fenster.closed == false)
	{
		fenster.close();
	}
	
	fenster = window.open(aktfenster,"",windowOptions );
	
	fenster.moveTo(x, y);
	fenster.focus();
	return fenster;
}

function Zeig()
	{
 	if(document.getElementById)
   	document.getElementById("beruehr").style.visibility = "hidden";
	}
function Versteck()
	{
 	if(document.getElementById)
   	document.getElementById("beruehr").style.visibility = "visible";
	}

function bildTausch(adresse,neuesBild)
{
if(document.images)
	{
	document[adresse].src=eval(neuesBild+".src")
	}
}