<!--

// EDIT EMAIL ADDRESS
// e.g. user@domain
var user   = 'zoology';
var domain = 'hawaii.edu';


var Mac = (navigator.userAgent.indexOf("Mac") != -1 )
var IE = (navigator.userAgent.indexOf("MSIE") != -1 && navigator.userAgent.indexOf("Mac") == -1 && navigator.appVersion.substring(0,1) >= 3);
var NS = (navigator.userAgent.indexOf("Mozilla") != -1 && navigator.userAgent.indexOf("Mac") == -1 && navigator.userAgent.indexOf("MSIE") == -1 && navigator.appVersion.substring(0,1) >= 4);

if (IE) {
  document.write("<LINK REL=STYLESHEET HREF=\"/zoology/css/ie_style.css\" TYPE=\"text/css\">");
}
if (Mac) {
  document.write("<LINK REL=STYLESHEET HREF=\"/zoology/css/mac_style.css\" TYPE=\"text/css\">");
}
if (NS) {
  document.write("<LINK REL=STYLESHEET HREF=\"/zoology/css/ns_style.css\" TYPE=\"text/css\">");
}



var boolBrowserIsCompatible = (navigator.userAgent.indexOf("Mozilla/3") != -1 || navigator.userAgent.indexOf("Mozilla/4") != -1);
var arrGraphics = new Array();
var intTotalGraphics = 0;
var intThisPageID = 0;

var strImagePathOff = "_off";
var strImagePathOn = "_on";
var strImagePathSelected = "_on";
var strImageFileSuffix = ".gif";

function objGraphic(ID,Destination,ImagePathPrefix) {
  this.ID = ID;
  this.Destination = Destination;
  if (boolBrowserIsCompatible) {
    this.off = new Image();
    this.on = new Image();
    this.selected = new Image();
    this.off.src = ImagePathPrefix + strImagePathOff + strImageFileSuffix;
    this.on.src = ImagePathPrefix + strImagePathOn + strImageFileSuffix;
    this.selected.src = ImagePathPrefix + strImagePathSelected + strImageFileSuffix;
  }
}

function CreateNewGraphic(intID,strDest,ImagePathPrefix) {
  intTotalGraphics++;
  arrGraphics[intTotalGraphics] = new objGraphic(intID,strDest,ImagePathPrefix);
}

function ChangeNavFrame(intID) {
  window.setTimeout("self.location=arrGraphics[" + intID + "].Destination;",50);
}

function DoMouseOver(intID) {
  if (boolBrowserIsCompatible) {
    if (intThisPageID != intID) {
      document.images["img" + intID].src = arrGraphics[intID].on.src;
    }
    else {
      document.images["img" + intID].src = arrGraphics[intID].selected.src;
    }
  }
}

function DoMouseOut(intID) {
  if (boolBrowserIsCompatible) {
    if (intThisPageID != intID) {
      document.images["img" + intID].src = arrGraphics[intID].off.src;
    }
    else {
      document.images["img" + intID].src = arrGraphics[intID].selected.src;
    }
  }
}

CreateNewGraphic(1,"","/zoology/gifs/nav_bar/b_home");
CreateNewGraphic(2,"","/zoology/gifs/nav_bar/b_mission");
CreateNewGraphic(3,"","/zoology/gifs/nav_bar/b_education");
CreateNewGraphic(4,"","/zoology/gifs/nav_bar/b_undergrad");
CreateNewGraphic(5,"","/zoology/gifs/nav_bar/b_degrees");
CreateNewGraphic(6,"","/zoology/gifs/nav_bar/b_advisors");
CreateNewGraphic(7,"","/zoology/gifs/nav_bar/b_grad");
CreateNewGraphic(8,"","/zoology/gifs/nav_bar/b_degrees2");
CreateNewGraphic(9,"","/zoology/gifs/nav_bar/b_admissions");
CreateNewGraphic(10,"","/zoology/gifs/nav_bar/b_assistanships");
CreateNewGraphic(11,"","/zoology/gifs/nav_bar/b_research");
CreateNewGraphic(12,"","/zoology/gifs/nav_bar/b_resareas");
CreateNewGraphic(13,"","/zoology/gifs/nav_bar/b_facilities");
CreateNewGraphic(14,"","/zoology/gifs/nav_bar/b_associnstitutions");
CreateNewGraphic(15,"","/zoology/gifs/nav_bar/b_funding");
CreateNewGraphic(16,"","/zoology/gifs/nav_bar/b_people");
CreateNewGraphic(17,"","/zoology/gifs/nav_bar/b_faculty");
CreateNewGraphic(18,"","/zoology/gifs/nav_bar/b_staff");
CreateNewGraphic(19,"","/zoology/gifs/nav_bar/b_gradstudents");
CreateNewGraphic(20,"","/zoology/gifs/nav_bar/b_news");
CreateNewGraphic(21,"","/zoology/gifs/nav_bar/b_events");
CreateNewGraphic(22,"","/zoology/gifs/nav_bar/b_seminars");
CreateNewGraphic(23,"","/zoology/gifs/nav_bar/b_symposium");
CreateNewGraphic(24,"","/zoology/gifs/nav_bar/b_jobs");
CreateNewGraphic(25,"","/zoology/gifs/nav_bar/b_contact");
CreateNewGraphic(26,"","/zoology/gifs/nav_bar/b_specialize");
CreateNewGraphic(27,"","/zoology/gifs/nav_bar/b_ressetting");



function showMOMO(intPage, intLinkPage){
  if (intPage != intLinkPage) {
    return ' onMouseOut="DoMouseOut(' + intLinkPage + ')" onMouseOver="DoMouseOver(' + intLinkPage + ')"';
  }
}
function showOnOff(intPage, intLinkPage){
  if (intPage != intLinkPage) {
    return 'off';
  } else {
    return 'on';
  }
}

function showNavBar(intPage){
document.write('    <!------------ START NAV_BAR ------------>');
document.write('    &nbsp;<BR>');
document.write('    <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="103" ALIGN="LEFT">');
document.write('      <TR>');
document.write('        <TD VALIGN="TOP" align="right"><FONT FACE="verdana, arial, helvetica" SIZE="2" CLASS="text">');
document.write('            <A HREF="/zoology/index.html"' + showMOMO(intPage,1) + '>');
document.write('              <IMG SRC="/zoology/gifs/nav_bar/b_home_' + showOnOff(intPage,1) + '.gif" width="103" height="13" BORDER="0" NAME="img1" ALT="Zoology home"></A><BR>');
document.write('            <IMG border="0" height="8" src="/zoology/gifs/nav_bar/bar.gif" width="103"><BR>');
document.write('            <A HREF="/zoology/mission.htm"' + showMOMO(intPage,2) + '>');
document.write('              <IMG SRC="/zoology/gifs/nav_bar/b_mission_' + showOnOff(intPage,2) + '.gif" width="103" height="13" BORDER="0" NAME="img2" ALT="mission statement"></A><BR>');
document.write('            <IMG border="0" height="8" src="/zoology/gifs/nav_bar/bar.gif" width="103"><BR>');
document.write('            <A HREF="/zoology/education.htm"' + showMOMO(intPage,3) + '>');
document.write('              <IMG SRC="/zoology/gifs/nav_bar/b_education_' + showOnOff(intPage,3) + '.gif" width="103" height="13" BORDER="0" NAME="img3" ALT="education"></A><BR>');
document.write('            <IMG SRC="/zoology/gifs/nav_bar/bar.gif" width="103" height="8" BORDER="0"><BR>');
document.write('              <IMG src="/zoology/gifs/nav_bar/b_people_off.gif" width="103" border="0" height="13" name="img16" alt="people"><BR>');
document.write('            <A HREF="/zoology/faculty/faculty_alpha.htm"' + showMOMO(intPage,17) + '>');
document.write('              <IMG SRC="/zoology/gifs/nav_bar/b_faculty_' + showOnOff(intPage,17) + '.gif" width="103" height="12" BORDER="0" NAME="img17" ALT="Zoology faculty"></A><BR>');
document.write('            <A HREF="/zoology/staff.htm"' + showMOMO(intPage,18) + '>');
document.write('              <IMG SRC="/zoology/gifs/nav_bar/b_staff_' + showOnOff(intPage,18) + '.gif" width="103" height="12" BORDER="0" NAME="img18" ALT="Zoology staff"></A><BR>');
document.write('            <A HREF="/zoology/gradstudents.htm"' + showMOMO(intPage,19) + '>');
document.write('              <IMG SRC="/zoology/gifs/nav_bar/b_gradstudents_' + showOnOff(intPage,19) + '.gif" width="103" height="12" BORDER="0" NAME="img19" ALT="current graduate students"></A><BR>');
document.write('            <IMG SRC="/zoology/gifs/nav_bar/bar.gif" width="103" height="8" BORDER="0"><BR>');
document.write('            <A HREF="/zoology/employment2.htm"' + showMOMO(intPage,24) + '>');
document.write('              <IMG SRC="/zoology/gifs/nav_bar/b_jobs_' + showOnOff(intPage,24) + '.gif" width="103" height="13" BORDER="0" NAME="img24" ALT="job opportunities"></A><BR>');
document.write('            <IMG SRC="/zoology/gifs/nav_bar/bar.gif" width="103" height="8" BORDER="0"><BR>');
document.write('            <A HREF="/zoology/contact.htm"' + showMOMO(intPage,25) + '>');
document.write('              <IMG SRC="/zoology/gifs/nav_bar/b_contact_' + showOnOff(intPage,25) + '.gif" width="103" height="13" BORDER="0" NAME="img25" ALT="contact information"></A><BR>');
document.write('            &nbsp;</FONT>');
document.write('        </TD>');
document.write('      </TR>');
document.write('    </TABLE>');
document.write('    <!------------ END NAV_BAR ------------>');
}


function showBottomNav() {
  // displays the navigation links on the bottom of the page
  document.write('</font><font face="Verdana, Arial, Helvetica" size="2"> <a href="/zoology/index.html">Home</a> ');
  document.write('&#183 </font><font face="Verdana, Arial, Helvetica" size="2"> <a href="/zoology/mission.htm">Mission</a>  ');
  document.write('&#183 </font><font face="Verdana, Arial, Helvetica" size="2"> <a href="/zoology/education.htm">Education</a> ');
  document.write('&#183 </font><font face="Verdana, Arial, Helvetica" size="2"> <a href="/zoology/faculty/faculty_alpha.htm">Faculty</a> ');
  document.write('&#183 </font><font face="Verdana, Arial, Helvetica" size="2"> <a href="/zoology/staff.htm">Staff</a> ');
  document.write('&#183 </font><font face="Verdana, Arial, Helvetica" size="2"> <a href="/zoology/gradstudents.htm">Graduate Students</a> ');
  document.write('&#183 </font><font face="Verdana, Arial, Helvetica" size="2"> <a href="/zoology/employment2.htm">Employment</a> ');
  document.write('&#183 </font><font face="Verdana, Arial, Helvetica" size="2"> <a href="/zoology/contact.htm">Contact</a> ');
  document.write('&#183 </font><font face="Verdana, Arial, Helvetica" size="2"><a href="http://www.hawaii.edu">UH Home</a> ');
}


function showCopyright() {
  // displays the copyright information and email address
  document.write('&copy; University of Hawaii. An equal opportunity employer.<br>');
  document.write('For technical problems with this website contact: ');
  document.write('<a href="mailto:' + user + '@' + domain + '"><font color="#FFFFFF">');
  document.write( user + '@' + domain );
  document.write('</font></a><br>');
}


//-->