neues_Fenster = null;
function errorTrap() {return true;}
window.onerror = errorTrap;

function Zeigen(Breite0,Hoehe0,Url0,Scroll0)
{
   Breite = Breite0;
   Hoehe = Hoehe0;
   Url = Url0;
   Scroll = Scroll0;
   zu();
   setTimeout("sichtbar()",1000);
}

function sichtbar()
{  
   Fenster_Hoehe = Hoehe + 30;
   Fenster_Breite = Breite + 40;
   Optionen = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+Scroll+',resizable=0,height='+Fenster_Hoehe+',width='+Fenster_Breite;
   neues_Fenster = window.open(Url, 'OFS', Optionen);
}

function zu()
{
   if (neues_Fenster != null)
     if (!neues_Fenster.closed)
        if (neues_Fenster.close)
           neues_Fenster.close(); 
}
