Hey i was wondering if someone could help

I currently have a drop down that when clicked displays the data of an excel database. This has been written in asp and javascript.

Everytime the drop down is clicked for another value on the drop down, the result will change. What i am trying to do is have a hyperlink beside the result. My output is displayed as spancust.

What i am trying to do is open a document like so
\\myserver\Document\$custnames[b][1] ".doc"

custnames[b][1] will change everytime the drop down is click.

Code:
strPath = "\\myserver\Document\"
spancust += ("<b>SheetForm1: </b> " + custnames[b][1] + "<br />");
The code for the application looks like this

Code:
<%@ LANGUAGE=VBSCRIPT %>
<%Option Explicit%>

<% 
' ### Set excel Connection ###
DIM connXLS, strPath, strPathFile, rs, strSql, CustomerArray, ct, c, strAddDetails, a
strAddDetails = 1
Set connXLS = Server.CreateObject("ADODB.connection")
connXLS.Open "Driver={Microsoft Excel Driver (*.xls)}; DriverId=790;DBQ=\\myserver\C$\Program Files\Excel Spreadsheets\Forms.xls"
Set rs = Server.CreateObject("ADODB.recordset")
 
strSql = "SELECT SheetForm1, SheetForm2, SheetForm3, SheetForm4, SheetForm5, SheetForm6, SheetForm7, SheetForm8, SheetForm9, SheetForm10, SheetForm11, SheetForm12, SheetForm13, SheetForm14, SheetForm15" _
& " FROM customer_range" _
& " ORDER BY SheetForm2"
rs.Open strSql, connXLS

CustomerArray = rs.GetRows()
ct = Ubound(CustomerArray,2)

rs.Close
connXLS.Close
set rs = nothing
set connXLS = nothing

strAddDetails = 2
%>
<html>
<head>
<meta http-equiv="Content-Language" content="en-gb">
<title>Excel Test Page</title>
<script language="javascript">
function getdetails() {
	var cust = document.getElementById("customers").value;
	<%if strAddDetails = 2 then%>
		var custnames = new Array(15);
		<%for c = 0 to ct%>
			custnames[<%=c%>] = new Array(15);
			custnames[<%=c%>][0] = "<%=CustomerArray(0, c)%>";
			custnames[<%=c%>][1] = "<%=CustomerArray(1, c)%>";
			custnames[<%=c%>][2] = "<%=CustomerArray(2, c)%>";
			custnames[<%=c%>][3] = "<%=CustomerArray(3, c)%>";
			custnames[<%=c%>][4] = "<%=CustomerArray(4, c)%>";
			custnames[<%=c%>][5] = "<%=CustomerArray(5, c)%>";
			custnames[<%=c%>][6] = "<%=CustomerArray(6, c)%>";
			custnames[<%=c%>][7] = "<%=CustomerArray(7, c)%>";
			custnames[<%=c%>][8] = "<%=CustomerArray(8, c)%>";
			custnames[<%=c%>][9] = "<%=CustomerArray(9, c)%>";
			custnames[<%=c%>][10] = "<%=CustomerArray(10, c)%>";
			custnames[<%=c%>][11] = "<%=CustomerArray(11, c)%>";
			custnames[<%=c%>][12] = "<%=CustomerArray(12, c)%>";
			custnames[<%=c%>][13] = "<%=CustomerArray(13, c)%>";
			custnames[<%=c%>][14] = "<%=CustomerArray(14, c)%>";
			custnames[<%=c%>][15] = "<%=CustomerArray(15, c)%>";
		<%next%>
	<%end if%>
	var spancust = "";
	if (document.getElementById("customers").selectedIndex > 0) {
		var sc;
		<%if strAddDetails = 2 then%>
			for (var b =0;b<=<%=ct%>;b++) {
				sc = custnames[b][0];
				if (sc == cust) {
				if (custnames[b][1] != '') {
					spancust += ("<b>SheetForm1: </b> " + custnames[b][1] + "<br />");}
				if (custnames[b][2] != '') {
					spancust += ("<b>SheetForm2: </b> " + custnames[b][2] + "<br />");}
				if (custnames[b][3] != '') {
					spancust += ("<b>SheetForm3: </b> " + custnames[b][3] + "<br />");}
				if (custnames[b][4] != '') {
					spancust += ("<b>SheetForm4: </b> " + custnames[b][4] + "<br />");}
				if (custnames[b][5] != '') {
					spancust += ("<b>SheetForm5: </b> " + custnames[b][5] + "<br />");}
				if (custnames[b][6] != '') {
					spancust += ("<b>SheetForm6: </b> " + custnames[b][6] + "<br />");}
				if (custnames[b][7] != '') {
					spancust += ("<b>SheetForm7: </b> " + custnames[b][7] + "<br />");}
				if (custnames[b][8] != '') {
					spancust += ("<b>SheetForm8: </b> " + custnames[b][8] + "<br />");}
				if (custnames[b][9] != '') {
					spancust += ("<b>SheetForm9: </b> " + custnames[b][9] + "<br />");}
				if (custnames[b][10] != '') {
					spancust += ("<b>SheetForm10: </b> " + custnames[b][10] + "<br />");}
				if (custnames[b][11] != '') {
					spancust += ("<b>SheetForm11: </b> " + custnames[b][11] + "<br />");}
				if (custnames[b][12] != '') {
					spancust += ("<b>SheetForm12: </b> " + custnames[b][12] + "<br />");}
				if (custnames[b][13] != '') {
					spancust += ("<b>SheetForm13: </b> " + custnames[b][13] + "<br />");}
				if (custnames[b][14] != '') {
					spancust += ("<b>SheetForm14: </b> " + custnames[b][14] + "<br />");}
				if (custnames[b][15] != '') {
					spancust += ("<b>SheetForm15: </b> " + custnames[b][15] + "<br />");}
				}
			}
		<%end if%>
	}
	document.getElementById("customerspan").innerHTML = spancust;
}
</script>
</head>
<body>
<center>
	<p>&nbsp;</p>
	<p>&nbsp;</p>
	<p>
		<select name="customers" onchange="getdetails()">
			<option></option>
			<%for a = 0 to ct
				if trim(CustomerArray(0,a)) <> "" then
				%><option value="<%=CustomerArray(0, a)%>"><%=CustomerArray(0, a)%></option><%
				end if
			next%>
		</select>
	</p>
	<p><span id="customerspan"></span></p>
</center>
</body>
</html>