function header (bar) {
    document.write ("<TABLE width=100% border=2 bordercolor='#800000' cellpadding=4 cellspacing=4><TR><TD align=center>")
    document.write ("<table border=0 cellpadding=0 cellspacing=0><tr><td align=center>")
    document.write ("<img src='images/"+bar+".gif' width=460 height=90 border=0></a>")
    document.write ("</td></tr></table>")
    document.write ("</TD></TR><TR><TD><p>")
}


function photos (title,folder,code,nn) {
      var end = nn+1;
      var n = 1;
      document.write("<a name="+code+"></a>")
      document.write("<p><table width=100% border=1 cellpadding=1 cellspacing=1>")
      document.write("<tr bgcolor='#800000'><th colspan=5><font color='#ffffff'>"+title+"</font></th></tr>")
      while (n < end) {
               document.write ("<tr>")
               var lupe = 0;
               while (lupe < 4) {
                       if (n < end) {
                          document.write ("<td align=middle valign=bottom>")
                          document.write ("<img src='"+folder+"/"+code+"/p-"+n+"-th.jpg' border=1> "+n+"<br>")
                          document.write ("[ <a href='"+folder+"/"+code+"/p-"+n+"-sm.jpg'>cropped</a> ] &nbsp;")
                          document.write ("[ <a href='"+folder+"/"+code+"/p-"+n+".jpg'>original</a> ]")
                          document.write ("</td>")
                       } else {
                          document.write ("<td align=middle>&nbsp;</td>")
                       }
                       lupe++;
                       n++;
               }
               document.write("</tr>")
      }

      document.write("</table>")

}




function when () {
    when=document.lastModified
    document.write ("<p><a href='../weavers.htm'><img src='../images/weavers-small.gif' width=120 height=34 border=0></a>")
    document.write ("<br><font face='Verdana' size=1 color='#800000'>")
    document.write ("&copy; 2002 - Elisabeth Oltheten: "+when)
    document.write ("</p>")
    document.write ("</TD></TR></TABLE>")
}   
