// JavaScript Document used with SalesTrans.html
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Created by: www.jdstiles.com -->
<!-- Begin
function startCalc(){
interval = setInterval("calc()",1);
}
function calc(){
tac1 = document.FormName.sum.value;
tac2 = document.FormName.form_1.value;
tac3 = document.FormName.form_2.value;
tac4 = document.FormName.form_3.value;
tac5 = document.FormName.form_4.value;
tac6 = document.FormName.form_5.value;
tac7 = document.FormName.form_6.value;
tac8 = document.FormName.form_7.value;
tac9 = document.FormName.form_8.value;
tac10 = document.FormName.form_9.value;
tac11 = document.FormName.form_10.value;
tac12 = document.FormName.form_11.value;
tac13 = document.FormName.form_12.value;
tac14 = document.FormName.form_13.value;
tac15 = document.FormName.form_14.value;
tac16 = document.FormName.form_15.value;
tac17 = document.FormName.SimPol.value;
tac18 = document.FormName.form_16.value;
tac19 = document.FormName.form_17.value;

document.FormName.Total.value = (tac1 * 1) + (tac2 * 1) + (tac3 * 1) + (tac4 * 1) + (tac5 * 1) + (tac6 * 1) + (tac7 * 1) + (tac8 * 1) + (tac9 * 1) + (tac10 * 1) + (tac11 * 1) + (tac12 * 1) + (tac13 * 1) + (tac14 * 1) + (tac15 * 1) + (tac16 * 1) + (tac17 * 1) + (tac18 * 1) + (tac19 * 1);
document.FormName.Total.value = (document.FormName.Total.value);
}
function stopCalc(){
clearInterval(interval);
}
// End -->
