<!--
//5.4.2001 FreemanTP
function photo_window(photo_name, photo_number, twidth, theight)
{
 
  twidth = twidth + 50;		// Set border thickness  
  theight = theight + 50;

  var phtwin;
  var hohe, breite;
  var windowname = photo_name + photo_number;

  phtwin = window.open("",windowname, "width=" + twidth + ",height=" + theight);

  hoehe = screen.height;
  hoehe = (hoehe - theight- 50) / 2;
  breite = screen.width;
  breite = (breite - twidth) /2;
  phtwin.window.moveTo(breite ,hoehe);
  phtwin.document.open("text/html");
  phtwin.document.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n");
  phtwin.document.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<title>Photo - ", photo_name, "</title>\n");
  phtwin.document.write("<link href=\"../pageLayout.css\" rel=\"stylesheet\" type=\"text/css\" />\n</head>\n");
  phtwin.document.write("<body>\n<p align=\"center\">\n<a href=\"javascript:window.close()\">\n<img src=\"../images/"+photo_name+"/full_viewed/", photo_name, photo_number, ".jpg\" border=\"0\"/><br/>\nclose</a>\n</p>");
  phtwin.document.write("</body>\n</html>");
  
  return;
  
}

// -->


