// Javascript library for academics section, Dept. of Animal Science, Michigan State University
// Author: Robert Kriegel, kriegelr@msu.edu

function navTable(subfolder) {
  document.writeln('<td width="200" valign="top">');
    document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="200" valign="top">');
      document.writeln('<tr><td>');
        document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="200">');
          navHeader(subfolder, 55, 'Graduate Studies');
          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('Academic Program', '');
            navItem('Program Overview', 'index.html', true);
            navItem('Degree Requirements', 'requirements.html', true);
            navItem('Financial Aid', 'financial_aid.html', true);
            navItem('Graduate Handbook', 'handbook.html', true);
          document.writeln('<br></p>');

          document.writeln('<p class="nav">');
            navTopic('General Information', '');
            navItem('ANS Application Process', 'application_process.html', true);
            navItem('Organizations', 'organizations.html', true);
            navItem('Departmental Forms', '../../community/forms.html#GradForms', true);
            navItem('Animal Use & Care', 'animal_use.html', true);
//            navItem('Degree Checklist', '', true);
          document.writeln('<br></p>');

          document.writeln('<p class="nav">');
            navTopic('The Graduate School', 'http://www.grad.msu.edu');
            navItem('Application materials', 'http://www.grad.msu.edu/apply.htm', true);
            navItem('Career Guide (pdf)', 'http://www.grad.msu.edu/current/career.pdf', true);
            navItem('Rights & Responsibilities', 'http://www.vps.msu.edu/SpLife/default.pdf', true);
            navItem('Student Resources', 'http://grad.msu.edu/current.htm', true);
            navItem('The Graduate Post', 'http://www.grad.msu.edu/gradpost.htm', true);
            navItem('University Forms', 'http://www.grad.msu.edu/forms.htm', true);
          document.writeln('<br></p>');

          studentServicesDropDown(subfolder);   // In file acadutils.js

          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					
      canrLink(subfolder);             // CANR logo and web site link
      if (showPDF) getPDF(subfolder);  // Display Acrobat reader logo and link
    document.writeln('</table>');
  document.writeln('</td>');

  document.writeln('<td width="10"></td>');     // Vertical spacing before main content
} // nav table


function navTable2(subfolder) {
    document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="200" valign="top">');
      document.writeln('<tr><td>');
        document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="200">');
          navHeader(subfolder, 55, 'Graduate Studies');
          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('Academic Program', '');
            navItem('Program Overview', 'index.html', true);
            navItem('Degree Requirements', 'requirements.html', true);
            navItem('Financial Aid', 'financial_aid.html', true);
            navItem('Graduate Handbook', 'handbook.html', true);
          document.writeln('<br></p>');

          document.writeln('<p class="nav">');
            navTopic('General Information', '');
            navItem('ANS Application Process', 'application_process.html', true);
            navItem('Organizations', 'organizations.html', true);
            navItem('Departmental Forms', '../../community/forms.html#GradForms', true);
            navItem('Animal Use & Care', 'animal_use.html', true);
//            navItem('Degree Checklist', '', true);
          document.writeln('<br></p>');

          document.writeln('<p class="nav">');
            navTopic('The Graduate School', 'http://www.grad.msu.edu');
            navItem('Application materials', 'http://www.grad.msu.edu/apply.htm', true);
            navItem('Career Guide (pdf)', 'http://www.grad.msu.edu/current/career.pdf', true);
            navItem('Rights & Responsibilities', 'http://www.vps.msu.edu/SpLife/default.pdf', true);
            navItem('Student Resources', 'http://grad.msu.edu/current.htm', true);
            navItem('The Graduate Post', 'http://www.grad.msu.edu/gradpost.htm', true);
            navItem('University Forms', 'http://www.grad.msu.edu/forms.htm', true);
          document.writeln('<br></p>');

          studentServicesDropDown(subfolder);   // In file acadutils.js

          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					
      canrLink(subfolder);             // CANR logo and web site link
      if (showPDF) getPDF(subfolder);  // Display Acrobat reader logo and link
    document.writeln('</table>');
} // nav table2

