// <![CDATA[
// mall för hur korten skall visas när man klickar på dom
function visaFoto(namn, src, imgw, kommentar, fotograf, w, h) {
  var OpenWindow = window.open("", namn, "height="+h+",width="+w);
  OpenWindow.document.write("<html>\n<head>\n");
  OpenWindow.document.write("  <title>Alfa skylt & gravyr</title>\n");
  OpenWindow.document.write("  <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>\n");
  OpenWindow.document.write("</head>\n\n");
  // css: top right bottom left 
  OpenWindow.document.write("<style type='text/css'>\n");
  OpenWindow.document.write("  body { margin: 25px 0px 25px 0px } \n  img { border: 2px solid #000000 } \n  p { font-family: tahoma; font-size: 11px } \n");
  OpenWindow.document.write("  a:link, a:visited {text-decoration: none;} \n  a:hover {text-decoration: underline;}\n ");
  OpenWindow.document.write("</style>\n\n");
  OpenWindow.document.write("<body bgcolor='#ffffff' text='#000000' link='#ff8000' vlink='#ff8000' alink='#ff8000'>\n");
  OpenWindow.document.write("<div align='center'><br />\n");
  OpenWindow.document.write("<a href='javascript:void(0)' onclick='window.close()'><img height='360' width='"+imgw+"' src='"+src+"' border='0' align='center'></a>\n");
  OpenWindow.document.write("</div>\n</body>\n</html>\n");
}
// ]]>

