<FORM Name="myform">
<input type="radio" NAME="tetFIN" onChange="calculatePrice()" id="etetFIN" value="75">75
<input type="radio" NAME="tetFIN" onChange="calculatePrice()" id="wefNEW" value="40" >40
<SELECT NAME="hddItem" onChange="calculatePrice()" id="hddItem">
<OPTION value="45">0</OPTION>
<OPTION value="80">$109</OPTION>
<OPTION value="118">$150</OPTION>
<OPTION value="150">$199</OPTION>
<OPTION value="183">$299</OPTION>
<OPTION value="215">$299</OPTION>
</SELECT>
<SELECT NAME="networkItem" onChange="calculatePrice()" id="networkItem">
<OPTION value="0">0</OPTION>
<OPTION value="109">$109</OPTION>
<OPTION value="79">$79</OPTION>
<OPTION value="279">$279</OPTION>
</SELECT>
</FORM>
<INPUT type="text" id="PicExtPrice" value="">
<script>
function calculatePrice(myform){
//Get selected data
var elt = document.getElementById("wefNEW");
var ew = elt.value;
var elt = document.getElementById("etetFIN");
var ew = elt.value;
var elt = document.getElementById("hddItem");
var hdd = elt.options[elt.selectedIndex].value;
var elt = document.getElementById("networkItem");
var network = elt.options[elt.selectedIndex].value;
//convert data to integers
ew = parseInt(ew);
hdd = parseInt(hdd);
network = parseInt(network);
//calculate total value
var total = ew+hdd+network;
//print value to PicExtPrice
document.getElementById("PicExtPrice").value=total;
}
</script>