function showPage() {
  var n = document.hsc_go.links.selectedIndex;
  switch (n) {
    case 0: break;
    case 1: top.location.href = "http://www.utmem.edu/masthead/uthsc.php"; break;
    case 2: top.location.href = "http://www.utmem.edu/masthead/colleges.php"; break;
    case 3: top.location.href = "http://www.utmem.edu/masthead/administration.php"; break;
    case 4: top.location.href = "http://www.utmem.edu/masthead/admissions.php"; break;
    case 5: top.location.href = "http://www.utmem.edu/masthead/alumni.php"; break;
    case 6: top.location.href = "http://www.utmem.edu/masthead/faculty.php"; break;
    case 7: top.location.href = "http://www.utmem.edu/masthead/research.php"; break;
    case 8: top.location.href = "http://www.utmem.edu/masthead/residency.php"; break;
    case 9: top.location.href = "http://www.utmem.edu/masthead/students.php"; break;
    case 10: top.location.href = "http://www.utmem.edu/masthead/visitors.php"; break;
  }
}

function writeMasthead1() {
  document.write('  <form id="hsc_seek" name="hsc_seek" method="post" accept-charset="iso-8859-1" action="http://www.utmem.edu/search/query.php">' + "\n");
  document.write('   <table width="760" border="0" cellpadding="0" cellspacing="0" bgcolor="#e9e9e9" background="http://www.utmem.edu/masthead/images/hsc_mh_bg.jpg">' + "\n");
  document.write('    <tr>' + "\n");
  document.write('     <td rowspan="2" width="233"><img src="http://www.utmem.edu/masthead/images/hsc_mh_logo.gif" width="233" height="39" vspace="5" onMouseOver="hideAll();" alt="University of Tennessee Health Science Center"></td>' + "\n");
  document.write('     <td width="527" align="right">' + "\n");
  document.write('      <table width="527" border="0" cellpadding="0" cellspacing="0" align="right">' + "\n");
  document.write('       <tr>' + "\n");
  document.write('        <td width="269"><spacer type="block" width="210" height="1"></td>' + "\n");
  document.write('        <td width="110"><input type="text" name="query" size="15" class="searchbox" value="Name or keyword" onFocus="this.value=\'\'"></td>' + "\n");
  document.write('        <td width="38"><input border="0" type="image" name="go" src="http://www.utmem.edu/masthead/images/hsc_mh_go.gif" width="38" height="20" align="absmiddle" onMouseOver="hideAll();"></td>' + "\n");
  document.write('        <td width="110">' + "\n");
  document.write('         <select name="col" class="searchtext">' + "\n");
  document.write('          <option value="ldap">People Search</option>' + "\n");
  document.write('          <option value="utmem" selected>Campus Search</option>' + "\n");
  document.write('          <option value="utk utmem utm utc utsi utsa utia utips">System Search</option>' + "\n");
  document.write('         </select>' + "\n");
  document.write('        </td>' + "\n");
  document.write('       </tr>' + "\n");
  document.write('      </table>' + "\n");
  document.write('     </td>' + "\n");
  document.write('    </tr>' + "\n");
  document.write('    <tr><td align="right" valign="middle"><img src="http://www.utmem.edu/masthead/images/hsc_mh_bullet.gif" border="0" width="11" height="12" alt="&gt;&gt;"><a href="http://www.utmem.edu"><img src="http://www.utmem.edu/masthead/images/hsc_mh_home.gif" border="0  width="53" height="12" onMouseOver="hideAll();" alt="Home"></a><img src="http://www.utmem.edu/masthead/images/hsc_mh_bullet.gif" width="11" height="12" alt="&gt;&gt;"><a href="http://www.utmem.edu/sitemap.php"><img src="http://www.utmem.edu/masthead/images/hsc_mh_sitemap.gif" border="0" width="67" height="12" onMouseOver="hideAll();" alt="Site Map"></a><img src="http://www.utmem.edu/masthead/images/hsc_mh_bullet.gif" width="11" height="12" alt="&gt;&gt;"><a href="http://webmail.utmem.edu"><img src="http://www.utmem.edu/masthead/images/hsc_mh_webmail.gif" border="0" width="68" height="12" onMouseOver="hideAll();" alt="Web Mail"></a></td></tr>' + "\n");
  document.write('    <tr><td colspan="2" width="760"><a href="http://www.utmem.edu/masthead/uthsc.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m1\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_about.gif" width="70" height="19" border="0"></a><a href="http://www.utmem.edu/masthead/colleges.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m2\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_colleges.gif" width="54" height="19" border="0"></a><a href="http://www.utmem.edu/masthead/administration.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m3\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_admin.gif" width="84" height="19" border="0"></a><a href="http://www.utmem.edu/masthead/admissions.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m4\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_admiss.gif" width="67" height="19" border="0"></a><a href="http://www.utmem.edu/masthead/alumni.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m5\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_alumni.gif" width="122" height="19" border="0"></a><a href="http://www.utmem.edu/masthead/faculty.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m6\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_faculty.gif" width="83" height="19" border="0"></a><a href="http://www.utmem.edu/masthead/research.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m8\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_research.gif" width="56" height="19" border="0"></a><a href="http://www.utmem.edu/masthead/residency.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m9\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_residency.gif" width="125" height="19" border="0"></a><a href="http://www.utmem.edu/masthead/students.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m10\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_students.gif" width="54" height="19" border="0"></a><a href="http://www.utmem.edu/masthead/visitors.php" onMouseOver="clearMenuTimer(); showMenu(\'menu_m11\', 1)" onMouseOut="setMenuTimer();"><img src="http://www.utmem.edu/images/hsc_visitors.gif" width="45" height="19" border="0"></a></td></tr>' + "\n");
  document.write('   </table>' + "\n");
  document.write('  </form>' + "\n");
}


function writeMasthead2(){
var proto; 
proto = document.location.protocol; 
if (proto == "file:")
proto = "http:"; 

document.write("<form id='hsc_seek' name='hsc_seek' method='post' accept-charset='iso-8859-1' action='http://www.utmem.edu/search/query.php' target='_top'>   \n");
document.write("<table bgcolor='#ffffff' width='100%' border='0' cellpadding='0' cellspacing='0'>  \n");
document.write(" <tr>  \n");
document.write("  <td width='233'>  \n");
document.write("   <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_logo.gif' width='233' height='39' vspace='5' alt='University of Tennessee Health Science Center'>  \n");
document.write("  </td>  \n");
document.write("  <TD>&nbsp;</TD>   \n");
document.write("  <TD background='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_bg.jpg' WIDTH='760'>  \n");
document.write("   <TABLE BORDER='0' CELLPADDING='0' CELLSPACING='0' ALIGN='RIGHT'>  \n");
document.write("     <TR>  \n");
document.write("     <td width='527' align='right'> \n");
document.write("      <table width='527' border='0' cellpadding='0' cellspacing='0' align='right'> \n");
document.write("       <tr> \n");
document.write("        <td width='269'><spacer type='block' width='210' height='1'></td> \n");
document.write("        <td width='110'><input type='text' name='query' size='15' class='searchbox' value='Name or keyword' onFocus='this.value=\"\"'></td> \n");
document.write("        <td width='38'><input border='0' type='image' name='go' src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_go.gif' width='38' height='20' align='absmiddle'></td> \n");
document.write("        <td width='110'> \n");
document.write("         <select name='col' class='searchtext'> \n");
document.write("          <option value='ldap'>People Search</option> \n");
document.write("          <option value='utmem' selected>Campus Search</option> \n");
document.write("          <option value='utk utmem utm utc utsi utsa utia utips'>System Search</option> \n");
document.write("         </select> \n");
document.write("        </td> \n");
document.write("       </tr> \n");
document.write("      </table> \n");
document.write("     </td> \n");
document.write("    </tr> \n");
document.write("    <tr> \n");
document.write("     <td align='right' valign='middle'> \n");
document.write("      <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_bullet.gif' width='11' height='12' alt='&gt;&gt;'> \n");
document.write("      <a href='http://www.utmem.edu/' target='_top'> \n");
document.write("      <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_home.gif' border='0' width='53' height='12' alt='Home'></a> \n");
document.write("      <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_bullet.gif' width='11' height='12' alt='&gt;&gt;'> \n");
document.write("      <a href='http://www.utmem.edu/sitemap.php' target='_top'> \n");
document.write("      <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_sitemap.gif' border='0' width='67' height='12' alt='Site Map'></a> \n");
document.write("      <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_bullet.gif' width='11' height='12' alt='&gt;&gt;'> \n");
document.write("      <a href='http://webmail.utmem.edu/' target='_top'> \n");
document.write("      <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_webmail.gif'  border='0' width='68' height='12' alt='Web Mail'></a> \n");
document.write("     </td> \n");
document.write("    </tr> \n");
document.write("   </TABLE> \n");
document.write("  </TD> \n");
document.write(" </TR>  \n");
document.write(" <tr><td colspan='3' height='1' bgcolor='#333333'><spacer type='block' width='1' height='1'></td></tr>  \n");
document.write("</table>  \n");
document.write("</form>  \n");
}

function writeMasthead3() {
var proto; 
proto = document.location.protocol; 
if (proto == "file:")
proto = "http:"; 

document.write(" <form id='hsc_go' name='hsc_go' method='post' accept-charset='iso-8859-1' action='http://www.utmem.edu/search/query.php'>");
document.write("  <table bgcolor='#ffffff'width='100%' border='0' cellpadding='0' cellspacing='0'>");
document.write("  <tr>");   
document.write("   <td width='233'><img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_logo.gif' width='233' height='39' vspace='5' alt='University of Tennessee Health Science Center'></td>");
document.write("   <td>&nbsp;</td> ");
document.write("   <td background='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_bg.jpg' width='760'>");
document.write("    <table border='0' cellpadding='0' cellspacing='0' align='right'>");
document.write("     <tr>");
document.write("      <td width='527' align='right'>");
document.write("       <table width='527' border='0' cellpadding='0' cellspacing='0'>");
document.write("        <tr>");
document.write("         <td align='right' valign='middle'>");
document.write("          <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_bullet.gif' border='0' width='11' height='12' alt='&gt;&gt;'>");
document.write("          <a href='http://www.utmem.edu' target='_top'><img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_home.gif' border='0' width='53' height='12' alt='Home'></a>");
document.write("          <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_bullet.gif' border='0' width='11' height='12' alt='&gt;&gt;'>");
document.write("          <a href='http://webmail.utmem.edu'target='_top'><img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_webmail.gif' border='0' width='68' height='12' alt='Web Mail'></a>");
document.write("          <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_bullet.gif' border='0' width='11' height='12' alt='&gt;&gt;'>");
document.write("          <a href='http://www.utmem.edu/sitemap.php' target='_top'><img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_sitemap.gif' border='0' width='67' height='12' alt='Site Map'></a>");
document.write("          <img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_bullet.gif' border='0' width='11' height='12' alt='&gt;&gt;'>");
document.write("          <a href='http://search.tennessee.edu' target='_top'><img src='" + proto + "//www.utmem.edu/masthead/images/hsc_mh_search.gif' border='0' width='41' height='12' alt='Search'></a>");
document.write("         </td>");
document.write("         <td width='21'><spacer type='block' width='21' height='1'></td>");
document.write("         <td width='110'>");

document.write("          <select name='links' class='searchtext' onChange='showPage(); return false;'>\n");
document.write("          <option value='0' selected>Campus Weblinks</option>\n");
document.write("          <option value='1'>About UTHSC</option>\n");
document.write("          <option value='2'>Colleges</option>\n");
document.write("          <option value='3'>Administration</option>\n");
document.write("          <option value='4'>Admissions</option>\n");
document.write("          <option value='5'>Alumni & Development</option>\n");
document.write("          <option value='6'>Faculty & Staff</option>\n");
document.write("          <option value='7'>Research</option>\n");
document.write("          <option value='8'>Residency & Fellowship</option>\n");
document.write("          <option value='9'>Students</option>\n");
document.write("          <option value='10'>Visitors</option>\n");
document.write("         </select>\n");
document.write("         </td>\n");
document.write("         <td width='11'><spacer type='block' width='11' height='1'></td>\n");
document.write("        </tr>\n");
document.write("       </table>\n");
document.write("      </td>\n");
document.write("     </tr>\n");
document.write("    </table>\n");
document.write("   </td>\n");
document.write("  </tr>\n");
document.write("  <tr><td colspan='3' height='1' bgcolor='#333333'><spacer type='block' width='1' height='1'></td></tr>\n");
document.write("</form>\n");
document.write("</table>\n");
}
