var links = new Array(); var count = 0;
// define hyperlinks for sections: *********************
section="products";
newLink ("DSL Products","homeprod_dsl.htm");
newLink ("SpeedTouch 330","prod330.htm");
newLink ("SpeedTouch 350","prod350360.htm");
newLink ("SpeedTouch 360","prod350360.htm");
newLink ("SpeedTouch 510","prod510.htm");
newLink ("SpeedTouch 516","prod516.htm");
newLink ("SpeedTouch 530","prod530.htm");
newLink ("SpeedTouch 536","prod536.htm");
newLink ("SpeedTouch 546","prod546.htm");
newLink ("SpeedTouch 576","prod576.htm");
newLink ("SpeedTouch 580","prod580.htm");
newLink ("SpeedTouch 585","prod585.htm");
newLink ("SpeedTouch 605","prod605.htm");
newLink ("SpeedTouch 605s","prod605s.htm");
newLink ("SpeedTouch 608","prod608.htm");
newLink ("SpeedTouch 610","prod610.htm");
newLink ("SpeedTouch 615s","prod615s618s.htm");
newLink ("SpeedTouch 618s","prod615s618s.htm");
newLink ("SpeedTouch 620","prod620.htm");
newLink ("SpeedTouch 690s","prod690s.htm");
newLink ("SpeedTouch 716(g)","prod716.htm");
newLink ("Networking Products","homeprod_net.htm");
newLink ("SpeedTouch 110g","prod110g.htm");
newLink ("SpeedTouch 120g","prod120g.htm");
newLink ("SpeedTouch 121g","prod121g.htm");
newLink ("SpeedTouch 180","prod180.htm");
newLink ("SpeedTouch 190","prod190.htm");
newLink ("SpeedTouch 210i","prod210i.htm");
newLink ("SpeedTouch 280","prod280282.htm");
newLink ("SpeedTouch 282","prod280282.htm");
newLink ("SpeedTouch Home","prodhome.htm");
newLink ("SpeedTouch PC","prodpc.htm");
newLink ("SpeedTouch Pro","prodpro.htm");
newLink ("SpeedTouch Pro with firewall","prodprofw.htm");
newLink ("SpeedTouch Pro with firewall SHDSL","prodprofwshdsl.htm");
newLink ("SpeedTouch 100","prod100.htm");
newLink ("SpeedTouch 105","prod105.htm");
newLink ("SpeedTouch 110","prod110.htm");
newLink ("SpeedTouch 120","prod120.htm");
newLink ("SpeedTouch 140","prod140.htm");
newLink ("SpeedTouch 545","prod545.htm");
newLink ("SpeedTouch 570","prodwireless.htm");
newLink ("SpeedTouch 591s","prodplnt.htm");
newLink ("SpeedTouch 710","prodiad.htm");
newLink ("SpeedTouch USB","produsb.htm");





section="support";
newLink ("About DSL","about_dsl.htm");
newLink ("About ADSL","about_adsl.htm");
newLink ("About SHDSL","about_shdsl.htm");
newLink ("Downloads","support.htm");
newLink ("FAQ","supfaq.htm");


// *****************************************************
function linkObj(description,hyperlink,thisSection) { if (!thisSection) thisSection = section; this.description = description; this.hyperlink = hyperlink; this.section = thisSection;}
function newLink(description,hyperlink,thisSection) {links[count] = new linkObj (description,hyperlink,thisSection); count++; }

// Original function
/*
function dropdownBox (thisSection)
{
	document.write("<FORM>\n");
	document.write ("<select class='adsldata' name='select"+thisSection+"' onChange='goTo(this)'>\n");
	document.write ("<option value='' selected>"+thisSection+"</option>\n");
	for (var i=0; i<links.length; i++)
		if (links[i].section.toLowerCase().indexOf(thisSection)>=0)
			document.write("<option value='"+i+"'>"+links[i].description+"</option>\n");
	document.write ("</select></TD>\n<TD class='adsllinkhome'></FORM>");
}
*/
function dropdownBox (thisSection)
{
//	document.write("<FORM class=\"adsldata\">\n");
	document.write ("<select class=\"adsldata\" name='select"+thisSection+"' onChange='goTo(this)' valign=\"bottom\">\n");
	document.write ("<option value='' selected>"+thisSection+"</option>\n");
	for (var i=0; i<links.length; i++)
		if (links[i].section.toLowerCase().indexOf(thisSection)>=0)
			document.write("<option value='"+i+"'>"+links[i].description+"</option>\n");
	document.write ("</select>\n");
//	document.write ("</FORM>\n");
}

function goTo(obj) {var h = parseInt(obj.options[obj.selectedIndex].value,10);	if (h>=0) top.location.href=links[h].hyperlink}

