Credit   = ""
PrevGall = ""
PrevPart = ""
NextPart = ""
NextGall = ""

lastmod  = document.lastModified;
annee    = lastmod.substr(6,4);
mois     = lastmod.substr(0,2);
jour     = lastmod.substr(3,2);
lastr    = jour + '/' + mois + '/' + annee;

H ="H" ; V = "V" ; P = "P"

// 15 ********** HEAD **********
function Head() {
  document.write("<head><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><title>"+Titre+"</title>")
  document.write("<link rel='SHORTCUT ICON' href='../style/jamaiscciii.ico'>")
  document.write("<link rel='stylesheet' type='text/css' href='../style/style.css'></head>")
}

// 22 ********** ALBUM TOP **********
function AlbumTop() {
  document.write("<h1 style='color: #CC0000; font-size: 20px'><b>"+Titre+"</b></h1><table width='100%' border=0 cellpadding=0 ")
  document.write("cellspacing=0><tr><td align='center' width=222><br><br><br><table align='center' background='"+Root)
  document.write("style/light.gif'><tr><td align='center'><b>Autres albums</b></td></tr>")
  if (ThisGall!=="09-1") document.write("<tr><td align='center'><a href='09-1.html'>For&ecirc;t d'Orient 2009</a></td></tr>")
  if (ThisGall!=="08-6") document.write("<tr><td align='center'><a href='08-6.html'>Micr'Eau d'Heure 2008</a></td></tr>")
  if((ThisGall!=="08-4")&(ThisGall!=="08-5"))
                         document.write("<tr><td align='center'><a href='08-4.html'>Champ. du Monde 2008</a></td></tr>")
  if (ThisGall!=="08-3") document.write("<tr><td align='center'><a href='08-3.html'>Coupe de Belgique 2008</a></td></tr>")
  if (ThisGall!=="08-2") document.write("<tr><td align='center'><a href='08-2.html'>Wappen von Amecke 2008</a></td></tr>")
  if (ThisGall!=="08-1") document.write("<tr><td align='center'><a href='08-1.html'>For&ecirc;t d'Orient 2008 (Shaman)</a></td></tr>")
  if (ThisGall!=="07-2") document.write("<tr><td align='center'><a href='07-2.html'>Plate Taille 2007 (Jamais CCIII)</a></td></tr>")
  if (ThisGall!=="07-1") document.write("<tr><td align='center'><a href='07-1.html'>Moscou 2007 (Verba)</a></td></tr>")
  if (ThisGall!=="06-1") document.write("<tr><td align='center'><a href='06-1.html'>Saison 2006 (Max)</a></td></tr>")
  document.write("</table></td><td width=584>")
  document.write("<table border=0 align='center' cellpadding=5 cellspacing=0 width=584 background='../style/light2.gif'>")
}

// 34 ********** DISPLAY IMAGE **********
function DisplayImage(IMG,ORI) {
  document.write("<td style='text-align: Center; vertical-align: Middle'")
  if(ORI=="P") document.write("colspan=3 width=276") ; else document.write("width=138")
  IMG="A"+(100000+Group+IMG);IMG=IMG.substr(2,5)
  document.write(" height=138><a href='html/"+IMG+".html'><img src='"+Location+"thumbs/"+IMG+".jpg' border=1 ");
  if (ORI=="H") document.write("width =128")
  if (ORI=="V") document.write("height=128")
  if (ORI=="P") document.write("width =266")
  document.write("></a></td>")
}

// 46 ********** DISPLAY IMAGE **********
function DisplayLine(IMG1,ORI1,IMG2,ORI2,IMG3,ORI3,IMG4,ORI4) {
  document.write("<tr>")
  document.write("<td colspan=4>")
  document.write("<table align='center' cellpadding=0 cellspacing=0>")
  Pan=0; 
  if(ORI1=="P")Pan=1;
  if(ORI2=="P")Pan=Pan+1;
  if(ORI3=="P")Pan=Pan+1;
  if(ORI4=="P")Pan=Pan+1

  document.write("<tr>");DisplayImage(IMG1,ORI1);
  if(IMG2>0) { document.write("<td><img src='../style/spacer.gif' width=10 height=128></td>") ; DisplayImage(IMG2,ORI2) ; }
  if(IMG3>0) { document.write("<td><img src='../style/spacer.gif' width=10 height=128></td>") ; if(Pan<2)DisplayImage(IMG3,ORI3) }
  if(IMG4>0) { document.write("<td><img src='../style/spacer.gif' width=10 height=128></td>") ; if(Pan<1)DisplayImage(IMG4,ORI4) }
  document.write("</tr></table></td></tr>")
}

// 64 ********** DISPLAY IMAGE **********
function AlbumBottom() {
  document.write("</table>")
  document.write("<table width=584 background='"+Root+"style/light.gif' align='center'>")
  document.write("<tr>")
  document.write("<td align='center' valign='top' style='color: #DD0000; font-size: 9px'><b> &copy; ")
  if (Annee>AnneeCreation)document.write(AnneeCreation+"-");document.write(Annee+" Philippe De Troy")
  if (Credit.length>0) document.write(", <a href='http://www.microclass.org' target='_blank'>IMCCA</a> (Micro Class)<br>&amp; "+Credit)
  else document.write(" &amp; <a href='http://www.microclass.org' target='_blank'>IMCCA</a> (Micro Class)")
  document.write("</b></td><td><table border=0>")

  if (PrevGall.length>0) {
    document.write("<tr><td align='left' style='font-size: 11px'><b>")
    document.write("<a href='"+PrevGall+".html'><b>&lt;&lt;&lt; album précédent</b></a></td></tr>")
  }
  if (PrevPart.length>0) {
    document.write("<tr><td align='left' style='font-size: 11px'><b>")
    document.write("<a href='"+PrevPart+".html'><b>&lt;&lt;&lt; section précédente</b></a></td></tr>")
  }
  if (NextPart.length>0) {
    document.write("<tr><td align='left' style='font-size: 11px'><b>")
    document.write("<a href='"+NextPart+".html'><b>section suivante &gt;&gt;&gt;</b></a></td></tr>")
  }
  if (NextGall.length>0) {
    document.write("<tr><td align='left' style='font-size: 11px'>")
    document.write("<a href='"+NextGall+".html'><b>album suivant &gt;&gt;&gt;</b></a></td></tr>")
  }
  document.write("</table></td></tr></table></td><td width=222>&nbsp;</td></tr></table>")
}

