function popUpStation(pDestination,pWinname)
{
    var vWidth=400;
    var vHeight=300;
    var vLeft=300;
    var vTop=125;

    if (screen)
    {
        vHeigth = screen.width / 2;
  
        if (vHeight > 500)
            vHeigth = 500;

        if ((vLeft + vWidth + 10) > screen.width)
            vLeft = screen.width - vWidth - 10;
  
        if ((vTop + vHeight + 50) > screen.height)
            vTop = screen.height - vHeight - 50;
  
        nWindow = window.open(pDestination, pWinname, 'width='+vWidth+', height='+vHeight+',resizable=yes,scrollbars=YES,toolbar=no,Left='+vLeft+',Top='+vTop+',status=no,directories=no,menubar=no,location=tabelle');
        nWindow.self.focus();
    }
}

