
function startCalc(){
  interval = setInterval("calc()",1);
}
function calc(){
  a001 = document.theform.A01.value;
  a002 = document.theform.A02.value; 
  a003 = document.theform.A03.value;
  a004 = document.theform.A04.value;
  a005 = document.theform.A05.value; 
  a006 = document.theform.A06.value;
  a007 = document.theform.A07.value;
  a008 = document.theform.A08.value; 
  a009 = document.theform.A09.value;
  a010 = document.theform.A10.value;
  a011 = document.theform.A11.value; 
  a012 = document.theform.A12.value;
  b001 = document.theform.B01.value;
  b002 = document.theform.B02.value; 
  b003 = document.theform.B03.value;
  b004 = document.theform.B04.value;
  b005 = document.theform.B05.value; 
  b006 = document.theform.B06.value;
  b007 = document.theform.B07.value;
  b008 = document.theform.B08.value; 
  b009 = document.theform.B09.value;
  b010 = document.theform.B10.value;
  b011 = document.theform.B11.value; 
  b012 = document.theform.B12.value; 
  b013 = document.theform.B13.value;
  c001 = document.theform.C01.value;
  c002 = document.theform.C02.value; 
  c003 = document.theform.C03.value; 
  d001 = document.theform.D01.value;
  d002 = document.theform.D02.value; 
  d003 = document.theform.D03.value;
  d004 = document.theform.D04.value;
  d005 = document.theform.D05.value; 
  d006 = document.theform.D06.value;
  d007 = document.theform.D07.value;
  d008 = document.theform.D08.value; 
  d009 = document.theform.D09.value;
  d010 = document.theform.D10.value;
  e001 = document.theform.E01.value;
  e002 = document.theform.E02.value; 
  e003 = document.theform.E03.value;
  e004 = document.theform.E04.value;
  e005 = document.theform.E05.value; 
  e006 = document.theform.E06.value;
  e007 = document.theform.E07.value;
  e008 = document.theform.E08.value; 
  e009 = document.theform.E09.value;
  e010 = document.theform.E10.value;
  u001 = document.theform.U01.value;  
  document.theform.totale.value = 
  (a001 * 6) + 
  (a002 * 35) + 
  (a003 * 35) + 
  (a004 * 6) +
  (a005 * 6) +
  (a006 * 25) +
  (a007 * 33) +
  (a008 * 28) +
  (a009 * 40) +
  (a010 * 60) +
  (a011 * 60) +
  (a012 * 50) +
  (b001 * 125) +
  (b002 * 30) +
  (b003 * 125) +
  (b004 * 300) +
  (b005 * 50) +
  (b006 * 300) +
  (b007 * 350) +
  (b008 * 300) +
  (b009 * 300) +
  (b010 * 350) +
  (b011 * 110) +
  (b012 * 150) +
  (b013 * 80) +
  (c001 * 70) +
  (c002 * 90) +
  (c003 * 100) +  
  (d001 * 120) + 
  (d002 * 140) + 
  (d003 * 140) + 
  (d004 * 150) +
  (d005 * 150) +
  (d006 * 75) +
  (d007 * 100) +
  (d008 * 40) +
  (d009 * 100) +
  (d010 * 10) + 
  (e001 * 4) + 
  (e002 * 20) + 
  (e003 * 7) + 
  (e004 * 25) +
  (e005 * 10) +
  (e006 * 33) +
  (e007 * 33) +
  (e008 * 35) +
  (e009 * 0.4) +
  (e010 * 22) +  
  (u001 * 5);
}
function stopCalc(){
  clearInterval(interval);
}

