function Banner (Level) {
  document.writeln ('<div class="leftban"><em>Graphics<br>Now</em></div>');
  document.writeln ('<div class="rightban"><img width="120" ');
  if (Level == 0) {
    document.writeln ('src="images/stache.gif"');
  } else if (Level == 1) {
    document.writeln ('src="images/stache.gif"');
  } else if (Level == 2) {
    document.writeln ('src="../images/stache.gif"');
  } else if (Level == 3) {
    document.writeln ('src="../../images/stache.gif"');
  } else if (Level == 4) {
    document.writeln ('src="../../../images/stache.gif"');
  } else {
    document.writeln ('src="--/../../images/stache.gif"');
  }
  document.writeln ('height="50" alt="Site Logo"></div>');
}

function Trail (Level, A, B, C, D, E) {
  document.writeln ('<div class="navbar">');
  if (Level == 1) {
    if (A != 'index') {
      document.writeln ('<div class="relativeb">\n');
      document.writeln ('<a href="index.html">&lArr; Home</a>');
      document.writeln ('</div>');
      document.writeln ('<div class="hereb">\n');
      document.writeln (A);
      document.writeln ('</div>');
    } else {
      document.writeln ('<div class="hereb">\n');
      document.writeln ('Home');
      document.writeln ('</div>');
    }
  } else if (Level == 2) {
    document.writeln ('<div class="relativec">\n');
    document.writeln ('<a href="../index.html">&uArr; Home</a>');
    document.writeln ('</div>');
    if (B == 'index') {
      document.writeln ('<div class="herec">\n');
      document.writeln (A);
      document.writeln ('</div>');
    } else {
      document.writeln ('<div class="relativec">\n');
      document.writeln ('<a href="index.html">&lArr; ' + A + '</a>');
      document.writeln ('</div>');
      document.writeln ('<div class="herec">\n');
      document.writeln (B);
      document.writeln ('</div>');
    }
  } else if (Level == 3) {
    document.writeln ('<div class="relativec">\n');
    document.writeln ('<a href="../../index.html">&uArr; &uArr; Home</a>');
    document.writeln ('</div>');
    document.writeln ('<div class="relativec">\n');
    document.writeln ('<a href="../index.html">&uArr; ' + A + '</a>');
    document.writeln ('</div>');
    if (C == 'index') {
      document.writeln ('<div class="herec">\n');
      document.writeln (B);
      document.writeln ('</div>');
    } else {
      document.writeln ('<div class="relativec">\n');
      document.writeln ('<a href="index.html">&lArr; ' + B + '</a>');
      document.writeln ('</div>');
      document.writeln ('<div class="herec">\n');
      document.writeln (C);
      document.writeln ('</div>');
    }
  } else if (Level == 4) {
    document.writeln ('<div class="relativec">\n');
    document.writeln ('<a href="../../../index.html">&uArr; &uArr; &uArr; Home</a>');
    document.writeln ('</div>');
    document.writeln ('<div class="relativec">\n');
    document.writeln ('<a href="../../index.html">&uArr; &uArr; ' + A + '</a>');
    document.writeln ('</div>');
    document.writeln ('<div class="relativec">\n');
    document.writeln ('<a href="../index.html">&uArr; ' + B + '</a>');
    document.writeln ('</div>');
    if (D == 'index') {
      document.writeln ('<div class="herec">\n');
      document.writeln (C);
      document.writeln ('</div>');
    } else {
      document.writeln ('<div class="relativec">\n');
      document.writeln ('<a href="index.html">&lArr; ' + C + '</a>');
      document.writeln ('</div>');
      document.writeln ('<div class="herec">\n');
      document.writeln (D);
      document.writeln ('</div>');
    }
  }
  document.writeln ('</div>');
  
}

function Foot (Start, Verifier) {
  //Year = LastMod.substr (0, 4);
  Year = '2008';
  document.writeln ('<div class="foot">');
  if (Verifier) {
    document.writeln ('<div class="leftfoot">');
    document.writeln ('<a href="http://validator.w3.org/check?uri=referer">');
    document.writeln ('<img src=');
    document.writeln ('"http://www.w3.org/Icons/valid-html401"');
    document.write (' alt=');
    document.writeln ('"Valid HTML 4.01 Transitional" width="88" height="31"></a>');
    document.writeln ('</div>');
    document.writeln ('<div class="rightfoot">');
    document.writeln ('<a href="http://jigsaw.w3.org/css-validator/check/referer"');
    document.write ('><img src=');
    document.writeln ('"http://jigsaw.w3.org/css-validator/images/vcss"');
    document.write (' alt=');
    document.writeln ('"Valid CSS!" width="88" height="31"></a>');
    document.writeln ('</div>');
  }
  document.write ('<p>');
  document.write ('<img src=');
  document.write ('"/cgi-bin/counter.cgi?File=');
  document.write (document.URL);
  document.write ('" alt="Site Logo"');
  document.write (' width="16" height="16">');
  document.write (' copyright &copy; ');
  if (Year == Start) {
    document.write (Year);
  } else {
    document.write (Start + '-' + Year);
  }
  document.writeln (', J.H.Young, last modified ');
  
  
  ReportMod ();
  document.writeln ('</p></div>');
}

function xFoot (Start, Verifier) {
  //Year = LastMod.substr (0, 4);
  Year = '2008';
  document.writeln ('<div class="foot">');
  if (Verifier) {
    document.writeln ('<div class="leftfoot">');
    document.writeln ('<a href="http://validator.w3.org/check?uri=referer">');
    document.writeln ('<img src=');
    document.writeln ('"http://www.w3.org/Icons/valid-html401"');
    document.write (' alt=');
    document.writeln ('"Valid HTML 4.01 Transitional" width="88" height="31"></a>');
    document.writeln ('</div>');
    document.writeln ('<div class="rightfoot">');
    document.writeln ('<a href="http://jigsaw.w3.org/css-validator/check/referer"');
    document.write ('><img src=');
    document.writeln ('"http://jigsaw.w3.org/css-validator/images/vcss"');
    document.write (' alt=');
    document.writeln ('"Valid CSS!" width="88" height="31"></a>');
    document.writeln ('</div>');
  }
  document.write ('<p>');
  document.write ('<img src=');
  document.write ('"/cgi-bin/counter.cgi?File=');
  document.write (document.URL);
  document.write ('" alt="Site Logo"');
  document.write (' width="16" height="16">');
  document.write (' copyright &copy; ');
  if (Year == Start) {
    document.write (Year);
  } else {
    document.write (Start + '-' + Year);
  }
  document.writeln (', J.H.Young, last modified ');
  
  
  ReportMod ();
  document.writeln ('</p></div>');
}

function ReportMod () {
  URL = document.URL
  LastMod = document.lastModified;
  //document.writeln (LastMod);;
  document.writeln (LastMod.substr (0, 10));
 // /* + '/'
 //   + LastMod.substr (6, 2) + '/'
 //   + LastMod.substr (0, 4)); */
}

