/* 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.threeBox.value; 
  four = document.autoSumForm.fourBox.value; 
  five = document.autoSumForm.fiveBox.value; 
  six = document.autoSumForm.sixBox.value; 
  seven = document.autoSumForm.sevenBox.value; 
  eight = document.autoSumForm.eightBox.value; 
  nine = document.autoSumForm.nineBox.value; 
  ten = document.autoSumForm.tenBox.value; 
  tenone = document.autoSumForm.tenoneBox.value; 
  tentwo = document.autoSumForm.tentwoBox.value; 
  tenthree = document.autoSumForm.tenthreeBox.value; 
  tenfour = document.autoSumForm.tenfourBox.value; 
  tenfive = document.autoSumForm.tenfiveBox.value; 
  tensix = document.autoSumForm.tensixBox.value; 
  tenseven = document.autoSumForm.tensevenBox.value; 
  teneight = document.autoSumForm.teneightBox.value; 
  tennine = document.autoSumForm.tennineBox.value; 
  tenten = document.autoSumForm.tentenBox.value; 
  twoone = document.autoSumForm.twooneBox.value; 
  twotwo = document.autoSumForm.twotwoBox.value; 
  document.autoSumForm.totalBox.value = (one * 1 * 12) + (two * 1 *16)+(three * 1 * 20)+
      (four* 1 * 13)+(five* 1 * 50)+(six* 1 * 55)+(seven* 1 * 90)+(eight* 1 * 30)+(nine* 1 * 40)+
	  (ten* 1 * 25)+(tenone* 1 * 40)+(tentwo* 1 * 45)+(tenthree* 1 * 50)+(tenfour* 1 * 120)+
	  (tenfive* 1 * 25)+(tensix* 1 * 50)+(tenseven* 1 * 225)+(teneight* 1 * 600)+(tennine* 1 * 10)+
	  (tenten* 1 * 70)+(twoone* 1 * 12)+(twotwo* 1 * 50);
}
function stopCalc(){
  clearInterval(interval);
}

