
      if( headerLevel == 0 ) {
   x = ""; }
 else if( headerLevel == 1 ) {
   x = "../"; }
 else if( headerLevel == 2 ) {
   x = "../../"; }
 else if( headerLevel == 3 ) {
   x = "../../../"; }

arrowL = "<img src=\"" + x + "arrowL.gif\" border=\"0\">";
arrowR = "<img src=\"" + x + "arrowR.gif\" border=\"0\">";

subjects = new Object();
subjects[0] = "Main Text";
subjects[1] = "Example Plots &amp; Links";
subjects[2] = "MGSVA Seasonal Plots";

//document.writeln('<p>');
document.writeln('<blockquote>');
document.writeln('<table id="table0" align="center">');

// 1) Title / Current Name
document.writeln('<tr><td align="center" colspan="3">');
// Atlantic
     if( Current == "Gulf Stream" ) {
document.writeln('<font size="+2"><b>The ',Current,'</b></font>');
       }
else if( Current == "Loop Current" ) {
document.writeln('<font size="+2"><b>The ',Current,'</b></font>');
       }
else if( Current == "North Equatorial CC" ) {
document.writeln('<font size="+2"><b>The North Equatorial Counter Current</b></font>');
       }
else if( Current == "Norwegian/N Cape" ) {
document.writeln('<font size="+2"><b>The Norwegian &amp; North Cape Currents</b></font>');
       }
else if( Current == "Portugal System" ) {
document.writeln('<font size="+2"><b>The Portugal Current System</b></font>');
       }
else if( Current == "South Equatorial System" ) {
document.writeln('<font size="+2"><b>The South Equatorial Current System</b></font>');
       }
else if( Current == "Subtropical CC" ) {
document.writeln('<font size="+2"><b>The Subtropical Counter Current</b></font>');
       }
// Pacific
else if( Current == "Alaska" ) {
document.writeln('<font size="+2"><b>The Alaska Current System</b></font>');
       }
else if( Current == "Hawaiian" ) {
document.writeln('<font size="+2"><b>The Hawaiian Current System</b></font>');
       }
else   {
document.writeln('<font size="+2"><b>The ',Current,' Current</b></font>');
       }
document.writeln('</td></tr>');

// 2) Authors
   if( titlebar == 1 ) {
document.writeln('<tr><td align="center" colspan="3">');
document.writeln('<font size="-1"><b>',authors,'</b></font>');
document.writeln('</td></tr>');
   }
   else {
document.writeln('<tr><td align="center" colspan="3">');
document.writeln('<font size="-1"><b>','&nbsp;','</b></font>');
document.writeln('</td></tr>');
   }

// 3) Navigation line
document.writeln('<tr><td align="left" valign="bottom">');
document.writeln('<a href="',PreviousPage,'">');
document.writeln(arrowL,arrowL,arrowL,'<br><font size="-2" color="#990000"><b>Previous Page</b></font></a>');
document.writeln('</td><td align="center">');
document.writeln('<font size="-2"><b><br>');

   if( titlebar == 1 ) {
document.writeln('<font color="#FF9900">',subjects[0],'</font>&nbsp;|&nbsp;');
   }
   else {
document.writeln('<a href="',cname,'.html"><font color="#990000">',subjects[0],'</font></a>&nbsp;|&nbsp;');
   }
   if( titlebar == 2 ) {
document.writeln('<font color="#FF9900">',subjects[1],'</font>&nbsp;|&nbsp;');
   }
   else {
document.writeln('<a href="',cname,'_2.html"><font color="#990000">',subjects[1],'</font></a>&nbsp;|&nbsp;');
   }
   if( titlebar == 3 ) {
document.writeln('<font color="#FF9900">',subjects[2],'</font>');
   }
   else {
document.writeln('<a href="',cname,'_3.html"><font color="#990000">',subjects[2],'</font></a>');
   }

document.writeln('</b></font>');
document.writeln('</td><td align="right" valign="bottom">');
document.writeln('<a href="',NextPage,'">');
document.writeln(arrowR,arrowR,arrowR,'<br><font size="-2" color="#990000"><b>Next Page</b></font></a>');
document.writeln('</td></tr>');

document.writeln('</table>');
document.writeln('</blockquote>');

