function startCalc(){
  interval = setInterval("calc()",1);
}
function calc(){
  radioOne = getSelectedValue(document.autoSumForm.radio1);
  two = document.autoSumForm.secondBox.value;
  three = document.autoSumForm.thirdBox.value; 
  document.autoSumForm.forthBox.value = (radioOne * 1) + (two * 185) + (three * 321);
}
function getSelectedValue(flds) {
  var i = 0;
  var len = flds.length;
  
  while (i < len) {
    if (flds[i].checked) {
      return flds[i].value;
    }
    i++;
  }
  
  return "";
}
function stopCalc(){
  clearInterval(interval);
}
