
//----------------------------------------------------------------------------
// (c) 2000 Media Solutions GmbH
//----------------------------------------------------------------------------
function openBericht3( URL, height, width  )
{
	//Zu ladende URL
	var winURL = URL;

	//Fenstername (fuer target=fenstername)
	var winName = "popupBericht3";

	// Optionen:
	var winHeight = height;			// Hoehe in Pixeln
	var winWidth = width;			// Breite in Pixeln
	var winLocationbar = "no";		// Locationbar Yes/No
	var winMenubar = "no";			// Menubar Yes/No
	var winToolbar = "no";			// Toolbar Yes/No
	var winButtons = "no";			// Buttonleiste Yes/No
	var winResizable = "no";		// Resizable Yes/No
	var winStatus = "no";			// Statusleiste Yes/No
	var winScreenX = 300;			// X-Pos
	var winScreenY = 300;			// Y-Pos
	var winDependent = "yes"; 		// Fenster ist Child-Of
	var winAlwaysRaised = "yes";	// Fenster immer im Vordergrund
	var winScrollBar = "no";		// Scrollbalken Yes/No
	winOptions = "width=" + winWidth +",height=" + winHeight + ",location=" + winLocationbar + ",directories=" + winButtons + ",menubar=" + winMenubar + ",toolbar=" + winToolbar + ",resizable=" + winResizable + ",status=" + winStatus + ",screenX=" + winScreenX + ",screenY=" +winScreenY + ",dependent=" + winDependent + ",alwaysRaised=" + winAlwaysRaised + ",scrollbars=" + winScrollBar;

	win = open(winURL,winName,winOptions);

	return win;
}

//----------------------------------------------------------------------------
//-- Copyright : (c) 2000 by Media Solutions GmbH 
//----------------------------------------------------------------------------

var openedWindow = 0;					// Boolean, ob Fenster evtl. schon offen

//----------------------------------------------------------------------------
//-- Copyright : (c) 2000 by Media Solutions GmbH 
//----------------------------------------------------------------------------
function load_child( URL, width, height )
{
	if( openedWindow.closed == false )
	{
		openedWindow.close();	
		openedWindow = openBericht3 ( URL, width, height );									
	}
	else 
		openedWindow = openBericht3( URL, width, height );	// Wenn Fenster geschlossen, neu laden.
}
