
<!--
// www.web-toolbox.net , W. Jansen
// Übergabeparameter: bildquelle, -breite und -höhe
// hand over parameters for source, width and height

function BildFenster02(bildurl,titel) {
  var eigenschaften,sbreite,shoehe,fenster,titel;
  // wenn eine feste Position für die Anzeige gewünscht wird
  // dann für die Variable 'FestePosition' ein "ja" eintragen
  // und die X- / Y-Werte (linke obere Ecke) hier eintragen

    foto1= new Image();
    foto1.src=(bildurl);
    b=(foto1.width)+20;
    h=(foto1.height)+50;
    if(b==20 && h==50) {
      b=700+20;
      h=467+50;
    }

    x=50;
    y=50;

  eigenschaften="left="+x+",top="+y+",screenX="+x+",screenY="+y+",width="+b+",height="+h+",menubar=no,toolbar=no,statusbar=0";

  fenster=window.open("","",eigenschaften);
  fenster.focus();
  fenster.document.open();
  with (fenster) {
    document.write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html><head>");
    document.write('<link rel="stylesheet" href="../../css/popup.css" type="text/css" media="screen, projection" />');
    document.write('<script type="text/javascript">');
    // bei click  schliessen , on click close
    document.write("function click() { window.close(); } ");
    document.write("document.onmousedown=click ");
    // geändert 2004 für Mozilla
    document.write('</scr' + 'ipt>');
    document.write("<title>" + titel + "</title></head>");
    // bei Focusverlust schliessen, close if window looses focus
    // Zeile geändert Aug 2003 (Dreamweaver machte Probleme)
    document.write("<" + "body onblur='window.close();'>");
    //document.write("marginwidth='0px' marginheight='0' leftmargin='0px' topmargin='0px'>");
    document.write("<img src='"+ bildurl +"' alt='"+ titel +"' /><br />");
    document.write("<div class='bild_popup'><i>"+titel+"</i></div>");
    document.write("</body></html>");
    fenster.document.close();
  }
}
//-->

