Forbrugsberegning script
HejJeg har her på siden http:// www.flugger.dk/ G-oe-r-c-det-c-selv/ Forbrugsberegner.aspx fundet et forbrugsberegner og vil høre om det kan lade sig at gøre at få denne til at fungere i javascript samt om der er en eller anden venlig sjæl der kan hjælpe mig med at få denne til at virke eller i noget andet end .js
med venlig hilsen xvid
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny side 2</title>
</head>
<body>
<table border="0" cellspacing="3" cellpadding="0" width="448">
<tr>
<td colspan="2" width="815"><strong><span id="Flugger_Farver_Content0_Forbrugsberegner2_lblSqmheadline">Antal
kvadratmeter</span></strong></td>
</tr>
<tr>
<td style="padding-left: 10px; padding-right: 30px; padding-top: 0px; padding-bottom: 0px" width="664">Overfladens
totale bredde (Meter)<BR>(fraregnet døre, store vinduer etc.): </td>
<td width="105">
<p align="left"><input name="Flugger_Farver_Content0:Forbrugsberegner2:sqmwidth" id="Flugger_Farver_Content0_Forbrugsberegner2_sqmwidth" type="text" size="5" style="text-align:right" value="0" /></p>
</td>
</tr>
<tr>
<td style="padding-left: 10px; padding-right: 30px; padding-top: 0px; padding-bottom: 0px" width="664">Overfladens
højde (Meter): </td>
<td width="105">
<p align="left"><input name="Flugger_Farver_Content0:Forbrugsberegner2:sqmheight" id="Flugger_Farver_Content0_Forbrugsberegner2_sqmheight" type="text" size="5" style="text-align:right" value="0" /></p>
</td>
</tr>
<tr>
<td colspan="2" width="815"> </td>
</tr>
<tr>
<td colspan="2" width="815"><strong><span id="Flugger_Farver_Content0_Forbrugsberegner2_lblProdheadline">Hvad
skal du male?</span></strong></td>
</tr>
<tr>
<td colspan="2" width="815">Vælg produkt:</td>
</tr>
<tr>
<td colspan="2" style="padding-left: 10px" width="805">
<table cellspacing='0' cellpadding='0' border='0' width="524">
<tr>
<td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{6BE71F20-DA0C-4878-9978-37A87D013235}' value='8'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{6BE71F20-DA0C-4878-9978-37A87D013235}'>Vægge
- normalt belastet - Flutex 3</label></td>
</tr>
<tr>
<td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{6BE71F20-DA0C-4878-9978-37A87D013235}' value='8'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{6BE71F20-DA0C-4878-9978-37A87D013235}'>Vægge
- normalt belastet - Flutex 4</label></td>
</tr>
<tr><td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{6BE71F20-DA0C-4878-9978-37A87D013235}' value='8'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{6BE71F20-DA0C-4878-9978-37A87D013235}'>Vægge
- normalt belastet - Flutex 5</label></td></tr>
<tr>
<td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{969A76F2-B174-462F-8F1D-E0AEC42BD59E}' value='9'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{969A76F2-B174-462F-8F1D-E0AEC42BD59E}'>Vægge
- hårdt belastet - Flutex 7 S</label></td>
</tr>
<tr><td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{969A76F2-B174-462F-8F1D-E0AEC42BD59E}' value='9'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{969A76F2-B174-462F-8F1D-E0AEC42BD59E}'>Vægge
- hårdt belastet - Flutex 10</label></td></tr><tr><td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{79F1A788-F27F-4ED2-AF9B-B21649F57C37}' value='10'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{79F1A788-F27F-4ED2-AF9B-B21649F57C37}'>Udvendigt
træværk (høvlet træ som fx dør) - transparent udseende -
Flügger 96 (traditionel træbeskyttelse)</label></td></tr><tr><td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{CAE81A9C-5021-4BB0-89F3-55B92ED446D3}' value='10'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{CAE81A9C-5021-4BB0-89F3-55B92ED446D3}'>Udvendigt
træværk (høvlet træ som fx dør) - heldækkende udseende -
Flügger 98 (vandig træbeskyttelse)</label></td></tr><tr><td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{CB4D4A8A-B45E-4562-8F4C-FC28FF91C5EC}' value='9'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{CB4D4A8A-B45E-4562-8F4C-FC28FF91C5EC}'>Indvendigt
træværk - Interiør 50</label></td></tr><tr><td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{57BD67EF-962E-44D1-94CD-1B81392677AA}' value='5'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{57BD67EF-962E-44D1-94CD-1B81392677AA}'>Udvendigt
træværk (ru træ som fx hus eller carport) - transparent
udseende - Flügger 96 (traditionel træbeskyttelse)</label></td></tr><tr><td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{61F0B8F9-DC31-4474-9F33-5B7165670DE7}' value='6'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{61F0B8F9-DC31-4474-9F33-5B7165670DE7}'>Udvendigt
træværk (ru træ som fx hus eller carport) - heldækkende
udseende - Flügger 98 (vandig træbeskyttelse)</label></td></tr><tr><td style='padding-left: 0px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px' width="18"><input type='radio' name='product' id='product{60D34961-6D83-4733-9389-2DA4D8AE9E8F}' value='8'></td><td style='padding-left: 0px; padding-right: 0px; padding-top: 2px; padding-bottom: 2px' width="494"><label for='product{60D34961-6D83-4733-9389-2DA4D8AE9E8F}'>Facade
- Flügger Murmaling</label></td></tr></table>
</td>
</tr>
<tr>
<td colspan="2" width="815"> </td>
</tr>
<tr>
<td colspan="2" width="815"><strong><span id="Flugger_Farver_Content0_Forbrugsberegner2_lblPaintsheadline">Antal
overmalinger</span></strong></td>
</tr>
<tr>
<td style="padding-left: 10px; padding-right: 30px; padding-top: 0px; padding-bottom: 0px" width="664">Hvor mange gange skal du male?</td>
<td width="105">
<select id="times">
<option value="1">1</option>
<option value="2">2</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" width="815"> </td>
</tr>
<tr>
<td colspan="2" width="815"><input name="Flugger_Farver_Content0:Forbrugsberegner2:btnCalculate" id="Flugger_Farver_Content0_Forbrugsberegner2_btnCalculate" type="button" onclick="calculate()" value="Beregn forbrug" /></td>
</tr>
</table>
</body>
</html>
