//copyright   : xxxx
//autor       : xxxx
//description : html-seiten im extra popup-fenster öffnen 
//
        
  // posistionerung des popups
  //var xpos =  10;
  var ypos =  0;
  var new_Window = null;        
           

function mac_Fenster(WinWidth,WinHeight,Link,WindowName)
{
   var xpos = screen.width-WinWidth-15;

   //Ansicht-Fenster auf jeden Fall schliessen, wenn noch offen   
   mac_WindowClose();
  
   new_Window = window.open(Link,WindowName,'toolbar=0,width='+WinWidth+',height='+WinHeight+',location=0,directories=0,status=0,menubar=0,scrollbars=auto,resizable=0,copyhistory=0,left='+xpos+',top='+ypos);
   new_Window.focus();
}

//Ansicht-Fenster auf jeden Fall schliessen, wenn noch offen
function mac_WindowClose()
{
   if (new_Window != null)
     if (!new_Window.closed)
       new_Window.close();
}

function fenster ()
{
var win;
win = window.close('seite','Fenster1');
}