//configure below variable for menu width, position on page
var menuwidth=119
var offsettop=10
//check for browser version
var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0


//write the correct code for the browser version
if (ie4||ns6) {document.write('<span ALIGN="CENTER" ID="object1" STYLE="Z-Index:5;cursor:hand;"><TABLE width="119" >')}
else if (ns4){ document.write('<LAYER top="20" name="object1" left="0" ><TABLE BORDER="0"><TR><TD><TABLE width="110">')}


var menui = new Array();
var menul = new Array();

//configure below for menu items. Extend list as desired
//configure below for menu items. Extend list as desired
//Note [escape] all not alpha characters i.e. \'s  \" or &amp;
//Keep names short enough not to overflow the box space max 18 characters.
//Max 14 menu items not to overflow box
menui[0]="Products";
menui[1]="Support";
menui[2]="Orders";
menui[3]="Download";
menui[4]="FAQ";
menui[5]="Technical";
menui[6]="Links";
menui[7]="Contacts";
menui[8]="Terms";
menui[9]="Site Map";


menul[0]="http://lakestelecom.net?action=products";
menul[1]="http://lakestelecom.net?action=support";
menul[2]="http://lakestelecom.net?action=order";
menul[3]="http://lakestelecom.net?action=download";
menul[4]="http://lakestelecom.net/cgi-bin/faq/faqmanager.cgi";
menul[5]="http://lakestelecom.net?action=technical";
menul[6]="http://lakestelecom.net?action=links";
menul[7]="http://lakestelecom.net?action=contact";
menul[8]="http://lakestelecom.net?action=terms";
menul[9]="http://lakestelecom.net?action=uc";


// generate menu items
for (i=0;i<=menui.length-1;i++)
if (ie4||ns6) {
var fileName = location.pathname.substring(location.pathname.lastIndexOf('/')+1)
var menuName = menul[i].substring(menul[i].lastIndexOf('/')+1)
switch (menuName) 
  {
  case fileName:
    document.write('<TR><TD bgcolor="white" height="18" ONCLICK="location=\''+menul[i]+'\'')
    document.write('" onmouseover="className=\'menuh\'" onMouseout="className=\'menuh\'">')
    document.write('<CENTER><font size=-2 color=black><b>'+menui[i]+'</b></font></TD></TR>')
		break
  default :
    document.write('<TR><TD height="18" ONCLICK="location=\''+menul[i]+'\'')
    document.write('" onmouseover="className=\'menuh\'" onMouseout="className=\'menuz\'">')
    document.write('<CENTER><font size=-2 color=black><b>'+menui[i]+'</b></font></TD></TR>')
		break
  }
}
else if (ns4){document.write('<TR><TD height="18" BGCOLOR="white"><ILAYER><LAYER width="110" onmouseover="bgColor=\'white\'" onmouseout="bgColor=\'#8FE177\'"><CENTER><font size=-2 color=black><A HREF="'+menul[i]+'" class=menulinks><font size=-2 color=black>'+menui[i]+'</b></font></A></CENTER></LAYER></ILAYER></TD></TR>')}

if (ie4||ns6) {document.write('</TABLE></span>')}
else if (ns4){document.write('</TABLE></TD></TR></TABLE></LAYER>')}

//-->
