var sTitle = "About Us";

var links = new Array (
  "history.htm",
  "board.htm",
  "contact.htm"
 );

var links_text = new Array (
  "<b>History</b>",
  "<b>Board of Directors</b>",
  "<b>Contact</b>"
 );

var links_url = new Array (
  "history.htm",
  "board.htm",
  "contact.htm"
 );

var loc=String(this.location);
loc=loc.split("/");
loc=loc[loc.length-1].split(",");
//document.write(loc);


function qiksearch_menu_gen()
{
 document.write('<br><br><br>');
 //this is the border line above the menu
 // document.write('<table width="170" border="0" cellpadding="0" cellspacing="0" background="../images/tackice_gray.gif"><tr><td><img src="../images/tackice_gray.gif"></td></tr></table>');
 // document.write('<br>&nbsp&nbsp&nbsp<span class="menuTitle">ABOUT </span><br><br>');
 for(var i=0; i<links.length; i++)
 {
 // the '-' in link name identifies the subitem. If it's not a subitem then write dashed line.

 if(links[i].indexOf("-") == -1)
 {
 document.write('<table width="170" border="0" cellpadding="0" cellspacing="0" background="../images/tackice_gray.gif"><tr><td><img src="../images/tackice_gray.gif"></td></tr></table>');
 }
 if(loc==links[i])
  {
   document.write('<table class="explorer_active" onmouseover="this.className=&#39;explorer_active&#39;;return true" onmouseout="this.className=&#39;explorer_active&#39;;return true" onmousedown="this.className=&#39;explorer_active&#39;;return true" onclick="location.href=&#39;'
   + links_url[i] + '&#39;"><tr><td><a href="' + links_url[i] + '" class="menu">'
   + links_text[i] + '</a></td></tr></table>');
   links_text[i] = links_text[i].replace("&nbsp;&nbsp;&nbsp;&nbsp;","");
   document.write('<input type="hidden" id="lt" name ="lt" value="' + links_text[i] + '">');
  }
  else
    {
     document.write('<table class="explorer" onmouseover="this.className=&#39;explorer_over&#39;;return true" onmouseout="this.className=&#39;explorer&#39;;return true" onmousedown="this.className=&#39;explorer_down&#39;;return true" onclick="location.href=&#39;'
     + links_url[i] + '&#39;"><tr><td><a href="' + links_url[i] + '" class="menu">'
     + links_text[i] + '</a></td></tr></table>');
  }
 }
  //this is below menu
  document.write('<br><br><br><br><br>');
}

qiksearch_menu_gen();




