// Javascript library main page, 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, 'Research');
      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>');
        navTopic('Center for Animal Functional Genomics', 'http://cafg.msu.edu');
        document.writeln('<br>');
        navTopic('Animal Agriculture Initiative', 'http://www.animalag.msu.edu');
        document.writeln('<br>');
        navTopic('Research at MSU', 'http://www.msu.edu/unit/vprgs/index.htm');
      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, 'Research');
      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>');
        navTopic('Center for Animal Functional Genomics', 'http://cafg.msu.edu');
        document.writeln('<br>');
        navTopic('Animal Agriculture Initiative', 'http://www.animalag.msu.edu');
        document.writeln('<br>');
        navTopic('Research at MSU', 'http://www.msu.edu/unit/vprgs/index.htm');
      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

