// html5 'fix' for IE8

document.createElement('header');  
document.createElement('hgroup');  
document.createElement('nav');  
document.createElement('menu');  
document.createElement('section');  
document.createElement('article');  
document.createElement('aside');  
document.createElement('footer');

// ========================================================================================================================

function borders(path) 
{ document.write( " <div id='container'>");
  document.write( "  <div id='header'>");
  document.write( "  <center>");
  document.write( "  <table width='800' border='0'>");
  document.write( "   <tr><td>");
  document.write( "     <img src='"+path+"images/maintitle.gif' width='353' height='19'");
  document.write( "   </td>");
  document.write( "   <td><h3>");
  document.write( "   <ul>");
  document.write( "    <li><a href='"+path+"c-home.html'>Home</a></li>");
  document.write( "    <li><a href='"+path+"c-faqs.html'>FAQs</a></li>");
  document.write( "    <li><a href='"+path+"c-library.html'>Library</a></li>");
  document.write( "    <li><a href='"+path+"c-dvd.html'>DVD</a></li>");
  document.write( "   </ul>");
  document.write( "  </h3></td>");
  document.write( "  </tr></table>");
  document.write( "  </div>");
  document.write( "  </center>");
  document.write( "  <br clear='all'/>");
}

// ========================================================================================================================

function closesite(path) 
{ 
  var now = new Date();
  var year = now.getYear(); 
  document.write( "<div id='footer' width='100%' style='float: bottom'>");
  document.write( "<p align='left'>");
  document.write( "<span>");
  document.write( "<a href='"+path+"c-copyright.html'>");
  document.write("(c) 2001-");
  document.write("2011");
  document.write(" Acorn Electron World</a></span>");
  document.write("<a href='"+path+"c-home.html'>Home</a>");
  document.write(" | <a href='"+path+"c-faqs.html'>FAQs</a>");
  document.write(" | <a href='"+path+"c-library.html'>Library</a>");
  document.write(" | <a href='"+path+"c-dvd.html'>DVD</a>");
  document.write( "</div>");
  document.write( "</div>");
}


// ========================================================================================================================

function header (  cat,
                   title,
                   fulltitle,
                   fullsofthouse,
                   info,
                   mainlypublishes,
                   titlesreleased,
                   titlesavailable,
                   status) {

  document.write( " <div id='prof'>");
  document.write( " <table width='100%' style='font-family: Arial; font-size: 8pt; color: #FFFFFF;");
  document.write( " border: thin solid; border-color: white; border-width: 2px; background-color: #000000'>");
  document.write( " <tr valign='top'><td>");
  document.write( " <div style='width:162px; height:160px; float:left; margin: 0;");
  document.write( "             background-image: url(../../logos/"+cat+".jpg); ");
  document.write( "             background-repeat: no-repeat; ");
  document.write( "             background-position: center; ");
  document.write( "             padding:0px 0px 0px 0px'>");
  document.write( " </div>");
  document.write( " </td>");
  document.write( " <td>");
  document.write( " <p style='float: left'><center>");
  document.write( " <h6>"+fullsofthouse+"</h6>");
  document.write( " <h6 style='font-size: 100%'>"+info+"</h6>");
  document.write( " <table width='100%' border='0' style='display: inline'>");
  document.write( "  <tr>");
  document.write( "   <td>Mainly publishes:</td> ");
  document.write( "   <td align='right'>"+mainlypublishes+"</td>");
  document.write( "  </tr><tr valign='top'>");
  document.write( "   <td>Best Known Game:</td> ");
  document.write( "   <td align='right'><b>"+fulltitle+"</b></td>");
  document.write( "  </tr><tr valign='top'>");
  document.write( "   <td>Number of titles released by this publisher:</td> ");
  document.write( "   <td align='right'>"+titlesreleased+"</td>");
  document.write( "  </tr><tr valign='top'>");
  document.write( "   <td>Number of titles currently available:</td> ");
  document.write( "   <td align='right'>"+titlesavailable+"</td>");
  document.write( "  </tr><tr valign='top'>");
  document.write( "   <td>Archive Status:</td> ");
  document.write( "   <td align='right'>"+status+"</td>");
  document.write( "  </tr>");
  document.write( " </table>");
  document.write( " </center></p>");
  document.write( " </td>");
  document.write( " <td>");
  document.write( " <div style='width:162px; height:160px; float:right; margin: 3px 3px 3px 3px;");
  document.write( "             background-image: url(../../loads/"+cat+"/n-"+title+".gif); ");
  document.write( "             background-repeat: no-repeat; ");
  document.write( "             background-position: center; ");
  document.write( "             padding:0px 0px 0px 0px'>");
  document.write( " </div>");
  document.write( " </td>");
  document.write( "</tr>");
  document.write( "</table>");
  document.write( "</div>");
  }

// ========================================================================================================================

function pdstyle1( folder, 
                   abbName,
                   fullName,
                   demoType,
                   demoMan,
                   compRises,
                   demoInfo,
                   otherInfo,
                   discVersions) {

  var noIns = fullName.indexOf( "#");
  if (noIns != -1) {
    nameLength = (fullName.length - 1);
    fullName = fullName.substring( 0,nameLength);
    }

  var discArray = discVersions.split( "|");
  var infoArray = otherInfo.split( "|");

  document.write( "<br clear='right'/>&nbsp;");
  document.write( "<center><a name='"+abbName+"'>");
  document.write( "<div id='prof'>");
  document.write( "<table border='0' width='100%'>");
  document.write( " <tr valign='top'>");
  document.write( "  <td width='33.3%' valign='middle'>");
  document.write( "   <div style='width:162px; height:130px; float:left; margin: 6px 6px 6px 6px; text-align: left;");
  document.write( "               font-size: 80%; ");
  document.write( "               background-image: url(../../loads/"+folder+"/n-"+abbName+".gif); ");
  document.write( "               background-repeat: no-repeat; ");
  document.write( "               background-position: center; ");
  document.write( "               padding:0px 0px 0px 0px'></td>");
  document.write( "  <td width='33.3%'>");
  document.write( "   <table border='0' style='font-family: Arial; font-size: 80%; color: white;' width='100%'>");
  document.write( "    <tr>");
  document.write( "     <td align='center' style='font-size: 12'>");
  document.write( "      <b style='font-size: 200%'>"+fullName+"</b>");
  document.write( "     </td>");
  document.write( "    </tr><tr>");
  document.write( "     <td align='left' valign='top' style='font-size: 12'");

  if (compRises == "-") 
    {  document.write( " height='68'>Information:<br/>");
    } else 
    {  var catalogueArray = compRises.split( ";");
       var totalLength = catalogueArray.length;
       if ((totalLength % 2) == 1)
          totalLength++;
       var halfLength = (totalLength / 2);
       document.write( " height='68'>Comprises:<br/>");
       document.write( "   <table border='0' width='100%' cellspacing='0' cellpadding='0' ");
       document.write( "    style='font-family: Arial; font-size: 10; color: white' >");
       document.write( "     <tr valign='top'><td>");
       document.write( "      <table>");

  for (x=0; x<halfLength; x++) {
      document.write( "       <tr valign='top'>");
      document.write( "        <td>");
      document.write( (x+1) + ".</td><td>" + catalogueArray[x] + "</td>");
      document.write( "    </tr>");
      }

       document.write( "    </tr></table>");
       document.write( "   </td>");

       document.write( "    <td width='50%'>");
       document.write( "     <table>");

       for (x=halfLength; x<(catalogueArray.length); x++) {
           document.write( "       <tr valign='top'>");
           document.write( "        <td>");
           document.write( (x+1) + ".</td><td>" + catalogueArray[x] + "</td>");
           document.write( "    </tr>");
           }
     
       document.write( "     </table>");
       document.write( "    </tr>");
       document.write( "   </table>");
    }

  // Should A Link To Instructions Appear?

  if (noIns == -1) {
    document.write( "<a href='../../c-dvd.html'>"); 
    document.write( "      <img src='../../icns/info.gif' ");
    document.write( "      width='50' height='50' border='0' alt='Playing Instructions &amp; Game Controls'></a>");
    }

  // Should Links To Anything Else Appear?

  for (x in infoArray) 
    { if (infoArray[x] == "Review (EU)")  
     { document.write( "      <a href='../../mags/eu/revs/" + folder+ "/r-" +abbName+ ".html'>");  
       document.write( "      <img src='../../icns/eu_rev.gif' ");
       document.write( "      width='50' height='50' border='0' alt='Review by Electron User'></a>"); 
     }
    else 
      { if (infoArray[x] == "Review (EUG)") 
        { document.write( "      <a href='../../eug/revs/" + folder+ "/r-" +abbName+".html'>");
          document.write( "      <img src='../../icns/eug_rev.gif' ");
          document.write( "      width='50' height='50' border='0' alt='Review by EUG'></a>");
        }
      else 
        { if (infoArray[x] == "Review (Impact)")  
          { document.write( "      <a href='../../impact/revs/" + folder+ "/r-" +abbName+".html'>");
            document.write( "      <img src='../../icns/impact.gif' "); 
            document.write( "      width='50' height='50' border='0' alt='Review by Impact Games Club'></a>");
          }
        else 
          { if (infoArray[x] == "Solution (EU)") 
            { document.write( "      <a href='../../eu/sols/" + folder+ "/s-" +abbName+".html'>");
              document.write( "      <img src='../../icns/solution.gif' ");
              document.write( "      width='50' height='50' border='0' alt='Solution by Electron User'></a>");
            }
          else { if (infoArray[x] == "Solution (EUG)")  
                 { document.write( "      <a href='../../eug/sols/" + folder+ "/s-" +abbName+".html'>");
                   document.write( "      <img src='../../icns/solution.gif' ");
                   document.write( "      width='50' height='50' border='0' alt='Solution by EUG'></a>");
                 }
               }
          }
        } 
      }
    }

  document.write( "     </td>");
  document.write( "    </tr><tr>");
  document.write( "     <td align='left' valign='top' style='font-size: 12' height='68'>");
  document.write( "      Downloads:<br/>");

  for (x in discArray) 
    { if (discArray[x] == "Haven ADFS") 
      { document.write( "      <a href='../../c-dvd.html'>");
        document.write( "      <img src='../../icns/adfs.gif' ");
        document.write( "      width='50' height='50' border='0' alt='ADFS Disc (AEW)'></a>");
      } 
      else 
       { if (discArray[x] == "Haven DFS") 
         { document.write( "      <a href='../../c-dvd.html'>");
           document.write( "      <img src='../../icns/dfs.gif' ");
           document.write( "      width='50' height='50' border='0' alt='DFS Disc (AEW)'></a>");
         } 
         else 
         { if (discArray[x] == "Prof ADFS") 
           { document.write( "      <a href='../../c-dvd.html'>");
             document.write( "      <img src='../../icns/adfs.gif' ");
             document.write( "      width='50' height='50' border='0' alt='ADFS Disc'></a>");
           } 
           else
           { if (discArray[x] == "Prof DFS")  
             { document.write( "      <a href='../../c-dvd.html'>");
               document.write( "      <img src='../../icns/dfs.gif' ");
               document.write( "      width='50' height='50' border='0' alt='DFS Disc'></a>");
             } 
           }
         }
       }
     }

  document.write( "     </td>");
  document.write( "    </tr>");
  document.write( "   </table>");
  document.write( "  </td>");
  document.write( "  <td width='33.3%' valign='middle'>");
  document.write( "   <div style='width:162px; height:130px; float:right; margin: 6px 6px 6px 6px; text-align: left;");
  document.write( "               font-size: 80%;");
  document.write( "               background-image: url(../../ills/"+folder+"/n-"+abbName+"b.gif); ");
  document.write( "               background-repeat: no-repeat; ");
  document.write( "               background-position: center; ");
  document.write( "               padding:0px 0px 0px 0px'>");
  document.write( " </tr><tr valign='top'>");
  document.write( "  <td><table border='0' style='font-size: 80%'>");
  document.write( "       <tr valign='top'>");
  document.write( "        <td>Demo Type(s):<br/>"+demoType+"</td>");
  document.write( "       </tr><tr valign='top'>");
  document.write( "        <td>Demo Author:<br/>"+demoMan+"</td>");
  document.write( "       </tr>");
  document.write( "      </table></td>");
  document.write( "  <td><table border='0' style='font-size: 80%'>");
  document.write( "       <tr valign='top'>");
  document.write( "        <td>Release Information:<br/>"+demoInfo+"</td>");
  document.write( "       </tr>");
  document.write( "      </table></td>");
  document.write( "  <td><table border='0' style='font-size: 80%'>");
  document.write( "       <tr valign='top'>");
  document.write( "        <td>Other Links:<br/>");

  // Should Links To Anything Else Appear?

  for (x in infoArray) 
    { if (infoArray[x] != "Review (EU)") 
      { if (infoArray[x] != "Review (EUG)") 
       { if (infoArray[x] != "Review (Impact)") 
        { if (infoArray[x] != "Solution (EU)") 
          { if (infoArray[x] != "Solution (EUG)") 
                 { if (infoArray[x] == "Cover Art")
                     { document.write("<a href='../../covs/"+folder+"/lc-"+abbName+".jpg'");
                       document.write(" target='_top'>Large Cover Art</a><br/>");
                     } else  { if (infoArray[x] == "Screenshots")
                                { document.write("Screenshots:");
                                  document.write("<a href='../../loads/"+folder+"/s-"+abbName+".gif'>1</a>, ");
                                  document.write("<a href='../../ills/"+folder+"/s-"+abbName+"a.gif'>2</a>, ");
                                  document.write("<a href='../../ills/"+folder+"/s-"+abbName+"b.gif'>3</a><br/>");
                                } 
                                else { document.write(infoArray[x]+"<br/>"); 
                                     }
                             }
                 }
          }
        }
       }
      }
    }
  document.write( "            </td>");
  document.write( "       </tr> ");
  document.write( "      </table></td>");
  document.write( " </tr>");
  document.write( "</table>");
  document.write( "</div>");
  document.write( "</a>");
  document.write( "</center>");
}


function pdstyle2( folder, 
                   abbName,
                   fullName,
                   demoType,
                   demoMan,
                   compRises,
                   demoInfo,
                   otherInfo,
                   discVersions)

  {

  var noIns = fullName.indexOf( "#");
  if (noIns != -1) {
    nameLength = (fullName.length - 1);
    fullName = fullName.substring( 0,nameLength);
    }

  var discArray = discVersions.split( "|");
  var infoArray = otherInfo.split( "|");

  document.write( "&nbsp;<br clear='right'/>");
  document.write( "<center><a name='"+abbName+"'>");
  document.write( "<div id='prof'>");
  document.write( "<table border='0' width='100%'>");
  document.write( " <tr valign='top'>");
  document.write( "  <td width='33.3%' valign='middle'>");
  document.write( "   <div style='width:162px; height:130px; float:left; margin: 6px 6px 6px 6px; text-align: left;");
  document.write( "               font-size: 80%; ");
  document.write( "               background-image: url(../../loads/"+folder+"/n-"+abbName+".gif); ");
  document.write( "               background-repeat: no-repeat; ");
  document.write( "               background-position: center; ");
  document.write( "               padding:0px 0px 0px 0px'></div>");
  document.write( "   <br clear='left'/>");
  document.write( "   <div style='width:162px; height:130px; float:left; margin: 6px 6px 6px 6px; text-align: left;");
  document.write( "               font-size: 80%; ");
  document.write( "               background-image: url(../../ills/"+folder+"/n-"+abbName+"a.gif); ");
  document.write( "               background-repeat: no-repeat; ");
  document.write( "               background-position: center; ");
  document.write( "               padding:0px 0px 0px 0px'></div>");
  document.write( "   <br clear='left'/>");
  document.write( "   <div style='width:162px; height:130px; float:left; margin: 6px 6px 6px 6px; text-align: left;");
  document.write( "               font-size: 80%; ");
  document.write( "               background-image: url(../../ills/"+folder+"/n-"+abbName+"b.gif); ");
  document.write( "               background-repeat: no-repeat; ");
  document.write( "               background-position: center; ");
  document.write( "               padding:0px 0px 0px 0px'></div>");
  document.write( "  </td>");
  document.write( "  <td width='33.3%'>");
  document.write( "   <table border='0' style='font-family: Arial; font-size: 80%; color: white;' width='100%'>");
  document.write( "    <tr>");
  document.write( "     <td align='center' style='font-size: 12'>");
  document.write( "      <b style='font-size: 200%'>"+fullName+"</b>");
  document.write( "     </td>");
  document.write( "    </tr><tr>");
  document.write( "     <td align='left' valign='top' style='font-size: 12'");

  if (compRises == "-") 
    {  document.write( " height='68'>Information:<br/>");
    } else 
    {  var catalogueArray = compRises.split( ";");
       var totalLength = catalogueArray.length;
       if ((totalLength % 2) == 1)
          totalLength++;
       var halfLength = (totalLength / 2);
       document.write( " height='68'>Comprises:<br/>");
       document.write( "   <table border='0' width='100%' cellspacing='0' cellpadding='0' ");
       document.write( "    style='font-family: Arial; font-size: 10; color: white' >");
       document.write( "     <tr valign='top'><td>");
       document.write( "      <table>");

  for (x=0; x<halfLength; x++) {
      document.write( "       <tr valign='top'>");
      document.write( "        <td>");
      document.write( (x+1) + ".</td><td>" + catalogueArray[x] + "</td>");
      document.write( "    </tr>");
      }

       document.write( "    </tr></table>");
       document.write( "   </td>");

       document.write( "    <td width='50%'>");
       document.write( "     <table>");

       for (x=halfLength; x<(catalogueArray.length); x++) {
           document.write( "       <tr valign='top'>");
           document.write( "        <td>");
           document.write( (x+1) + ".</td><td>" + catalogueArray[x] + "</td>");
           document.write( "    </tr>");
           }
     
       document.write( "     </table>");
       document.write( "    </tr>");
       document.write( "   </table>");
    }

  // Should A Link To Instructions Appear?

  if (noIns == -1) {
    document.write( "<a href='../../c-dvd.html'>"); 
    document.write( "      <img src='../../icns/info.gif' ");
    document.write( "      width='50' height='50' border='0' alt='Playing Instructions &amp; Game Controls'></a>");
    }

  // Should Links To Anything Else Appear?

  for (x in infoArray) 
    { if (infoArray[x] == "Review (EU)")  
     { document.write( "      <a href='../../mags/eu/revs/" + folder+ "/r-" +abbName+ ".html'>");  
       document.write( "      <img src='../../icns/eu_rev.gif' ");
       document.write( "      width='50' height='50' border='0' alt='Review by Electron User'></a>"); 
     }
    else 
      { if (infoArray[x] == "Review (EUG)") 
        { document.write( "      <a href='../../eug/revs/" + folder+ "/r-" +abbName+".html'>");
          document.write( "      <img src='../../icns/eug_rev.gif' ");
          document.write( "      width='50' height='50' border='0' alt='Review by EUG'></a>");
        }
      else 
        { if (infoArray[x] == "Review (Impact)")  
          { document.write( "      <a href='../../impact/revs/" + folder+ "/r-" +abbName+".html'>");
            document.write( "      <img src='../../icns/impact.gif' "); 
            document.write( "      width='50' height='50' border='0' alt='Review by Impact Games Club'></a>");
          }
        else 
          { if (infoArray[x] == "Solution (EU)") 
            { document.write( "      <a href='../../eu/sols/" + folder+ "/s-" +abbName+".html'>");
              document.write( "      <img src='../../icns/solution.gif' ");
              document.write( "      width='50' height='50' border='0' alt='Solution by Electron User'></a>");
            }
          else { if (infoArray[x] == "Solution (EUG)")  
                 { document.write( "      <a href='../../eug/sols/" + folder+ "/s-" +abbName+".html'>");
                   document.write( "      <img src='../../icns/solution.gif' ");
                   document.write( "      width='50' height='50' border='0' alt='Solution by EUG'></a>");
                 }
               }
          }
        } 
      }
    }

  document.write( "     </td>");
  document.write( "    </tr><tr>");
  document.write( "     <td align='left' valign='top' style='font-size: 12' height='68'>");
  document.write( "      Downloads:<br/>");

  for (x in discArray) 
    { if (discArray[x] == "Haven ADFS") 
      { document.write( "      <a href='../../c-dvd.html'>");
        document.write( "      <img src='../../icns/adfs.gif' ");
        document.write( "      width='50' height='50' border='0' alt='ADFS Disc (AEW)'></a>");
      } 
      else 
       { if (discArray[x] == "Haven DFS") 
         { document.write( "      <a href='../../c-dvd.html'>");
           document.write( "      <img src='../../icns/dfs.gif' ");
           document.write( "      width='50' height='50' border='0' alt='DFS Disc (AEW)'></a>");
         } 
         else 
         { if (discArray[x] == "Prof ADFS") 
           { document.write( "      <a href='../../c-dvd.html'>");
             document.write( "      <img src='../../icns/adfs.gif' ");
             document.write( "      width='50' height='50' border='0' alt='ADFS Disc'></a>");
           } 
           else
           { if (discArray[x] == "Prof DFS")  
             { document.write( "      <a href='../../c-dvd.html'>");
               document.write( "      <img src='../../icns/dfs.gif' ");
               document.write( "      width='50' height='50' border='0' alt='DFS Disc'></a>");
             } 
           }
         }
       }
     }

  document.write( "     </td>");
  document.write( "    </tr>");
  document.write( "   </table>");
  document.write( "  </td>");
  document.write( "  <td width='33.3%' valign='middle'>");
  document.write( "   <div style='width:162px; height:130px; float:right; margin: 6px 6px 6px 6px; text-align: left;");
  document.write( "               font-size: 80%; ");
  document.write( "               background-image: url(../../ills/"+folder+"/n-"+abbName+"c.gif); ");
  document.write( "               background-repeat: no-repeat; ");
  document.write( "               background-position: center; ");
  document.write( "               padding:0px 0px 0px 0px'></div>");
  document.write( "   <br clear='left'/>");
  document.write( "   <div style='width:162px; height:130px; float:right; margin: 6px 6px 6px 6px; text-align: left;");
  document.write( "               font-size: 80%; ");
  document.write( "               background-image: url(../../ills/"+folder+"/n-"+abbName+"d.gif); ");
  document.write( "               background-repeat: no-repeat; ");
  document.write( "               background-position: center; ");
  document.write( "               padding:0px 0px 0px 0px'></div>");
  document.write( "   <br clear='left'/>");
  document.write( "   <div style='width:162px; height:130px; float:right; margin: 6px 6px 6px 6px; text-align: left;");
  document.write( "               font-size: 80%; ");
  document.write( "               background-image: url(../../ills/"+folder+"/n-"+abbName+"e.gif); ");
  document.write( "               background-repeat: no-repeat; ");
  document.write( "               background-position: center; ");
  document.write( "               padding:0px 0px 0px 0px'></div>");
  document.write( "  </td>");
  document.write( " </tr><tr valign='top'>");
  document.write( "  <td><table border='0' style='font-size: 80%'>");
  document.write( "       <tr valign='top'>");
  document.write( "        <td>Demo Type(s):<br/>"+demoType+"</td>");
  document.write( "       </tr><tr valign='top'>");
  document.write( "        <td>Demo Author:<br/>"+demoMan+"</td>");
  document.write( "       </tr>");
  document.write( "      </table></td>");
  document.write( "  <td><table border='0' style='font-size: 80%'>");
  document.write( "       <tr valign='top'>");
  document.write( "        <td>Release Information:<br/>"+demoInfo+"</td>");
  document.write( "       </tr>");
  document.write( "      </table></td>");
  document.write( "  <td><table border='0' style='font-size: 80%'>");
  document.write( "       <tr valign='top'>");
  document.write( "        <td>Other Links:<br/>");

  // Should Links To Anything Else Appear?

  for (x in infoArray) 
    { if (infoArray[x] != "Review (EU)") 
      { if (infoArray[x] != "Review (EUG)") 
       { if (infoArray[x] != "Review (Impact)") 
        { if (infoArray[x] != "Solution (EU)") 
          { if (infoArray[x] != "Solution (EUG)") 
                 { if (infoArray[x] == "Cover Art")
                     { document.write("<a href='../../covs/"+folder+"/lc-"+abbName+".jpg'");
                       document.write(" target='_top'>Large Cover Art</a><br/>");
                     } else  { if (infoArray[x] == "Screenshots")
                                { document.write("Screenshots:");
                                  document.write("<a href='../../loads/"+folder+"/s-"+abbName+".gif'>1</a>, ");
                                  document.write("<a href='../../ills/"+folder+"/s-"+abbName+"a.gif'>2</a>, ");
                                  document.write("<a href='../../ills/"+folder+"/s-"+abbName+"b.gif'>3</a><br/>");
                                } 
                                else { document.write(infoArray[x]+"<br/>"); 
                                     }
                             }
                 }
          }
        }
       }
      }
    }
  document.write( "            </td>");
  document.write( "       </tr> ");
  document.write( "      </table></td>");
  document.write( " </tr>");
  document.write( "</table>");
  document.write( "</div>");
  document.write( "</a>");
  document.write( "</center>");
}

function navbar(path)
  {
  document.write( "  <div id='navbar'>");
  document.write( "  <h3>");
  document.write( "   <a href='top_lvl.html'>Public Domain Releases</a><br/>&nbsp;</br>");
  document.write( "   <ul>");
  document.write( "    <li><a href='"+path+"8bs.html'>8BS</a></li>");
  document.write( "    <li><a href='"+path+"bazzasoft.html'>BAZZASOFT</a></li>");
  document.write( "    <li><a href='"+path+"bbcpd.html'>BBC&nbsp;PD</a></li>");
  document.write( "    <li><a href='"+path+"bobrowski.html'>BOBROWSKI</a></li>");
  document.write( "    <li><a href='"+path+"cd_pd.html'>CHRIS DEWHURST</a></li>");
  document.write( "    <li><a href='"+path+"crtc.html'>CRTC</a></li>");
  document.write( "    <li><a href='"+path+"danosoft.html'>DANOSOFT</a></li>");
  document.write( "    <li><a href='"+path+"davee.html'>DAVE&nbsp;E</a></li>");
  document.write( "    <li><a href='"+path+"dsolutions.html'>DIGITAL<br/>SOLUTIONS</a></li>");
  document.write( "    <li><a href='"+path+"dj.html'>DJ&nbsp;PD</a></li>");
  document.write( "    <li><a href='"+path+"eug.html'>EUG PD</a></li>");
  document.write( "    <li><a href='"+path+"headfirst.html'>HEADFIRST&nbsp;PD</a></li>");
  document.write( "    <li><a href='"+path+"jjguest.html'>JJ&nbsp;GUEST</a></li>");
  document.write( "    <li><a href='"+path+"jonripley.html'>JON&nbsp;RIPLEY</a></li>");
  document.write( "    <li><a href='"+path+"madrabbit.html'>MAD&nbsp;RABBIT&nbsp;PD</a></li>");
  document.write( "    <li><a href='"+path+"ogm.html'>ORGAN&nbsp;GRINDER'S<br/>MONKEY</a></li>");
  document.write( "    <li><a href='"+path+"softcentre.html'>SOFT&nbsp;CENTRE</a></li>");
  document.write( "    <li><a href='"+path+"scott.html'>STEPHEN&nbsp;SCOTT</a></li>");
  document.write( "    <li><a href='"+path+"sp64_discs.html'>SP64&nbsp;PD</a></li>");
  document.write( "    <li><a href='"+path+"tomsmusic.html'>TOM&apos;S&nbsp;MUSIC&nbsp;PD</a></li>");
  document.write( "    <li><a href='"+path+"tyb.html'>YORKSHIRE&nbsp;BOYS</a></li>");
  document.write( "    <li><a href='"+path+"ultrasoft.html'>ULTRASOFT</a></li>");
  document.write( "   </ul>");
  document.write( "  </h3>");
  document.write( "  </div>");
  }
   
