function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

var rootRef //root-bezogener Pfad wird aus HTML-Seite uebergeben
var relRef  //relativer Pfad wird von NPS per NPSOBJ ermittelt 
var url     //String-Summe für kompletten Pfad
relRef = "../";
function popup(rootRef) {
  url = relRef + rootRef;
  popupwindow = window.open(url, "popup_win", "width=400,height=400,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes");
  popupwindow.focus();
}

function fensterauf(url,name,sizex,sizey) { 
  newwin = window.open(url, name, "width=" + sizex + ",height=" + sizey + ",toolbar=no,location=no,directories=no,status=0,resizable=no,scrollbars=no,menubar=no");
  newwin.moveTo(((screen.width/2)-(sizex/2)),((screen.height/2)-(sizey/2)));
}
