refSource="http://www.tala.ox.ac.uk/";
hasSubItem="no"
SubItemHTM=""
MenuCount=0
tempBar=""
for (i=0;i<barText.length;i++) {
  tempBar+=barText.substring(i, i+1)+"<BR>"
}

if(screen.height<601) {
  hdrRowHeight="0";
  linkSubRowHeight="0";
  linkRowHeight="0";
  menuIsStatic="no";
}

//DEFAULT PAGESTYLE
//Header
  document.write('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">')
  document.write('<tr><td bgcolor="#000080" colspan="2">&nbsp;</td></tr>')
  document.write('<tr><td colspan="2">&nbsp;</td></tr>')
  document.write('<tr><td valign="top">')
  document.write('<p align="right" class="OxAc">University of Oxford</p></td>')
  document.write('<td width="1">')
  document.write('<p align="center">')
  document.write('<img border="0" src="'+refSource+'images/logos/oxford.gif" align="center" width="90" height="109"></td></tr></table>')
//TALA Logo
  document.write('<span style="position: absolute; left: 28; top: 50">')
  document.write('<IMG border="0" SRC="'+refSource+'images/logos/tala.gif" width="181" height="61"></span>')
//Background
  if (docShowBackground !== "NO") {
    document.write('<p><span style="position: absolute; left: -18; top: 4; z-index:-1">')
    document.write('<img border="0" src="'+refSource+'images/background.gif" align="center" ; z-index:-10; width="413" height="385"></span>')
    //TSETSE
    document.write('<span style="position: absolute; left: 179; top: 186">')
    document.write('<img border="0" src="'+refSource+'images/tsetse.gif" align="center" ; z-index:-9 width="125" height="60"></span></p>')
  }

//CREATE MENU
  if (IE) {document.write('<DIV ID="ssm2" style="visibility:hidden;Position : Absolute ;Left : 0px ;Top : '+YOffset+'px ;Z-Index : 20;width:1px; border-style: solid; border-width: 1" onmouseover="moveOut()" onmouseout="moveBack()">')}
  if (NS) {document.write('<LAYER visibility="hide" top="'+YOffset+'" name="ssm2" bgcolor="'+menuBGColor+'" left="0" onmouseover="moveOut()" onmouseout="moveBack()">')}
  document.write('<table border="0" cellspacing="'+menuCellSpacing+'" width="'+(menuWidth+barTitleWidth+2)+'" bgcolor="'+menuBGColor+'">')
  document.write('<tr><td align="center" bgcolor="'+hdrBGColor+'" WIDTH="'+menuWidth+'">&nbsp;<font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b>'+menuHeader+'</b></font></td>')
  document.write('<td align="center" valign="top" rowspan="100" width="'+barTitleWidth+'" bgcolor="'+barBGColor+'"><p align="center"><font face="'+barFontFamily+'" Size="'+barFontSize+'" COLOR="'+barFontColor+'"><B>'+tempBar+'</B></font></TD></tr>')

function addItem(text, link, target) {
  if (hasSubItem=="yes") {SubItemHTM += '</TABLE></DIV>'}
  hasSubItem="no"
  MenuCount=MenuCount+1
  if (!target) {target=linkTarget}
  if (!link) {link="javascript: nolink();"}
  else {link=refSource+link}
  document.write('<TR HEIGHT="'+linkRowHeight+'"><TD ID="m'+MenuCount+'" onmouseover="javascript: showsubmenu()" BGCOLOR="'+linkBGColor+'"><img id="pm'+MenuCount+'" style="display: none" border="0" src="images/sm.gif" valign="middle" align="right"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'">&nbsp;<A HREF="'+link+'" target="'+target+'" CLASS="ssm2Items">'+text+'</A>')
}

function addSubItem(text, link, target) {
  if (hasSubItem=="no") {
    document.all('pm'+MenuCount).style.display=""
    SubItemHTM += '<DIV id="sm'+MenuCount+'"  style="border-style:solid; border-width:1; position: absolute; left: -300; top: 0; width='+menuWidth+'; z-index:21; display: none; background-color: '+linkBGColor+'">'
    SubItemHTM += '<TABLE  width="'+menuWidth+'" border="0" cellpadding="0" cellspacing="'+menuCellSpacing+'" bgcolor="'+menuBGColor+'">'
    hasSubItem="yes"
  }
  if (!target) {target=linkTarget}
  if (!link) {link="javascript: nolink();"}
  else {link=refSource+link}
  SubItemHTM += '<TR><TD height="'+linkSubRowHeight+'" onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" BGCOLOR="'+linkBGColor+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'">&nbsp;<A HREF="'+link+'" target="'+target+'" CLASS="ssm2Items">'+text+'</A></FONT></TD></TR>'
}

function addHdr(text) {
  if (hasSubItem=="yes") {SubItemHTM += '</TABLE></DIV>'}
  hasSubItem="no"
  document.write('<TR HEIGHT="'+hdrRowHeight+'"><td onmouseover="showsubmenu()" bgcolor="'+hdrBGColor+'" WIDTH="140">&nbsp;<font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b>'+text+'</b></font></td></tr>')
}

//MenuLines

addHdr('Home');
addItem('Welcome', 'index.htm', '');
addItem('TALA Research group', 'about.htm', '');
addItem('TALA Origins', 'about2.htm', '');
addHdr('Global studies');
addItem('Global studies', 'globalstudies/globalstudies.htm', '');
addSubItem('Global changes', 'globalstudies/global.htm', '');
addSubItem('Global malaria', 'globalstudies/globalmalaria.htm', '');
addHdr('Regional studies');
addItem('North america', '', '');
addSubItem('Hanta virus', 'regionalstudies/northamerica/hantavirus.htm', '');
addSubItem('Asian tiger mosquito', 'regionalstudies/northamerica/atm.htm', '');
addSubItem('West Nile Virus', 'regionalstudies/northamerica/westnile.htm', '');
addSubItem('West Nile Virus Animation USA', 'regionalstudies/northamerica/westnile_ani.htm', '');
addSubItem('West Nile Virus Animation Canada', 'regionalstudies/northamerica/canada-westnile_ani.htm', '');
addItem('South america', '', '');
addSubItem('Chagas disease vector', 'regionalstudies/southamerica/chagas.htm', '');
addItem('Europe', '', '');
addSubItem('Bovine Tuberculosis', 'regionalstudies/europe/bovine.htm', '');
addSubItem('Tick-Borne Encephalitis', 'regionalstudies/europe/tbe.htm', '');
addSubItem('Blue Tongue Virus', 'regionalstudies/europe/btv.htm', '');
addItem('Africa', '', '');
addSubItem('Mosquitoes', 'regionalstudies/africa/agm.htm', '');
addSubItem('Malaria', 'regionalstudies/africa/malaria.htm', '');
addSubItem('Tsetse', 'regionalstudies/africa/tsetse.htm', '');
addSubItem('Schistosoma haematobium', 'regionalstudies/africa/sh.htm', '');
addSubItem('Ascaris lumbricoides', 'regionalstudies/africa/al.htm', '');
addItem('Middle East', '', '');
addSubItem('Old World Screwworm', 'regionalstudies/middle east/ows.htm', '');
addItem('Far East', '', '');
addSubItem('Geohelminth', 'regionalstudies/far east/geohelminth.htm', '');


if (hasSubItem=="yes") {SubItemHTM += '</TABLE></DIV>'}
hasSubItem="no"
document.write('<tr><td bgcolor="'+hdrBGColor+'"><font size="0" face="Arial">&nbsp;</font></td></TR></table>')
document.write(SubItemHTM)
if (IE) {document.write('</DIV>')}
if (NS) {document.write('</LAYER>')}
if ((IE||NS) && (menuIsStatic=="yes"&&staticMode)) {makeStatic(staticMode);}

