var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
//alert(dir)
var dot_html = location.href.substring(dir.length,location.href.length+1).toUpperCase();
//alert(dot_html)
var doc_idx = dot_html.substring(0,2)
var doc_idx2 = dot_html.substring(0,4)
//alert(doc_idx)
if (doc_idx == '  ')
  {doc_idx = 'HO'}
if (doc_idx == ' ')
  {doc_idx = 'HO'}
if (doc_idx == '')
  {doc_idx = 'HO'}
if (dot_html == 'INDEX.HTML')
  {doc_idx = 'HO'}
//alert(doc_idx)
ha=12
hb=8
hc=14
document.write('<table class="noprint" cellpadding="5" cellspacing="10" align="center"><tr>')
// J_TO Tours
document.write('<td align="left" background="'+urlbase+'menu/buttons/')
if (doc_idx2 == 'J_TO')
  {document.write('yellow');
   var my_img = 'bear_paw_rt'}
else
  {document.write('green')
   var my_img = 'spacer'}
document.write('_button.png" height="12" width="80"><font class="ybjss" size=-1>&nbsp;</font>')
document.write('<img src="'+urlbase+'menu/buttons/')
document.write(my_img)
document.write('.gif" alt="EcoTours" width="9" height="8">')
document.write('<font size=-1>&nbsp;</font>')
document.write('<font size=-1><a href="'+urlbase+'j_tours.html">Tours</a></font>')
document.write('</td>')
// J_JO Tours
document.write('<td align=left background="'+urlbase+'menu/buttons/')
if (doc_idx2 == 'J_JO')
  {document.write('yellow');
   var my_img = 'bear_paw_rt'}
else
  {document.write('green')
   var my_img = 'spacer'}
document.write('_button.png" height=12 width=80><font class="ybjss" size=-1>&nbsp;</font>')
document.write('<img src="'+urlbase+'menu/buttons/')
document.write(my_img)
document.write('.gif" alt="EcoJourneys" width=9 height=8>')
document.write('<font size=-1>&nbsp;</font>')
document.write('<font size=-1><a href="'+urlbase+'j_journeys.html">Journeys</a></font>')
document.write('</td>')
// J_VO Tours
document.write('<td align=left background="'+urlbase+'menu/buttons/')
if (doc_idx2 == 'J_VO')
  {document.write('yellow');
   var my_img = 'bear_paw_rt'}
else
  {document.write('green')
   var my_img = 'spacer'}
document.write('_button.png" height=12 width=80><font class="ybjss" size=-1>&nbsp;</font>')
document.write('<img src="'+urlbase+'menu/buttons/')
document.write(my_img)
document.write('.gif" alt="EcoVoyages" width=9 height=8>')
document.write('<font size=-1>&nbsp;</font>')
document.write('<font size=-1><a href="'+urlbase+'j_voyages.html">Voyages</a></font>')
document.write('</td>')
document.write('</tr><tr>')
// J_DE Details
document.write('<td align=left background="'+urlbase+'menu/buttons/')
if (doc_idx2 == 'J_DE')
  {document.write('yellow');
   var my_img = 'bear_paw_rt'}
else
  {document.write('green')
   var my_img = 'spacer'}
document.write('_button.png" height=12 width=80><font class="ybjss" size=-1>&nbsp;</font>')
document.write('<img src="'+urlbase+'menu/buttons/')
document.write(my_img)
document.write('.gif" alt="Details" width=9 height=8>')
document.write('<font size=-1>&nbsp;</font>')
document.write('<font size=-1><a href="'+urlbase+'index.html">Details</a></font>')
document.write('</td>')
document.write('<td align=left background="'+urlbase+'menu/buttons/')
if (doc_idx2 == 'J_CU')
  {document.write('yellow');
   var my_img = 'bear_paw_rt'}
else
  {document.write('green')
   var my_img = 'spacer'}
document.write('_button.png" height=12 width=80><font class="ybjss" size=-1>&nbsp;</font>')
document.write('<img src="'+urlbase+'menu/buttons/')
document.write(my_img)
document.write('.gif" alt="Custom" width=9 height=8>')
document.write('<font size=-1>&nbsp;</font>')
document.write('<font size=-1><a href="'+urlbase+'j_customized.html">Customized</a></font>')
document.write('</td>')
document.write('<td align=left background="'+urlbase+'menu/buttons/')
if (doc_idx2 == 'J_RE')
  {document.write('yellow');
   var my_img = 'bear_paw_rt'}
else
  {document.write('green')
   var my_img = 'spacer'}
document.write('_button.png" height=12 width=80><font class="ybjss" size=-1>&nbsp;</font>')
document.write('<img src="'+urlbase+'menu/buttons/')
document.write(my_img)
document.write('.gif" alt="Travel Research and Consulting" width=9 height=8>')
document.write('<font size=-1>&nbsp;</font>')
document.write('<font size=-1><a href="'+urlbase+'j_research.html">Research</a></font>')
document.write('</td>')
document.write('</tr></table>')

