function GrafikAnzeigen(GrafikURL,Breite,Hoehe)
{
  bild=new Image();
  bild.src=GrafikURL;

  xsize = screen.width;
  ysize = screen.height;
  xpos=Math.round((xsize-Breite)/2);
  ypos=Math.round((ysize-Hoehe)/2);

  if (Breite > screen.width)
    {
    Breite = screen.width;
    xpos=0;
    }

  if (Hoehe > screen.height)
    {
    Hoehe = screen.height;
    ypos=0;
    }
  
  Fensteroptionen = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1";
  Grafikfenster = window.open("", "", Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe + ',screenX=' + xpos + ',screenY=' + ypos  + ',left=' + xpos + ',top=' + ypos);
  Grafikfenster.focus();
  Grafikfenster.document.open();
  
  with(Grafikfenster)
    {
    document.write("<html><head>");
    document.write("<title>34u Screenshots</title>");
    document.write("</head>");
    document.write("<body leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\">");
    document.write("<img border=\"0\" onclick=\"window.close();\" src=\""+ GrafikURL +"\" title=\"Zum Schließen auf das Bild klicken\">");
    document.write("</body></html>");
    }
  Grafikfenster.document.close();
  return;
}


