/* 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(){
  one = document.autoSumForm.firstBox.value;
  two = document.autoSumForm.secondBox.value; 
  three = document.autoSumForm.thirdBox.value; 
  four = document.autoSumForm.forthBox.value; 
  five = document.autoSumForm.fifthBox.value; 
  six = document.autoSumForm.sixthBox.value; 
  seven = document.autoSumForm.seventhBox.value; 
  eight = document.autoSumForm.eightBox.value; 
  nine = document.autoSumForm.ninthBox.value;
  ten = document.autoSumForm.tenthBox.value;
  eleven = document.autoSumForm.eleventhBox.value;
  twelve = document.autoSumForm.twelveBox.value;
  thirteen = document.autoSumForm.thirtenBox.value;
  fourteen = document.autoSumForm.fourteenBox.value;
  fifteen = document.autoSumForm.fifteenthBox.value;
  sixteen = document.autoSumForm.sixteenthBox.value;
  seventeen = document.autoSumForm.seventeenthBox.value;
  eighteen = document.autoSumForm.eighteenthBox.value;
  nineteen = document.autoSumForm.nineteenthBox.value;
  twenty = document.autoSumForm.twenteenthBox.value;
  twentyone = document.autoSumForm.twentyfirstBox.value;
  twentytwo = document.autoSumForm.twentysecondBox.value;
  twentythree = document.autoSumForm.twentythirdBox.value;
  twentyfour = document.autoSumForm.twentyfourthBox.value;  
  document.autoSumForm.twentyfifthBox.value = (one * 1) + (two * 1) + (three * 1) + (four * 1) + (five * 1) + (six * 1) + (seven * 1) + (eight * 1) + (nine * 1) + (ten * 1) + (eleven * 1) + (twelve * 1) + (thirteen * 1) + (fourteen * 1) + (fifteen * 1) + (sixteen * 1) + (seventeen * 1) + (eighteen * 1) + (nineteen * 1) + (twenty * 1) + (twentyone * 1) + (twentytwo * 1) + (twentythree * 1) + (twentyfour * 1);
}
function stopCalc(){
  clearInterval(interval);
}