  function openImageWindow(image, imageWidth, imageHeight, imgDownl, downlText, title)
  {
    oImgWin = window.open('','ImageWindow','width='+imageWidth+', height='+imageHeight+', innerWidth='+imageWidth+', innerHeight='+imageHeight+',screenX=0, screenY=0, resizable=yes, scrollbars=yes, location=no, menubar=no, toolbar=no, status=no');

    oImgWin.document.writeln('<html><head>');
    oImgWin.document.writeln('<LINK REL="stylesheet" TYPE="text/css" HREF="/general/styles/jh.css">');
    oImgWin.document.writeln('</head>\n<body style="margin: 30px">\n<p class="imgWinPageTitle">' + title + '</p>\n<p><img src="' + image + '" alt="' + title+ '"></p>');
    if((imgDownl != '') || (downlText != ''))
      oImgWin.document.writeln('<p><a href="' + imgDownl + '" class="imgWinDownloadText">' + downlText + '</a></p>');
    oImgWin.document.writeln('<p align="center"><a href="javascript:self.close()" class="imgWinButtonLabel">Fenster schlie&#223;en</a></p>');
    oImgWin.document.writeln('</body>\n</html>');
    oImgWin.focus();
  }

  function openMailerWindow(mailerFile, mailerWidth, mailerHeight)
  {
    oMailWin = window.open(mailerFile,'MailerWindow','width='+mailerWidth+', height='+mailerHeight+', screenX=0, screenY=0, resizable=yes, scrollbars=yes, location=no, menubar=no, toolbar=no, status=no');
    oMailWin.focus();
  }

  function openWindow(file, width, height)
  {
    oMailWin = window.open(file,'popup','width='+width+', height='+height+', screenX=0, screenY=0, resizable=yes, scrollbars=yes, location=no, menubar=no, toolbar=no, status=no');
    oMailWin.focus();
  }

  function openFlashWindow(file, width, height)
  {
    LeftPosition = (screen.width) ? (screen.width-width)/2.5 : 0;
    TopPosition = (screen.height) ? (screen.height-height)/2 : 0;
      
    oFlashWin = window.open(file,'popup','width='+width+', height='+height+', top='+TopPosition+',left='+LeftPosition+', screenX=10, screenY=200, scrollbars=no, resizable=no, toolbar=no, menubar=no, statusbar=no');
    oFlashWin.focus();
  }
