var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'dependent=yes,toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

function toggleshow( oid ) {
	document.getElementById( oid ).style.visibility = 'visible';
}

function togglehide( oid ) {
	document.getElementById( oid ).style.visibility = 'hidden';
}

function Fensterweite()
{
	if (window.innerWidth) return window.innerWidth;
	else if (document.body && document.body.offsetWidth) return document.body.offsetWidth;
	else return 0;
}

function Fensterhoehe()
{
	if (window.innerHeight) return window.innerHeight;
	else if (document.body && document.body.offsetHeight) return document.body.offsetHeight;
	else return 0;
}


function neuAufbau()
{
	if (Weite != Fensterweite() || Hoehe != Fensterhoehe())
	window.history.go(0);
}

/*Überwachung von Netscape initialisieren*/
if(!window.Weite && window.innerWidth)
{
	window.onresize = neuAufbau;
	Weite = Fensterweite();
	Hoehe = Fensterhoehe();
}