/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Jim Stiles | www.jdstiles.com */
function startCalc(){
  interval = setInterval("calc()",1);
}
function calc(){
  box1 = document.autoSumForm.box1.value;
  box2 = document.autoSumForm.box2.value;  
  box3 = document.autoSumForm.box3.value;
  box4 = document.autoSumForm.box4.value;
  box5 = document.autoSumForm.box5.value;
  box6 = document.autoSumForm.box6.value;  
  box7 = document.autoSumForm.box7.value;
  box8 = document.autoSumForm.box8.value; 
  box9 = document.autoSumForm.box9.value;
  box10 = document.autoSumForm.box10.value;  
  box11 = document.autoSumForm.box11.value;
  box12 = document.autoSumForm.box12.value;
  box13 = document.autoSumForm.box13.value;
  box14 = document.autoSumForm.box14.value;  
  box15 = document.autoSumForm.box15.value;
  box16 = document.autoSumForm.box16.value;
  box17 = document.autoSumForm.box17.value;
  box18 = document.autoSumForm.box18.value;  
  box19 = document.autoSumForm.box19.value;
  box20 = document.autoSumForm.box20.value;
  box21 = document.autoSumForm.box21.value;
  box22 = document.autoSumForm.box22.value;  
  box23 = document.autoSumForm.box23.value;
  box24 = document.autoSumForm.box24.value; 
  box25 = document.autoSumForm.box25.value;
  box26 = document.autoSumForm.box26.value;  
  box27 = document.autoSumForm.box27.value;
  box28 = document.autoSumForm.box28.value;
  box29 = document.autoSumForm.box29.value;
  box30 = document.autoSumForm.box30.value;  
  box31 = document.autoSumForm.box31.value;
  box32 = document.autoSumForm.box32.value;  
  document.autoSumForm.thirdBox.value = (box1 * 1) + (box2 * 1) + (box3 * 1) + (box4 * 1) + (box5 * 1) + (box6 * 1) + (box7 * 1) + (box8 * 1) + (box9 * 1) + (box10 * 1) + (box11 * 1) + (box12 * 1) + (box13 * 1) + (box14 * 1) + (box15 * 1) + (box16 * 1) + (box17 * 1) + (box18 * 1) + (box19 * 1) + (box20 * 1) + (box21 * 1) + (box22 * 1) + (box23 * 1) + (box24 * 1) + (box25 * 1) + (box26 * 1) + (box27 * 1) + (box28 * 1) + (box29 * 1) + (box30 * 1) + (box31 * 1) + (box32 * 1);
}
function stopCalc(){
  clearInterval(interval);
}

