if (typeof needDifferentPath == "undefined") {
  var extraPath = '../';
}

if (typeof nav1 != "undefined") {
  document.write('      <table border="0" cellpadding="0" cellspacing="0" width="100%"> ');
  document.write('        <tr> ');
  document.write('          <td class="bgNav0"> ');
  
  document.write('            <!-- begin: table with actual tabs --> ');
  document.write('            <table class="twa mainmenu" border="0" cellpadding="0" cellspacing="0"> ');
  document.write('              <tr> ');
  
  if (nav1 == 1) {
    document.write('                <td class="tabLon"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
    document.write('                <td class="tabMon" nowrap="1"><a href="index.asp" class="tabsOn">Home</a></td> ');
    document.write('                <td class="tabRon"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
  }
  else {
    document.write('                <td class="tabLoff"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
    document.write('                <td class="tabMoff" nowrap="1"><a href="index.asp" class="tabsOff">Home</a></td> ');
    document.write('                <td class="tabRoff"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
  }
    
  document.write('                <td><img src="img/p.gif" width="2" height="1" border="0"></td> ');
 
  if (nav1 == 2) {
  document.write('                <td class="tabLon"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMon" nowrap="1"><a href="Dictionary.asp" class="tabsOn">Dictionary</a></td> ');
  document.write('                <td class="tabRon"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
}
  else {
  document.write('                <td class="tabLoff"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMoff" nowrap="1"><a href="Dictionary.asp" class="tabsOff">Dictionary</a></td> ');
  document.write('                <td class="tabRoff"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
  }
  
  document.write('                <td><img src="img/p.gif" width="2" height="1" border="0"></td> ');

  if (nav1 == 3) {
  document.write('                <td class="tabLon"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMon" nowrap="1"><a href="Stocks.asp" class="tabsOn">Stocks</a></td> ');
  document.write('                <td class="tabRon"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
}
  else {
  document.write('                <td class="tabLoff"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMoff" nowrap="1"><a href="Stocks.asp" class="tabsOff">Stocks</a></td> ');
  document.write('                <td class="tabRoff"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');  
  }
  
  document.write('                <td><img src="img/p.gif" width="2" height="1" border="0"></td> ');

  if (nav1 == 4) {
  document.write('                <td class="tabLon"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMon" nowrap="1"><a href="Mutual_Funds.asp" class="tabsOn">Mutual Funds</a></td> ');
  document.write('                <td class="tabRon"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
}
  else {
  document.write('                <td class="tabLoff"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMoff" nowrap="1"><a href="Mutual_Funds.asp" class="tabsOff">Mutual Funds</a></td> ');
  document.write('                <td class="tabRoff"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
  }  

  document.write('                <td><img src="img/p.gif" width="2" height="1" border="0"></td> ');

  if (nav1 == 5) {
  document.write('                <td class="tabLon"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMon" nowrap="1"><a href="Bonds.asp" class="tabsOn">Bonds</a></td> ');
  document.write('                <td class="tabRon"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
}
  else {
  document.write('                <td class="tabLoff"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMoff" nowrap="1"><a href="Bonds.asp" class="tabsOff">Bonds</a></td> ');
  document.write('                <td class="tabRoff"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
  }  

  document.write('                <td><img src="img/p.gif" width="2" height="1" border="0"></td> ');

 if (nav1 == 6) {
  document.write('                <td class="tabLon"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMon" nowrap="1"><a href="Contact.asp" class="tabsOn">Contact Us</a></td> ');
  document.write('                <td class="tabRon"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
}
  else {
  document.write('                <td class="tabLoff"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMoff" nowrap="1"><a href="Contact.asp" class="tabsOff">Contact Us</a></td> ');
  document.write('                <td class="tabRoff"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
  }  

  document.write('                <td><img src="img/p.gif" width="2" height="1" border="0"></td> ');

  if (nav1 == 7) {
  document.write('                <td class="tabLon"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMon" nowrap="1"><a href="Sitemap.asp" class="tabsOn">Sitemap</a></td> ');
  document.write('                <td class="tabRon"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
}
  else {
  document.write('                <td class="tabLoff"><img src="img/p.gif" width="15" height="23" border="0"></td> ');
  document.write('                <td class="tabMoff" nowrap="1"><a href="Sitemap.asp" class="tabsOff">Sitemap</a></td> ');
  document.write('                <td class="tabRoff"><img src="img/p.gif" width="15" height="23" border="0" /></td> ');
  }  

  document.write('                <td><img src="img/p.gif" width="2" height="1" border="0"></td> ');



  document.write('                <td width="100%"  class="mainmenu"><img src="img/p.gif" width="1" height="1" border="0"></td> ');
 

  document.write('                <td><img src="img/p.gif" width="10" height="1" border="0"></td> ');
  document.write('              </tr> ');
  document.write('            </table> ');
  document.write('            <!-- end: table with actual tabs --> ');
  
  document.write('          </td> ');
  document.write('        </tr> ');
  document.write('      </table> ');
}

else { 
  alert('Please, define nav1 in this HTML file.')
}

