//---------------------------------------------------------------------                                            -
//-                                                                   -
//- programmed by  : Ingo Hellwege                                    -                            -
//- last modified  : 21.09.10000                                      -
//---------------------------------------------------------------------



//---------------------------------------------------------------------
//- start                                                             -
//-                                                                   -
//-  - setting up vars and parameters for cross-browser stuff         -
//---------------------------------------------------------------------
var msie     = navigator.appName != "Netscape";
if ( msie )
{
 var XMore = 30;
 var YMore = 45;
}
else
{
 var XMore = 25;
 var YMore = 30;
}



//---------------------------------------------------------------------
//- function openwindow()                                             -
//-                                                                   -
//-  - open new window and load content                               -
//---------------------------------------------------------------------
function fenster_auf_zu(seite,XWert,YWert)
{
 var Pagename   = seite;
 var Breit      = XWert;
 var Hoch       = YWert;
 var PosX       = (screen.width-(Breit))/2;
 var PosY       = (screen.height-(Hoch))/2;
 var Extra      = ',screenX='+PosX+',screenY='+PosY+',top='+PosY+',left='+PosX+' ';
 var PicWindow  = window.open(Pagename,"Page","width="+Breit+",height="+Hoch+",status=no,scrollbars=yes,resizable=yes"+Extra);
 PicWindow.focus();
 PicWindow.resizeTo(XWert,YWert);
 PicWindow.moveTo(PosX,PosY);
 //PicWindow.location.href = Pagename;
}


