// Javascript library main species page navigation, Dept. of Animal Science, Michigan State University
// Author: Robert Kriegel, kriegelr@msu.edu

function navTable(subfolder) {
  document.writeln('<tr><td>');
    document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="200">');
      navHeader(subfolder, 30, 'Species');
      document.writeln('<tr>'); 
      document.writeln( '<td width="10"></td>' );
      document.writeln( '<td background="' + subfolder + 'images/navbx_l.jpg"width="10">&nbsp;</td>' );
      document.writeln( '<td background="' + subfolder + 'images/navbx_body.jpg" valign="top" colspan="2" width="163"><br>' );

      document.writeln('<p class="nav">');
        navTopic('Overview', 'index.html');
      document.writeln('<br></p>');

      document.writeln('<p class="nav">');
        navTopic('Beef Cattle Programs', 'beef.html');
        navTopic('Dairy Cattle Programs', 'dairy.html');
        navTopic('Equine Programs', 'equine.html');
//        navTopic('Poultry', '');
//        navTopic('Sheep', '');
//        navTopic('Swine', '');
//        navTopic('Other species', '');
      document.writeln('<br></p>');

      document.writeln('<p class="nav">');
        navTopic('Farms & Facilities', '../community/facilities/farms.html');
      document.writeln('<br></p>');

      document.writeln('</td>');

      document.writeln('<td  background="' + subfolder + 'images/navbx_r.jpg" width="17">&nbsp;</td>');
    document.writeln('</tr>');
    navFooter(subfolder); 
  document.writeln('</table>');
  document.writeln('</td></tr>');

  ansOffice();                     // Departmental Office contact information					
  if (showPDF) getPDF(subfolder);  // Display Acrobat reader logo and link
} // nav table

function navTable2(subfolder) {
  document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="200">');	
  document.writeln('<tr><td>');
    document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="200">');
      navHeader(subfolder, 30, 'Species');
      document.writeln('<tr>'); 
      document.writeln( '<td width="10"></td>' );
      document.writeln( '<td background="' + subfolder + 'images/navbx_l.jpg"width="10">&nbsp;</td>' );
      document.writeln( '<td background="' + subfolder + 'images/navbx_body.jpg" valign="top" colspan="2" width="163"><br>' );

      document.writeln('<p class="nav">');
        navTopic('Overview', 'index.html');
      document.writeln('<br></p>');

      document.writeln('<p class="nav">');
        navTopic('Beef Cattle Programs', 'beef.html');
        navTopic('Dairy Cattle Programs', 'dairy.html');
        navTopic('Equine Programs', 'equine.html');
//        navTopic('Poultry', '');
//        navTopic('Sheep', '');
//        navTopic('Swine', '');
//        navTopic('Other species', '');
      document.writeln('<br></p>');

      document.writeln('<p class="nav">');
        navTopic('Farms & Facilities', '../community/facilities/farms.html');
      document.writeln('<br></p>');

      document.writeln('</td>');

      document.writeln('<td  background="' + subfolder + 'images/navbx_r.jpg" width="17">&nbsp;</td>');
    document.writeln('</tr>');
    navFooter(subfolder); 
  document.writeln('</table>');
  document.writeln('</td></tr>');

  ansOffice();                     // Departmental Office contact information					
  if (showPDF) getPDF(subfolder);  // Display Acrobat reader logo and link
  document.writeln('</table>');
} // nav table2


