/*--------------------------------------------------------------------------*
 *-- GZipped/Cached by ScripZip (c)2006-2007( http://www.php-vision.de/ ) --*
 *--------------------------------------------------------------------------*
 *   Orginal Script Filesize: 1805    Bytes             
 *   GZipped Script Filesize: 659    Bytes             
 *   GZip Compression Level : 9 GZip Compression Rate : 36.51% of Org. File *
 *   Last Time File Changed : Fri, 10 Feb 2012 21:47:33 GMT                 *
 *   Last Browser Load File : Fri, 10 Feb 2012 22:36:38 GMT                 *
 *   Cached File Expires on : Fri, 17 Feb 2012 22:36:38 GMT                 *
 *--------------------------------------------------------------------------*
 *-- Download ScripZip and speed up your Page on http://www.php-vision.de/  *
 *--------------------------------------------------------------------------*/


function FotoWindow(bildurl,b,h) {
 var eigenschaft,sbreite,shoehe,fenster,b,h;

 var ns6 = (!document.all && document.getElementById);
 var ie4 = (document.all);
 var ns4 = (document.layers);

 if(ns6||ns4) {
 sbreite = innerWidth;
 shoehe = innerHeight;
 }
 else if(ie4) {
 sbreite = document.body.clientWidth;
 shoehe = document.body.clientHeight;
 }

 x = (sbreite-b)/2;
 y = 25;

 eigenschaften="left="+x+",top="+y+",screenX="+x+",screenY="+y+",width="+b+",height="+h+",menubar=no,toolbar=no";

 fenster=window.open("","",eigenschaften);
 fenster.focus();
 fenster.document.open();
 with (fenster) { 
  document.write("<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\">\n");
  document.write("<html>\n<head>\n");
  document.write("<script type='text/javascript' language='JavaScript'>\n");
    document.write("function click() { window.close(); } ");
  document.write("document.onmousedown=click ");
  document.write("</script>\n");
  document.write("<title>Coiffeur Barberia, CH 8003 Z&#252;rich</title>\n");
  document.write("<style type='text/css'><!--body { margin:0; } --></style>\n</head>\n");  
    document.write("<" + "body onblur='window.close()'; >\n ");
  document.write("<img src='"+ bildurl +"' border='0' />\n");
  document.write("</body>\n</html>");
  fenster.document.close();
 }
}

