Anto
12-09-2006, 10:52 AM
Hi all,
Thank you all so much for your help so far.
The script contains panels (there will be a lot more than whats there now) with various components repeated in the panels. Each component has an associated price. If the price of a component changes, this means that I will have to update the price right throughout the script. This leaves me open to missing one.
Is there any way I can get the individual components to read their price from a master price i.e when I change the master all the rest will change??
Example component:
<option value="5.73" selected>Male XLR</option>
This appears is several locations so it would be great to change one price for this and they all change
Any other suggestion very welcome as I'm really scraping my way through this but having a bit of fun learning.
Anto
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function doMath(s) {
var form = document.getElementsByName(s)[0];
var one = parseFloat(form.con1.value);
var two = parseFloat(form.cable.value);
var three = parseFloat(form.length.value);
var four = parseFloat(form.con2.value);
var five = 0.0;
if (form.con3) {
five = parseFloat(form.con3.value);
}
var prod = (two * three) + one + four + five;
form.amount.value=custRound(prod,3);
}
function custRound(x,places) {
return (Math.round(x*Math.pow(10,places)))/Math.pow(10,places)
}
// End -->
</SCRIPT>
</head>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000000" text="#000000">
<CENTER>
<FORM NAME="single">
<table width="64%" border="0">
<tr>
<td><div align="center"><font color="#CCCCCC" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong><em><u>Single
Cables</u></em></strong></font></div></td>
</tr>
</table>
<table width="58%" height="111" border="0" bordercolor="#FFFFFF" bgcolor="#000000">
<tr>
<td height="107"><div align="center">
<table width="609" height="105" border="0" cellspacing="0">
<tr bgcolor="#FFCC66">
<td width="177" height="27" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
1-- </font></div></td>
<td width="132" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Cable
Type-- </font></div></td>
<td width="126" valign="bottom" bgcolor="#3399CC"><p align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Length/Meter--</font></p></td>
<td width="166" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
2--<u> </u></font></div></td>
</tr>
<tr valign="top" bgcolor="#FFCC66">
<td height="31" bgcolor="#3399CC"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="con1">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="cable">
<option value="2.05">Gotham Cable</option>
<option value="1.05">Cordial Cable</option>
<option value=".45">Install Cable</option>
</select>
</font></strong></div></td
>
<td bgcolor="#3399CC"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<input name="length" type="text" size="5">
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <font size="3" face="Times New Roman, Times, serif">
<select name="con2">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></div></td>
</tr>
<tr bgcolor="#FFCC66">
<td height="21" bgcolor="#3399CC"> </td>
<td bgcolor="#333333"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
</font></strong></div></td>
<td height="21" valign="bottom" bgcolor="#333333"><div align="center"><strong><font color="#FFFFFF">Total
€</font></strong></div></td>
<td valign="bottom" bgcolor="#3399CC"><div align="center"></div></td>
</tr>
<tr bgcolor="#FFCC66">
<td height="26" bgcolor="#3399CC"> </td>
<td valign="bottom" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input type="button" value="Calculate" onClick="doMath('single')" name="button">
</font></strong></div></td>
<td height="26" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input name="amount" value="0.00" type="text" size="7" class="totalBox" readonly>
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <strong></strong></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
</FORM>
<FORM NAME="Yleads">
<table width="75%" border="0">
<tr>
<td><div align="center"><strong><font color="#CCCCCC" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong><em><u>Y-leads</u></em></strong></font></strong></div></td>
</tr>
</table>
<table width="58%" height="171" border="0" bgcolor="#000000">
<tr>
<td height="167"><div align="center">
<table width="606" height="159" border="0" cellspacing="0">
<tr bgcolor="#3399CC">
<td width="176" height="29" valign="bottom"> </td>
<td width="135" valign="bottom"> </td>
<td width="124" valign="bottom"> </td>
<td width="163" valign="bottom"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
2--</font></div></td>
</tr>
<tr valign="top" bgcolor="#3399CC">
<td height="26" valign="bottom"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
1-- </font></div></td>
<td valign="bottom"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Cable
Type-- </font></div></td>
<td valign="bottom"><p align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Length/Meter--</font></p></td>
<td> <div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<select name="con2">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font ></strong></div></td>
</tr>
<tr bgcolor="#3399CC">
<td height="26" valign="top"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="con1">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></strong></div></td>
<td valign="top"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="cable">
<option value=".90">Install cable</option>
</select>
</font></strong></div></td
>
<td valign="top"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<input name="length" type="text" size="5">
</font></strong></div></td>
<td valign="bottom"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
3--<u> </u></font></div></td>
</tr>
<tr bgcolor="#3399CC">
<td height="30"> </td>
<td> </td>
<td height="30"><div align="center"></div></td>
<td valign="top"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="con3">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></strong></div></td>
</tr>
<tr bgcolor="#3399CC">
<td height="21"> </td>
<td bgcolor="#333333"><div align="center"></div></td>
<td height="21" valign="bottom" bgcolor="#333333"><div align="center"><strong><font color="#FFFFFF">Total
€</font></strong></div></td>
<td valign="bottom"> <div align="center"></div></td>
</tr>
<tr bgcolor="#3399CC">
<td height="26"> </td>
<td height="26" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input type="button" value="Calculate" onClick="doMath('Yleads')" name="button2">
</font></strong></div></td>
<td bgcolor="#333333"> <div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input name="amount" value="0.00" type="text" size="7" class="totalBox" readonly>
</font></strong></div></td>
<td> </td>
</tr>
</table>
</div></td>
</tr>
</table>
</FORM>
<FORM NAME="4pair">
<table width="64%" border="0">
<tr>
<td><div align="center"><font color="#CCCCCC" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong><em><u>4
Pair </u></em></strong></font></div></td>
</tr>
</table>
<table width="58%" height="111" border="0" bordercolor="#FFFFFF" bgcolor="#000000">
<tr>
<td height="107"><div align="center">
<table width="609" height="105" border="0" cellspacing="0">
<tr bgcolor="#FFCC66">
<td width="177" height="27" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
1-- </font></div></td>
<td width="132" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Cable
Type-- </font></div></td>
<td width="126" valign="bottom" bgcolor="#3399CC"><p align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Length/Meter--</font></p></td>
<td width="166" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
2--<u> </u></font></div></td>
</tr>
<tr valign="top" bgcolor="#FFCC66">
<td height="31" bgcolor="#3399CC"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="con1">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="cable">
<option value="3.75">4pair</option>
</select>
</font></strong></div></td
>
<td bgcolor="#3399CC"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<input name="length" type="text" size="5">
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <font size="3" face="Times New Roman, Times, serif">
<select name="con2">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></div></td>
</tr>
<tr bgcolor="#FFCC66">
<td height="21" bgcolor="#3399CC"> </td>
<td bgcolor="#333333"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
</font></strong></div></td>
<td height="21" valign="bottom" bgcolor="#333333"><div align="center"><strong><font color="#FFFFFF">Total
€</font></strong></div></td>
<td valign="bottom" bgcolor="#3399CC"><div align="center"></div></td>
</tr>
<tr bgcolor="#FFCC66">
<td height="26" bgcolor="#3399CC"> </td>
<td valign="bottom" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input type="button" value="Calculate" onClick="doMath('4pair')" name="button">
</font></strong></div></td>
<td height="26" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input name="amount" value="0.00" type="text" size="7" class="totalBox" readonly>
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <strong></strong></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
</FORM>
</CENTER>
</body>
</html>
Thank you all so much for your help so far.
The script contains panels (there will be a lot more than whats there now) with various components repeated in the panels. Each component has an associated price. If the price of a component changes, this means that I will have to update the price right throughout the script. This leaves me open to missing one.
Is there any way I can get the individual components to read their price from a master price i.e when I change the master all the rest will change??
Example component:
<option value="5.73" selected>Male XLR</option>
This appears is several locations so it would be great to change one price for this and they all change
Any other suggestion very welcome as I'm really scraping my way through this but having a bit of fun learning.
Anto
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function doMath(s) {
var form = document.getElementsByName(s)[0];
var one = parseFloat(form.con1.value);
var two = parseFloat(form.cable.value);
var three = parseFloat(form.length.value);
var four = parseFloat(form.con2.value);
var five = 0.0;
if (form.con3) {
five = parseFloat(form.con3.value);
}
var prod = (two * three) + one + four + five;
form.amount.value=custRound(prod,3);
}
function custRound(x,places) {
return (Math.round(x*Math.pow(10,places)))/Math.pow(10,places)
}
// End -->
</SCRIPT>
</head>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000000" text="#000000">
<CENTER>
<FORM NAME="single">
<table width="64%" border="0">
<tr>
<td><div align="center"><font color="#CCCCCC" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong><em><u>Single
Cables</u></em></strong></font></div></td>
</tr>
</table>
<table width="58%" height="111" border="0" bordercolor="#FFFFFF" bgcolor="#000000">
<tr>
<td height="107"><div align="center">
<table width="609" height="105" border="0" cellspacing="0">
<tr bgcolor="#FFCC66">
<td width="177" height="27" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
1-- </font></div></td>
<td width="132" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Cable
Type-- </font></div></td>
<td width="126" valign="bottom" bgcolor="#3399CC"><p align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Length/Meter--</font></p></td>
<td width="166" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
2--<u> </u></font></div></td>
</tr>
<tr valign="top" bgcolor="#FFCC66">
<td height="31" bgcolor="#3399CC"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="con1">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="cable">
<option value="2.05">Gotham Cable</option>
<option value="1.05">Cordial Cable</option>
<option value=".45">Install Cable</option>
</select>
</font></strong></div></td
>
<td bgcolor="#3399CC"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<input name="length" type="text" size="5">
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <font size="3" face="Times New Roman, Times, serif">
<select name="con2">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></div></td>
</tr>
<tr bgcolor="#FFCC66">
<td height="21" bgcolor="#3399CC"> </td>
<td bgcolor="#333333"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
</font></strong></div></td>
<td height="21" valign="bottom" bgcolor="#333333"><div align="center"><strong><font color="#FFFFFF">Total
€</font></strong></div></td>
<td valign="bottom" bgcolor="#3399CC"><div align="center"></div></td>
</tr>
<tr bgcolor="#FFCC66">
<td height="26" bgcolor="#3399CC"> </td>
<td valign="bottom" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input type="button" value="Calculate" onClick="doMath('single')" name="button">
</font></strong></div></td>
<td height="26" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input name="amount" value="0.00" type="text" size="7" class="totalBox" readonly>
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <strong></strong></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
</FORM>
<FORM NAME="Yleads">
<table width="75%" border="0">
<tr>
<td><div align="center"><strong><font color="#CCCCCC" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong><em><u>Y-leads</u></em></strong></font></strong></div></td>
</tr>
</table>
<table width="58%" height="171" border="0" bgcolor="#000000">
<tr>
<td height="167"><div align="center">
<table width="606" height="159" border="0" cellspacing="0">
<tr bgcolor="#3399CC">
<td width="176" height="29" valign="bottom"> </td>
<td width="135" valign="bottom"> </td>
<td width="124" valign="bottom"> </td>
<td width="163" valign="bottom"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
2--</font></div></td>
</tr>
<tr valign="top" bgcolor="#3399CC">
<td height="26" valign="bottom"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
1-- </font></div></td>
<td valign="bottom"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Cable
Type-- </font></div></td>
<td valign="bottom"><p align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Length/Meter--</font></p></td>
<td> <div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<select name="con2">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font ></strong></div></td>
</tr>
<tr bgcolor="#3399CC">
<td height="26" valign="top"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="con1">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></strong></div></td>
<td valign="top"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="cable">
<option value=".90">Install cable</option>
</select>
</font></strong></div></td
>
<td valign="top"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<input name="length" type="text" size="5">
</font></strong></div></td>
<td valign="bottom"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
3--<u> </u></font></div></td>
</tr>
<tr bgcolor="#3399CC">
<td height="30"> </td>
<td> </td>
<td height="30"><div align="center"></div></td>
<td valign="top"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="con3">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></strong></div></td>
</tr>
<tr bgcolor="#3399CC">
<td height="21"> </td>
<td bgcolor="#333333"><div align="center"></div></td>
<td height="21" valign="bottom" bgcolor="#333333"><div align="center"><strong><font color="#FFFFFF">Total
€</font></strong></div></td>
<td valign="bottom"> <div align="center"></div></td>
</tr>
<tr bgcolor="#3399CC">
<td height="26"> </td>
<td height="26" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input type="button" value="Calculate" onClick="doMath('Yleads')" name="button2">
</font></strong></div></td>
<td bgcolor="#333333"> <div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input name="amount" value="0.00" type="text" size="7" class="totalBox" readonly>
</font></strong></div></td>
<td> </td>
</tr>
</table>
</div></td>
</tr>
</table>
</FORM>
<FORM NAME="4pair">
<table width="64%" border="0">
<tr>
<td><div align="center"><font color="#CCCCCC" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong><em><u>4
Pair </u></em></strong></font></div></td>
</tr>
</table>
<table width="58%" height="111" border="0" bordercolor="#FFFFFF" bgcolor="#000000">
<tr>
<td height="107"><div align="center">
<table width="609" height="105" border="0" cellspacing="0">
<tr bgcolor="#FFCC66">
<td width="177" height="27" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
1-- </font></div></td>
<td width="132" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Cable
Type-- </font></div></td>
<td width="126" valign="bottom" bgcolor="#3399CC"><p align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Length/Meter--</font></p></td>
<td width="166" valign="bottom" bgcolor="#3399CC"><div align="center"><font color="#000000" size="3" face="Times New Roman, Times, serif">--Connector
2--<u> </u></font></div></td>
</tr>
<tr valign="top" bgcolor="#FFCC66">
<td height="31" bgcolor="#3399CC"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="con1">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<select name="cable">
<option value="3.75">4pair</option>
</select>
</font></strong></div></td
>
<td bgcolor="#3399CC"><div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
<input name="length" type="text" size="5">
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <font size="3" face="Times New Roman, Times, serif">
<select name="con2">
<option value="5.73" selected>Male XLR</option>
<option value="6.26">Female XLR</option>
<option value="6.83">Stereo Jack (TRS)</option>
<option value="5.70">Mono Jack</option>
<option value="4.05">Phono (RCA)</option>
<option value="4.05">Minijack</option>
</select>
</font></div></td>
</tr>
<tr bgcolor="#FFCC66">
<td height="21" bgcolor="#3399CC"> </td>
<td bgcolor="#333333"> <div align="center"> <strong><font size="3" face="Times New Roman, Times, serif">
</font></strong></div></td>
<td height="21" valign="bottom" bgcolor="#333333"><div align="center"><strong><font color="#FFFFFF">Total
€</font></strong></div></td>
<td valign="bottom" bgcolor="#3399CC"><div align="center"></div></td>
</tr>
<tr bgcolor="#FFCC66">
<td height="26" bgcolor="#3399CC"> </td>
<td valign="bottom" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input type="button" value="Calculate" onClick="doMath('4pair')" name="button">
</font></strong></div></td>
<td height="26" bgcolor="#333333"><div align="center"><strong><font size="3" face="Times New Roman, Times, serif">
<input name="amount" value="0.00" type="text" size="7" class="totalBox" readonly>
</font></strong></div></td>
<td bgcolor="#3399CC"><div align="center"> <strong></strong></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
</FORM>
</CENTER>
</body>
</html>