
var thumb_lct=0, thumb_num=4

function thumb(pict,blurb){
  if(pict=='end'){
    document.writeln("</tr></table>") 
  } else {
    var cfl="'CLICK for a LARGER IMAGE'", emp="''", wth=(95-(95%thumb_num))/thumb_num
    if(thumb_lct == 0){document.writeln("<table width=100%><tr>")}
    if(thumb_lct == thumb_num){thumb_lct=0; document.writeln("</tr></table><table width=100%><tr>")}
    thumb_lct++
    document.writeln("  <TD width=",wth,"% align=center valign=top><A HREF=javascript:wo('",pict,"')")
    document.writeln('      onmouseover="status=',cfl,'; return true"') 
    document.writeln('      onMouseOut="status=',emp,'; return true">')
    document.writeln("    <IMG SRC=",pict,"t.jpg alt=",cfl," BORDER=0></A><BR>")
    document.writeln("    ",blurb,"</TD>")

    return true
  }
}

function thumbRow(wdth,p1,t1,p2,t2,p3,t3,p4,t4,p5,t5){
      var wth="100", perc="25"
      if (wdth != "") {wth=wdth}
      if (p5 != null) {perc="20"}
      document.writeln("<TABLE width=",wth,"% CELLSPACING=5 BORDER=0 CELLPADDING=0>")
      document.writeln(" <TR>")
      thumbPic(p1,t1,perc)
      if (p2 != null) {thumbPic(p2,t2,perc)}
      if (p3 != null) {thumbPic(p3,t3,perc)}
      if (p4 != null) {thumbPic(p4,t4,perc)}
      if (p5 != null) {thumbPic(p5,t5,perc)}
      document.writeln(" </TR>")
      document.writeln("</TABLE>")
     }

function thumbPic(pict,blurb,perc){
      var cfl="'CLICK for a LARGER IMAGE'", emp="''", wdth="25"
      if (perc != null) {wdth=perc}
      document.writeln("  <TD width=",wdth,"% align=center valign=top><A HREF=javascript:wo('",pict,"')")
      document.writeln('      onmouseover="status=',cfl,'; return true"') 
      document.writeln('      onMouseOut="status=',emp,'; return true">')
      document.writeln("    <IMG SRC=",pict,"t.jpg alt=",cfl," BORDER=0></A><BR>")
      document.writeln("    ",blurb,"</TD>")
      return true
     }
   function wo(picy){
      window.open(picy+'.jpg','','resizable=yes,scrollbars=yes,status=yes')
     }

  function hpHead(path,blurb){
     document.writeln("<table WIDTH='100%' cellpadding=0 cellspacing=0 border=0 ><tr>")
     document.writeln("<td width='20%' align=left><IMG SRC=",path,"common/ausflag_anim.gif width=107 height=80 alt='The Australian Flag'></td>")
     document.writeln("<td align=center><FONT FACE='Arial' SIZE='6' color='#0000FF'><B>",blurb,"</B></td>")
     document.writeln("<td width='20%' align=right><IMG SRC=",path,"common/earthmelbani.gif width=64 height=64 alt='Melbourne Australia'></td></tr></table>")
     return true
     }

  function hEmail(name,path,size,font){
     var nom="steve", pth="", fnt="Arial", siz=3
     if (name != null) {
        if (name == "m") {nom="maria"}
        if (name == "d") {nom="dave"}
        if (name == "k") {nom="kath"}
        }
     if (path != null) {pth=path}
     if (size != null) {siz=size}
     if (font != null) {fnt=font}
     document.writeln("<font FACE='",fnt,"' size=",siz,">")
     document.writeln("<A HREF='&#109;&#97;&#105;&#108;&#116;&#111;&#58;:",nom,"&#64;&#104;&#97;&#114;&#100;&#105;&#110;&#103;&#46;&#104;&#109;'><IMG SRC='",pth,"common/email.gif' width=45 height=52 BORDER=0 align=center></A><BR>")
     document.writeln("Contact me by email at <A href='&#109;&#97;&#105;&#108;&#116;&#111;&#58;",nom,"&#64;&#104;&#97;&#114;&#100;&#105;&#110;&#103;&#46;&#104;&#109;'>",nom,"&#64;&#104;&#97;&#114;&#100;&#105;&#110;&#103;&#46;&#104;&#109;</A>")
     }
