
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 += "grossVersion"+options;
	if (fenster != null && fenster.closed == false)

	{
		fenster.close();
	}
	
	fenster = window.open(aktfenster,"grossVersion",windowOptions );
	
	fenster.moveTo(x, y);
	fenster.focus();
	return fenster;
}

