// Javascript library for academics section, Dept. of Animal Science, Michigan State University
// Author: Robert Kriegel, kriegelr@msu.edu


function specialRequests() {
// Function displays a box with handicapper accomodations information.
var outstring;
// Start with 10 pixel vertical spacer
  outstring  = '<tr height="10"><td></td></tr>';
// Then add the Service Requests table.
  outstring += '<tr>';
  outstring +=  '<td>';
  outstring +=   '<table border="0" cellpadding="0" cellspacing="0" width="100%">';
  outstring +=    '<tr>';
  outstring +=      '<td width="12"></td>';
  outstring +=      '<td>';
  outstring +=        '<table border="1" bordercolor="#106331" cellpadding="4" cellspacing="3" width="100%">';
  outstring +=          '<tr><td bgcolor="#e2ffed" alt=""><div align="center">Special Service Requests</div></td></tr>';
  outstring +=          '<tr bgcolor="#FFFFAA"><td class="small">';
  outstring +=            'Persons with disabilities may request accomodations for Animal Science classes by contacting ';
  outstring +=            '<a class="small" href="javascript:sendEmail(' + "'hawkin12@msu.edu','Special Service Request'" + ');">John Shelle</a> (355-8391) or ';
  outstring +=            '<a class="small" href="javascript:sendEmail(' + "'dobsonk@msu.edu','Special Service Request'" + ');">Kim Dobson</a> (353-9227).<br><br>';
  outstring +=            'Please submit requests at least 10 days before the start of a semester to ensure ';
  outstring +=            'sufficient time to make arrangements. Later requests will be met when possible.';
  outstring +=          '</td></tr>';
  outstring +=        '</table>';
  outstring +=      '</td>';
  outstring +=      '<td width="7"></td>';
  outstring +=    '</tr>';
  outstring +=   '</table>';
  outstring +=  '</td>';
  outstring += '</tr>';
  document.writeln(outstring);
}  // special requests



function navTable(subfolder) {
  document.writeln('<td width="200" valign="top">');
    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, 55, 'Academic Programs');
          document.writeln('<tr>'); 
          document.writeln( '<td width="10"></td>' );
          document.writeln( '<td background="' + subfolder + 'images/navbx_l.jpg" width="10" alt="">&nbsp;</td>' );
          document.writeln( '<td background="' + subfolder + 'images/navbx_body.jpg" valign="top" colspan="2" width="163" alt=""><br>' );

          document.writeln('<p class="nav">');
            navTopic('Prospective Students', '');
            navItem('What is Animal Science?', 'recruiting/index.html', true);
            navItem('Career Opportunities', 'recruiting/careers.html', true);
            navItem('Graduate Program', 'grad/index.html', true);
          document.writeln('<br></p>');

         document.writeln('<p class="nav">');
            navTopic('Undergraduates', '');
            navItem('Bachelor of Science', 'undergrad/bsdegree_reqts.html', true);
            navItem('Agricultural Technology', 'undergrad/agtech.html', true);
            navItem('Scholarships', 'undergrad/scholarships.html', true);
            navItem('Internships', 'undergrad/internships.html', true);
            navItem('Clubs &amp; Teams', 'undergrad/clubs.html', true);
            navItem('Student Handbook (pdf)', '../downloads/undergrad_handbook.pdf', true);
          document.writeln('<br></p>');

           document.writeln('<p class="nav">');
            navTopic('Graduate Studies', 'grad/index.html');
            navItem('ANS Application Process', 'grad/application_process.html', true);
            navItem('Degree Requirements', 'grad/requirements.html', true);
            navItem('Financial Aid', 'grad/financial_aid.html', true);
            navItem('Organizations', 'grad/organizations.html', true);
            navItem('The Graduate School', 'http://www.grad.msu.edu', true);
            navItem('Graduate Handbook', 'grad/handbook.html', 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" alt="">&nbsp;</td>');
        document.writeln('</tr>');
        navFooter(subfolder); 
      document.writeln('</table>');
      document.writeln('</td></tr>');

      ansOffice();                     // Departmental Office contact information					
      specialRequests();               // Handicapper accomodations 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">');
      document.writeln('<tr><td>');
        document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="200">');
          navHeader(subfolder, 55, 'Academic Programs');
          document.writeln('<tr>'); 
          document.writeln( '<td width="10"></td>' );
          document.writeln( '<td background="' + subfolder + 'images/navbx_l.jpg" width="10" alt="">&nbsp;</td>' );
          document.writeln( '<td background="' + subfolder + 'images/navbx_body.jpg" valign="top" colspan="2" width="163" alt=""><br>' );

          document.writeln('<p class="nav">');
            navTopic('Prospective Students', '');
            navItem('What is Animal Science?', 'recruiting/index.html', true);
            navItem('Career Opportunities', 'recruiting/careers.html', true);
            navItem('Graduate Program', 'grad/index.html', true);
          document.writeln('<br></p>');

         document.writeln('<p class="nav">');
            navTopic('Undergraduates', '');
            navItem('Bachelor of Science', 'undergrad/bsdegree_reqts.html', true);
            navItem('Agricultural Technology', 'undergrad/agtech.html', true);
            navItem('Scholarships', 'undergrad/scholarships.html', true);
            navItem('Internships', 'undergrad/internships.html', true);
            navItem('Clubs &amp; Teams', 'undergrad/clubs.html', true);
            navItem('Student Handbook (pdf)', '../downloads/undergrad_handbook.pdf', true);
          document.writeln('<br></p>');

           document.writeln('<p class="nav">');
            navTopic('Graduate Studies', 'grad/index.html');
            navItem('ANS Application Process', 'grad/application_process.html', true);
            navItem('Degree Requirements', 'grad/requirements.html', true);
            navItem('Financial Aid', 'grad/financial_aid.html', true);
            navItem('Organizations', 'grad/organizations.html', true);
            navItem('Graduate Handbook', 'grad/handbook.html', true);
            navItem('The Graduate School', 'http://www.grad.msu.edu', 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" alt="">&nbsp;</td>');
        document.writeln('</tr>');
        navFooter(subfolder); 
      document.writeln('</table>');
      document.writeln('</td></tr>');

      ansOffice();                     // Departmental Office contact information					
      specialRequests();               // Handicapper accomodations information
      canrLink(subfolder);             // CANR logo and web site link
      if (showPDF) getPDF(subfolder);  // Display Acrobat reader logo and link
    document.writeln('</table>');
} // nav table2

