//<![CDATA[
    var bigpicWin = null;

    function resize(){
     if(!document.all && document.getElementById('roottable')){
      var strHeight = new String(parseInt(window.innerHeight-17)+'px');
      document.getElementById('roottable').style.height = strHeight;
     }
    }
    if(!document.all){
     window.onresize = function() { resize(); }
    }

    function showbigimage(url, picwidth, picheight, bildunterschrift)
    {
      if (!bigpicWin || bigpicWin.closed)
      {
        // Zur Positionierung des Fensters wird die Bildschirmauflösung ermittelt
        // und damit die XY-Position der linken oberen Ecke berechnet

        usrwidth = screen.width;
        usrheight = screen.height;

        winwidth = picwidth;
        winheight = picheight;

        var X = (usrwidth - winwidth) / 2;
        var Y = (usrheight - winheight) / 2;

        properties = "toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width="+winwidth+",height="+winheight+",";

        checkie = navigator.appName.indexOf("icrosoft");
        if (checkie == -1)
        {
          properties = properties+"screenX="+X+",screenY="+Y;
        }
        else
        {
          properties = properties+"left="+X+",top="+Y;
        }

        bigpicWin = window.open('','bigpicWin',properties);

        bigpicWin.document.open();
        bigpicWin.document.write('<HTML><HEAD>');
        bigpicWin.document.write('<TITLE>'+bildunterschrift+'</TITLE>');
        bigpicWin.document.write('</HEAD>');
        bigpicWin.document.write('<BODY MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0">');
        bigpicWin.document.write('<IMG SRC="'+url+'" HSPACE="0" VSPACE="0" BORDER="0">');
        bigpicWin.document.write('</BODY>');
        bigpicWin.document.write('</HTML>');
        bigpicWin.document.close()

        bigpicWin.focus();
      }
      else
      {
        bigpicWin.focus();
      }
    }
//]]>
