/* 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.txtMaritime.value;
  two = document.autoSumForm.txtAntitrust.value;
  three = document.autoSumForm.txtBusTransCorp.value;
  four = document.autoSumForm.txtBusTransEnt.value;
  five = document.autoSumForm.txtCiRights.value;
  six = document.autoSumForm.txtCollection.value;
  seven = document.autoSumForm.txtConstLaw.value;
  eight = document.autoSumForm.txtConsClaims.value;
  nine = document.autoSumForm.txtBOrg1.value;
  ten = document.autoSumForm.txtBOrg2.value;
  eleven = document.autoSumForm.txtBOrg3.value;
  twelve = document.autoSumForm.txtCriminal.value;
  thirteen = document.autoSumForm.txtEnLaw.value;
  fourteen = document.autoSumForm.txtEstate.value;
  fifteen = document.autoSumForm.txtFamilyLaw.value;
  sixteen = document.autoSumForm.txtGvtFederal.value;
  seventeen = document.autoSumForm.txtGvtLocal.value;
  eighteen = document.autoSumForm.txtImigration.value;
  nineteen = document.autoSumForm.txtInterLaw.value;
  twenty = document.autoSumForm.txtLaborLaw.value;
  twentyone = document.autoSumForm.txtPlainTff.value;
  twentytwo = document.autoSumForm.txtInsuDeff.value;
  twentythree = document.autoSumForm.txtWrCompDeff.value;
  twentyfour = document.autoSumForm.txtWrCompPTiff.value;
  twentyfive = document.autoSumForm.txtNatGasoil.value;
  twentysix = document.autoSumForm.txtPatent.value;
  twentyseven = document.autoSumForm.txtRealEstate.value;
  twentyeight = document.autoSumForm.txtSeuLaw.value;
  twentynine = document.autoSumForm.txtMunicipalBnds.value;
  thirty = document.autoSumForm.txtTaxOpts.value; 
  document.autoSumForm.txtTotal.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) + (twentyfive * 1) +  
  (twentysix * 1) + (twentyseven * 1) + (twentyeight * 1) + (twentynine * 1) + (thirty * 1);
}
function stopCalc(){
  clearInterval(interval);
}