function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value=="")
  {alert(alerttxt);return false;}
else {return true}
}
}function validate_form(thisform)
{
with (thisform)
{
if (validate_required(ApprenticeName,"Apprentice Namemust be filled out!")==false)
  {ApprenticeName.focus();return false;}
}
}

function startCalc(){
  interval = setInterval("calc()",1);
}
function calc(){
  one = document.autoSumForm.A1.value;
  two = document.autoSumForm.B1.value;
  three = document.autoSumForm.C1.value;
  four = document.autoSumForm.D1.value;
  five = document.autoSumForm.E1.value;
  six = document.autoSumForm.F1.value;
  seven = document.autoSumForm.G1.value; 
  eight = document.autoSumForm.DayTotal1.value
  document.autoSumForm.DayTotal1.value = (one * 1) + (two * 1) + (three * 1) + (four * 1) + (five * 1) + (six * 1) + (seven * 1)
  nine = document.autoSumForm.A2.value;
  ten = document.autoSumForm.B2.value;
  eleven = document.autoSumForm.C2.value;
  twelve = document.autoSumForm.D2.value;
  thirteen = document.autoSumForm.E2.value;
  fourteen = document.autoSumForm.F2.value;
  fiveteen = document.autoSumForm.G2.value; 
  sixteen = document.autoSumForm.DayTotal2.value
  document.autoSumForm.DayTotal2.value = (nine * 1) + (ten * 1) + (eleven * 1) + (twelve * 1) + (thirteen * 1) + (fourteen * 1) + (fiveteen * 1)
  seventeen = document.autoSumForm.A3.value;
  eighteen = document.autoSumForm.B3.value;
  nineteen = document.autoSumForm.C3.value;
  twenty = document.autoSumForm.D3.value;
  twentyone = document.autoSumForm.E3.value;
  twentytwo = document.autoSumForm.F3.value;
  twentythree = document.autoSumForm.G3.value; 
  twentyfour = document.autoSumForm.DayTotal3.value
  document.autoSumForm.DayTotal3.value = (seventeen * 1) + (eighteen * 1) + (nineteen * 1) + (twenty * 1) + (twentyone * 1) + (twentytwo * 1) + (twentythree * 1)
  twentyfive = document.autoSumForm.A4.value;
  twentysix = document.autoSumForm.B4.value;
  twentyseven = document.autoSumForm.C4.value;
  twentyeight = document.autoSumForm.D4.value;
  twentynine = document.autoSumForm.E4.value;
  thirty = document.autoSumForm.F4.value;
  thirtyone = document.autoSumForm.G4.value; 
  thirtytwo = document.autoSumForm.DayTotal4.value
  document.autoSumForm.DayTotal4.value = (twentyfive * 1) + (twentysix * 1) + (twentyseven * 1) + (twentyeight * 1) + (twentynine * 1) + (thirty * 1) + (thirtyone * 1)
  thirtythree = document.autoSumForm.A5.value;
  thirtyfour = document.autoSumForm.B5.value;
  thirtyfive = document.autoSumForm.C5.value;
  thirtysix = document.autoSumForm.D5.value;
  thirtyseven = document.autoSumForm.E5.value;
  thirtyeight = document.autoSumForm.F5.value;
  thirtynine = document.autoSumForm.G5.value; 
  fourty = document.autoSumForm.DayTotal5.value
  document.autoSumForm.DayTotal5.value = (thirtythree * 1) + (thirtyfour * 1) + (thirtyfive * 1) + (thirtysix * 1) + (twentyone * 1) + (thirtyeight * 1) + (thirtynine * 1)
  fourtyone = document.autoSumForm.A6.value;
  fourtytwo = document.autoSumForm.B6.value;
  fourtythree = document.autoSumForm.C6.value;
  fourtyfour = document.autoSumForm.D6.value;
  fourtyfive = document.autoSumForm.E6.value;
  fourtysix = document.autoSumForm.F6.value;
  fourtyseven = document.autoSumForm.G6.value; 
  fourtyeight = document.autoSumForm.DayTotal6.value
  document.autoSumForm.DayTotal6.value = (fourtyone * 1) + (fourtytwo * 1) + (fourtythree * 1) + (fourtyfour * 1) + (fourtyfive * 1) + (fourtysix * 1) + (fourtyseven * 1)
  fourtynine = document.autoSumForm.A7.value;
  fifty = document.autoSumForm.B7.value;
  fiftyone = document.autoSumForm.C7.value;
  fiftytwo = document.autoSumForm.D7.value;
  fiftythree = document.autoSumForm.E7.value;
  fiftyfour = document.autoSumForm.F7.value;
  fiftyfive = document.autoSumForm.G7.value; 
  fiftysix = document.autoSumForm.DayTotal7.value
  document.autoSumForm.DayTotal7.value = (fourtynine * 1) + (fifty * 1) + (fiftyone * 1) + (fiftytwo * 1) + (fiftythree * 1) + (fiftyfour * 1) + (fiftyfive * 1)
  fiftyseven = document.autoSumForm.A8.value;
  fiftyeight = document.autoSumForm.B8.value;
  fiftynine = document.autoSumForm.C8.value;
  sixty = document.autoSumForm.D8.value;
  sixtyone = document.autoSumForm.E8.value;
  sixtytwo = document.autoSumForm.F8.value;
  sixtythree = document.autoSumForm.G8.value; 
  sixtyfour = document.autoSumForm.DayTotal8.value
  document.autoSumForm.DayTotal8.value = (fiftyseven * 1) + (fiftyeight * 1) + (fiftynine * 1) + (sixty * 1) + (sixtyone * 1) + (sixtytwo * 1) + (sixtythree * 1)
  sixtyfive = document.autoSumForm.A9.value;
  sixtysix = document.autoSumForm.B9.value;
  sixtyseven = document.autoSumForm.C9.value;
  sixtyeight = document.autoSumForm.D9.value;
  sixtynine = document.autoSumForm.E9.value;
  seventy = document.autoSumForm.F9.value;
  seventyone = document.autoSumForm.G9.value; 
  seventytwo = document.autoSumForm.DayTotal9.value
  document.autoSumForm.DayTotal9.value = (sixtyfive * 1) + (sixtysix * 1) + (sixtyseven * 1) + (sixtyeight * 1) + (sixtynine * 1) + (seventy * 1) + (seventyone * 1)
  seventythree = document.autoSumForm.A10.value;
  seventyfour = document.autoSumForm.B10.value;
  seventyfive = document.autoSumForm.C10.value;
  seventysix = document.autoSumForm.D10.value;
  seventyseven = document.autoSumForm.E10.value;
  seventyeight = document.autoSumForm.F10.value;
  seventynine = document.autoSumForm.G10.value; 
  eighty = document.autoSumForm.DayTotal10.value
  document.autoSumForm.DayTotal10.value = (seventythree * 1) + (seventyfour * 1) + (seventyfive * 1) + (seventysix * 1) + (seventyseven * 1) + (seventyeight * 1) + (seventynine * 1)
  eightyone = document.autoSumForm.A11.value;
  eightytwo = document.autoSumForm.B11.value;
  eightythree = document.autoSumForm.C11.value;
  eightyfour = document.autoSumForm.D11.value;
  eightyfive = document.autoSumForm.E11.value;
  eightysix = document.autoSumForm.F11.value;
  eightyseven = document.autoSumForm.G11.value; 
  eightyeight = document.autoSumForm.DayTotal11.value
  document.autoSumForm.DayTotal11.value = (eightyone * 1) + (eightytwo * 1) + (eightythree * 1) + (eightyfour * 1) + (eightyfive * 1) + (eightysix * 1) + (eightyseven * 1)
  eightynine = document.autoSumForm.A12.value;
  ninetyone = document.autoSumForm.B12.value;
  ninetytwo = document.autoSumForm.C12.value;
  ninetythree = document.autoSumForm.D12.value;
  ninetyfour = document.autoSumForm.E12.value;
  ninetyfive = document.autoSumForm.F12.value;
  ninetysix = document.autoSumForm.G12.value; 
  ninetyseven = document.autoSumForm.DayTotal12.value
  document.autoSumForm.DayTotal12.value = (eightynine * 1) + (ninetyone * 1) + (ninetytwo * 1) + (ninetythree * 1) + (ninetyfour * 1) + (ninetyfive * 1) + (ninetysix * 1)
  ninetyeight = document.autoSumForm.A13.value;
  ninetynine = document.autoSumForm.B13.value;
  onehundredone = document.autoSumForm.C13.value;
  onehundredtwo = document.autoSumForm.D13.value;
  onehundredthree = document.autoSumForm.E13.value;
  onehundredfour = document.autoSumForm.F13.value;
  onehundredfive = document.autoSumForm.G13.value; 
  onehundredsix = document.autoSumForm.DayTotal13.value
  document.autoSumForm.DayTotal13.value = (ninetyeight * 1) + (ninetynine * 1) + (onehundredone * 1) + (onehundredtwo * 1) + (onehundredthree * 1) + (onehundredfour * 1) + (onehundredfive * 1)
  onehundredseven = document.autoSumForm.A14.value;
  onehundredeight = document.autoSumForm.B14.value;
  onehundrednine = document.autoSumForm.C14.value;
  onehundredten = document.autoSumForm.D14.value;
  onehundredeleven = document.autoSumForm.E14.value;
  onehundredtwelve = document.autoSumForm.F14.value;
  onehundredthirteen = document.autoSumForm.G14.value; 
  onehundredfourteen = document.autoSumForm.DayTotal14.value
  document.autoSumForm.DayTotal14.value = (onehundredseven * 1) + (onehundredeight * 1) + (onehundrednine * 1) + (onehundredten * 1) + (onehundredeleven * 1) + (onehundredtwelve * 1) + (onehundredthirteen * 1)
  onehundredfifeteen = document.autoSumForm.A15.value;
  onehundredsixteen = document.autoSumForm.B15.value;
  onehundredseventeen = document.autoSumForm.C15.value;
  onehundredeighteen = document.autoSumForm.D15.value;
  onehundrednineteen = document.autoSumForm.E15.value;
  onehundredtwenty = document.autoSumForm.F15.value;
  onehundredtwentyone = document.autoSumForm.G15.value; 
  onehundredtwentytwo = document.autoSumForm.DayTotal15.value
  document.autoSumForm.DayTotal15.value = (onehundredfifeteen * 1) + (onehundredsixteen * 1) + (onehundredseventeen * 1) + (onehundredeighteen * 1) + (onehundrednineteen * 1) + (onehundredtwenty * 1) + (onehundredtwentyone * 1)  
  onehundredtwentythree = document.autoSumForm.A16.value;
  onehundredtwentyfour = document.autoSumForm.B16.value;
  onehundredtwentyfive = document.autoSumForm.C16.value;
  onehundredtwentysix = document.autoSumForm.D16.value;
  onehundredtwentyseven = document.autoSumForm.E16.value;
  onehundredtwentyeight = document.autoSumForm.F16.value;
  onehundredtwentynine = document.autoSumForm.G16.value; 
  onehundredthirty = document.autoSumForm.DayTotal16.value
  document.autoSumForm.DayTotal16.value = (onehundredtwentythree * 1) + (onehundredtwentyfour * 1) + (onehundredtwentyfive * 1) + (onehundredtwentysix * 1) + (onehundredtwentyseven * 1) + (onehundredtwentyeight * 1) + (onehundredtwentynine * 1)
  onehundredthirtyone = document.autoSumForm.A17.value;
  onehundredthirtytwo = document.autoSumForm.B17.value;
  onehundredthirtythree = document.autoSumForm.C17.value;
  onehundredthirtyfour = document.autoSumForm.D17.value;
  onehundredthirtyfive = document.autoSumForm.E17.value;
  onehundredthirtysix = document.autoSumForm.F17.value;
  onehundredthirtyseven = document.autoSumForm.G17.value; 
  onehundredthirtyeight = document.autoSumForm.DayTotal17.value
  document.autoSumForm.DayTotal17.value = (onehundredthirtyone * 1) + (onehundredthirtytwo * 1) + (onehundredthirtythree * 1) + (onehundredthirtyfour * 1) + (onehundredthirtyfive * 1) + (onehundredthirtysix * 1) + (onehundredthirtyseven * 1)
  onehundredthirtynine = document.autoSumForm.A18.value;
  onehundredfortyone = document.autoSumForm.B18.value;
  onehundredfortytwo = document.autoSumForm.C18.value;
  onehundredfortythree = document.autoSumForm.D18.value;
  onehundredfortyfour = document.autoSumForm.E18.value;
  onehundredfortyfive = document.autoSumForm.F18.value;
  onehundredfortysix = document.autoSumForm.G18.value; 
  onehundredfortyseven = document.autoSumForm.DayTotal18.value
  document.autoSumForm.DayTotal18.value = (onehundredthirtynine * 1) + (onehundredfortyone * 1) + (onehundredfortytwo * 1) + (onehundredfortythree * 1) + (onehundredfortyfour * 1) + (onehundredfortyfive * 1) + (onehundredfortysix * 1)
  onehundredfortyeight = document.autoSumForm.A19.value;
  onehundredfortynine = document.autoSumForm.B19.value;
  onehundredfifty = document.autoSumForm.C19.value;
  onehundredfiftyone = document.autoSumForm.D19.value;
  onehundredfiftytwo = document.autoSumForm.E19.value;
  onehundredfiftythree = document.autoSumForm.F19.value;
  onehundredfiftyfour = document.autoSumForm.G19.value; 
  onehundredfiftyfive = document.autoSumForm.DayTotal19.value
  document.autoSumForm.DayTotal19.value = (onehundredfortyeight * 1) + (onehundredfortynine * 1) + (onehundredfifty * 1) + (onehundredfiftyone * 1) + (onehundredfiftytwo * 1) + (onehundredfiftythree * 1) + (onehundredfiftyfour * 1)
  onehundredfiftysix = document.autoSumForm.A20.value;
  onehundredfiftyseven = document.autoSumForm.B20.value;
  onehundredfiftyeight = document.autoSumForm.C20.value;
  onehundredfiftynine = document.autoSumForm.D20.value;
  onehundredsixty = document.autoSumForm.E20.value;
  onehundredsixtyone = document.autoSumForm.F20.value;
  onehundredsixtytwo = document.autoSumForm.G20.value; 
  onehundredsixtythree = document.autoSumForm.DayTotal20.value
  document.autoSumForm.DayTotal20.value = (onehundredfiftysix * 1) + (onehundredfiftyseven * 1) + (onehundredfiftyeight * 1) + (onehundredfiftynine * 1) + (onehundredsixty * 1) + (onehundredsixtyone * 1) + (onehundredsixtytwo * 1)
  onehundredsixtyfour = document.autoSumForm.A21.value;
  onehundredsixtyfive = document.autoSumForm.B21.value;
  onehundredsixtysix = document.autoSumForm.C21.value;
  onehundredsixtyseven = document.autoSumForm.D21.value;
  onehundredsixtyeight = document.autoSumForm.E21.value;
  onehundredsixtynine = document.autoSumForm.F21.value;
  onehundredseventy = document.autoSumForm.G21.value; 
  onehundredseventyone = document.autoSumForm.DayTotal21.value
  document.autoSumForm.DayTotal21.value = (onehundredsixtyfour * 1) + (onehundredsixtyfive * 1) + (onehundredsixtysix * 1) + (onehundredsixtyseven * 1) + (onehundredsixtyeight * 1) + (onehundredsixtynine * 1) + (onehundredseventy * 1)
  onehundredseventytwo = document.autoSumForm.A22.value;
  onehundredseventythree = document.autoSumForm.B22.value;
  onehundredseventyfour = document.autoSumForm.C22.value;
  onehundredseventyfive = document.autoSumForm.D22.value;
  onehundredseventysix = document.autoSumForm.E22.value;
  onehundredseventyseven = document.autoSumForm.F22.value;
  onehundredseventyeight = document.autoSumForm.G22.value; 
  onehundredseventynine = document.autoSumForm.DayTotal22.value
  document.autoSumForm.DayTotal22.value = (onehundredseventytwo * 1) + (onehundredseventythree * 1) + (onehundredseventyfour * 1) + (onehundredseventyfive * 1) + (onehundredseventysix * 1) + (onehundredseventyseven * 1) + (onehundredseventyeight * 1)
  onehundredeighty = document.autoSumForm.A23.value;
  onehundredeightyone = document.autoSumForm.B23.value;
  onehundredeightytwo = document.autoSumForm.C23.value;
  onehundredeightythree = document.autoSumForm.D23.value;
  onehundredeightyfour = document.autoSumForm.E23.value;
  onehundredeightyfive = document.autoSumForm.F23.value;
  onehundredeightysix = document.autoSumForm.G23.value; 
  onehundredeightyseven = document.autoSumForm.DayTotal23.value
  document.autoSumForm.DayTotal23.value = (onehundredeighty * 1) + (onehundredeightyone * 1) + (onehundredeightytwo * 1) + (onehundredeightythree * 1) + (onehundredeightyfour * 1) + (onehundredeightyfive * 1) + (onehundredeightysix * 1)
  onehundredeightyeight = document.autoSumForm.A24.value;
  onehundredeightynine = document.autoSumForm.B24.value;
  onehundredninety = document.autoSumForm.C24.value;
  onehundredninetyone = document.autoSumForm.D24.value;
  onehundredninetytwo = document.autoSumForm.E24.value;
  onehundredninetythree = document.autoSumForm.F24.value;
  onehundredninetyfour = document.autoSumForm.G24.value; 
  onehundredninetyfive = document.autoSumForm.DayTotal24.value
  document.autoSumForm.DayTotal24.value = (onehundredeightyeight * 1) + (onehundredeightynine * 1) + (onehundredninety * 1) + (onehundredninetyone * 1) + (onehundredninetytwo * 1) + (onehundredninetythree * 1) + (onehundredninetyfour * 1)
  onehundredninetysix = document.autoSumForm.A25.value;
  onehundredninetyseven = document.autoSumForm.B25.value;
  onehundredninetyeight = document.autoSumForm.C25.value;
  onehundredninetynine = document.autoSumForm.D25.value;
  twohundred = document.autoSumForm.E25.value;
  twohundredone = document.autoSumForm.F25.value;
  twohundredtwo = document.autoSumForm.G25.value; 
  twohundredthree = document.autoSumForm.DayTotal25.value
  document.autoSumForm.DayTotal25.value = (onehundredninetysix * 1) + (onehundredninetyseven * 1) + (onehundredninetyeight * 1) + (onehundredninetynine * 1) + (twohundred * 1) + (twohundredone * 1) + (twohundredtwo * 1)
  twohundredfour = document.autoSumForm.A26.value;
  twohundredfive = document.autoSumForm.B26.value;
  twohundredsix = document.autoSumForm.C26.value;
  twohundredseven = document.autoSumForm.D26.value;
  twohundredeight = document.autoSumForm.E26.value;
  twohundrednine = document.autoSumForm.F26.value;
  twohundredten = document.autoSumForm.G26.value; 
  twohundredeleven = document.autoSumForm.DayTotal26.value
  document.autoSumForm.DayTotal26.value = (twohundredfour * 1) + (twohundredfive * 1) + (twohundredsix * 1) + (twohundredseven * 1) + (twohundredeight * 1) + (twohundrednine * 1) + (twohundredten * 1)
  twohundredtwelve = document.autoSumForm.A27.value;
  twohundredthirteen = document.autoSumForm.B27.value;
  twohundredfourteen = document.autoSumForm.C27.value;
  twohundredfifeteen = document.autoSumForm.D27.value;
  twohundredsixteen = document.autoSumForm.E27.value;
  twohundredseventeen = document.autoSumForm.F27.value;
  twohundredeighteen = document.autoSumForm.G27.value; 
  twohundrednineteen = document.autoSumForm.DayTotal27.value
  document.autoSumForm.DayTotal27.value = (twohundredtwelve * 1) + (twohundredthirteen * 1) + (twohundredfourteen * 1) + (twohundredfifeteen * 1) + (twohundredsixteen * 1) + (twohundredseventeen * 1) + (twohundredeighteen * 1)
  twohundredtwenty = document.autoSumForm.A28.value;
  twohundredtwentyone = document.autoSumForm.B28.value;
  twohundredtwentytwo = document.autoSumForm.C28.value;
  twohundredtwentythree = document.autoSumForm.D28.value;
  twohundredtwentyfour = document.autoSumForm.E28.value;
  twohundredtwentyfive = document.autoSumForm.F28.value;
  twohundredtwentysix = document.autoSumForm.G28.value; 
  twohundredtwentyseven = document.autoSumForm.DayTotal28.value
  document.autoSumForm.DayTotal28.value = (twohundredtwenty * 1) + (twohundredtwentyone * 1) + (twohundredtwentytwo * 1) + (twohundredtwentythree * 1) + (twohundredtwentyfour * 1) + (twohundredtwentyfive * 1) + (twohundredtwentysix * 1)
  twohundredtwentyeight = document.autoSumForm.A29.value;
  twohundredtwentynine = document.autoSumForm.B29.value;
  twohundredthirty = document.autoSumForm.C29.value;
  twohundredthirtyone = document.autoSumForm.D29.value;
  twohundredthirtytwo = document.autoSumForm.E29.value;
  twohundredthirtythree = document.autoSumForm.F29.value;
  twohundredthirtyfour = document.autoSumForm.G29.value; 
  twohundredthirtyfive = document.autoSumForm.DayTotal29.value
  document.autoSumForm.DayTotal29.value = (twohundredtwentyeight * 1) + (twohundredtwentynine * 1) + (twohundredthirty * 1) + (twohundredthirtyone * 1) + (twohundredthirtytwo * 1) + (twohundredthirtythree * 1) + (twohundredthirtyfour * 1)
  twohundredthirtysix = document.autoSumForm.A30.value;
  twohundredthirtyseven = document.autoSumForm.B30.value;
  twohundredthirtyeight = document.autoSumForm.C30.value;
  twohundredthirtynine = document.autoSumForm.D30.value;
  twohundredforty = document.autoSumForm.E30.value;
  twohundredfortyone = document.autoSumForm.F30.value;
  twohundredfortytwo = document.autoSumForm.G30.value; 
  twohundredfortythree = document.autoSumForm.DayTotal30.value
  document.autoSumForm.DayTotal30.value = (twohundredthirtysix * 1) + (twohundredthirtyseven * 1) + (twohundredthirtyeight * 1) + (twohundredthirtynine * 1) + (twohundredforty * 1) + (twohundredfortyone * 1) + (twohundredfortytwo * 1)
  twohundredfortyfour = document.autoSumForm.A31.value;
  twohundredfortyfive = document.autoSumForm.B31.value;
  twohundredfortysix = document.autoSumForm.C31.value;
  twohundredfortyseven = document.autoSumForm.D31.value;
  twohundredfortyeight = document.autoSumForm.E31.value;
  twohundredfortynine = document.autoSumForm.F31.value;
  twohundredfifty = document.autoSumForm.G31.value; 
  twohundredfiftyone = document.autoSumForm.DayTotal31.value
  document.autoSumForm.DayTotal31.value = (twohundredfortyfour * 1) + (twohundredfortyfive * 1) + (twohundredfortysix * 1) + (twohundredfortyseven * 1) + (twohundredfortyeight * 1) + (twohundredfortynine * 1) + (twohundredfifty * 1)
  one = document.autoSumForm.A1.value;
  nine = document.autoSumForm.A2.value;
  seventeen = document.autoSumForm.A3.value;
  twentyfive = document.autoSumForm.A4.value;
  thirtythree = document.autoSumForm.A5.value;
  fourtyone = document.autoSumForm.A6.value;
  fourtynine = document.autoSumForm.A7.value; 
  fiftyseven = document.autoSumForm.A8.value;
  sixtyfive = document.autoSumForm.A9.value;
  seventythree = document.autoSumForm.A10.value;
  eightyone = document.autoSumForm.A11.value;
  eightynine = document.autoSumForm.A12.value;
  ninetyeight = document.autoSumForm.A13.value;
  onehundredseven = document.autoSumForm.A14.value;
  onehundredfifeteen = document.autoSumForm.A15.value;
  onehundredtwentythree = document.autoSumForm.A16.value;
  onehundredthirtyone = document.autoSumForm.A17.value;
  onehundredthirtynine = document.autoSumForm.A18.value;
  onehundredfortyeight = document.autoSumForm.A19.value;
  onehundredfiftysix = document.autoSumForm.A20.value;
  onehundredsixtyfour = document.autoSumForm.A21.value;
  onehundredseventytwo = document.autoSumForm.A22.value;
  onehundredeighty = document.autoSumForm.A23.value;
  onehundredeightyeight = document.autoSumForm.A24.value;
  onehundredninetysix = document.autoSumForm.A25.value;
  twohundredfour = document.autoSumForm.A26.value;
  twohundredtwelve = document.autoSumForm.A27.value;
  twohundredtwenty = document.autoSumForm.A28.value;
  twohundredtwentyeight = document.autoSumForm.A29.value;
  twohundredthirtysix = document.autoSumForm.A30.value;
  twohundredfortyfour = document.autoSumForm.A31.value;
  twohundredfiftytwo = document.autoSumForm.MonthTotal_A.value
  document.autoSumForm.MonthTotal_A.value = (one * 1) + (nine * 1) + (seventeen * 1) + (twentyfive * 1) + (thirtythree * 1) + (fourtyfour * 1) + (fourtynine * 1) + (fiftyseven * 1) + (sixtyfive * 1) + (seventythree * 1) + (eightyone * 1) + (eightynine * 1) + (ninetyeight * 1) + (onehundredseven * 1) + (onehundredfifeteen * 1) + (onehundredtwentythree * 1) + (onehundredthirtyone * 1) + (onehundredthirtynine * 1) + (onehundredfortyeight * 1) + (onehundredfiftysix * 1) + (onehundredsixtyfour * 1) + (onehundredseventytwo * 1) + (onehundredeighty * 1) + (onehundredeightyeight * 1) + (onehundredninetysix * 1) + (twohundredfour * 1) + (twohundredtwelve * 1) + (twohundredtwenty * 1) + (twohundredtwentyeight * 1) + (twohundredthirtysix* 1) + (twohundredfortyfour * 1)
  two = document.autoSumForm.B1.value;
  ten = document.autoSumForm.B2.value;
  eighteen = document.autoSumForm.B3.value;
  twentysix = document.autoSumForm.B4.value;
  thirtyfour = document.autoSumForm.B5.value;
  fourtytwo = document.autoSumForm.B6.value;
  fifty = document.autoSumForm.B7.value; 
  fiftyeight = document.autoSumForm.B8.value;
  sixtysix = document.autoSumForm.B9.value;
  seventyfour = document.autoSumForm.B10.value;
  eightytwo = document.autoSumForm.B11.value;
  ninety = document.autoSumForm.B12.value;
  ninetynine = document.autoSumForm.B13.value;
  onehundredeight = document.autoSumForm.B14.value;
  onehundredsixteen = document.autoSumForm.B15.value;
  onehundredtwentytwo = document.autoSumForm.B16.value;
  onehundredthirtytwo = document.autoSumForm.B17.value;
  onehundredforty = document.autoSumForm.B18.value;
  onehundredfortynine = document.autoSumForm.B19.value;
  onehundredfiftyseven = document.autoSumForm.B20.value;
  onehundredsixtyfive = document.autoSumForm.B21.value;
  onehundredseventythree = document.autoSumForm.B22.value;
  onehundredeightyone = document.autoSumForm.B23.value;
  onehundredeightynine = document.autoSumForm.B24.value;
  onehundredninetyseven = document.autoSumForm.B25.value;
  twohundredfive = document.autoSumForm.B26.value;
  twohundredthirteen = document.autoSumForm.B27.value;
  twohundredtwentyone = document.autoSumForm.B28.value;
  twohundredtwentynine = document.autoSumForm.B29.value;
  twohundredthirtyseven = document.autoSumForm.B30.value;
  twohundredfortyfive = document.autoSumForm.B31.value;
  twohundredfiftythree = document.autoSumForm.MonthTotal_B.value
  document.autoSumForm.MonthTotal_B.value = (two * 1) + (ten * 1) + (eighteen * 1) + (twentysix * 1) + (thirtyfour * 1) + (fourtytwo * 1) + (fifty * 1) + (fiftyeight * 1) + (sixtysix * 1) + (seventyfour * 1) + (eightytwo * 1) + (ninety * 1) + (ninetynine * 1) + (onehundredeight * 1) + (onehundredsixteen * 1) + (onehundredtwentyfour * 1) + (onehundredthirtytwo * 1) + (onehundredforty * 1) + (onehundredfortynine * 1) + (onehundredfiftyseven * 1) + (onehundredsixtyfive * 1) + (onehundredseventythree * 1) + (onehundredeightyone * 1) + (onehundredeightynine * 1) + (onehundredninetyseven * 1) + (twohundredfive * 1) + (twohundredthirteen * 1) + (twohundredtwentyone * 1) + (twohundredtwentynine * 1) + (twohundredthirtyseven* 1) + (twohundredfortyfive * 1)
  three = document.autoSumForm.C1.value;
  eleven = document.autoSumForm.C2.value;
  nineteen = document.autoSumForm.C3.value;
  twentyseven = document.autoSumForm.C4.value;
  thirtyfive = document.autoSumForm.C5.value;
  fourtythree = document.autoSumForm.C6.value;
  fiftyone = document.autoSumForm.C7.value; 
  fiftynine = document.autoSumForm.C8.value;
  sixtyseven = document.autoSumForm.C9.value;
  seventyfive = document.autoSumForm.C10.value;
  eightythree = document.autoSumForm.C11.value;
  ninetyone = document.autoSumForm.C12.value;
  onehundred = document.autoSumForm.C13.value;
  onehundrednine = document.autoSumForm.C14.value;
  onehundredseventeen = document.autoSumForm.C15.value;
  onehundredtwentythree = document.autoSumForm.C16.value;
  onehundredthirtythree = document.autoSumForm.C17.value;
  onehundredfortyone = document.autoSumForm.C18.value;
  onehundredfifty = document.autoSumForm.C19.value;
  onehundredfiftyeight = document.autoSumForm.C20.value;
  onehundredsixtysix = document.autoSumForm.C21.value;
  onehundredseventyfour = document.autoSumForm.C22.value;
  onehundredeightytwo = document.autoSumForm.C23.value;
  onehundredninety = document.autoSumForm.C24.value;
  onehundredninetyeight = document.autoSumForm.C25.value;
  twohundredsix = document.autoSumForm.C26.value;
  twohundredfourteen = document.autoSumForm.C27.value;
  twohundredtwentytwo = document.autoSumForm.C28.value;
  twohundredthirty = document.autoSumForm.C29.value;
  twohundredthirtyeight = document.autoSumForm.C30.value;
  twohundredfortysix = document.autoSumForm.C31.value;
  twohundredfiftyfour = document.autoSumForm.MonthTotal_C.value
  document.autoSumForm.MonthTotal_C.value = (three * 1) + (eleven * 1) + (nineteen * 1) + (twentyseven * 1) + (thirtyfive * 1) + (fourtythree * 1) + (fiftyone * 1) + (fiftynine * 1) + (sixtyseven * 1) + (seventyfive * 1) + (eightythree * 1) + (ninetyone * 1) + (onehundred * 1) + (onehundrednine * 1) + (onehundredseventeen * 1) + (onehundredtwentyfive * 1) + (onehundredthirtythree * 1) + (onehundredfortyone * 1) + (onehundredfifty * 1) + (onehundredfiftyeight * 1) + (onehundredsixtysix * 1) + (onehundredseventyfour * 1) + (onehundredeightytwo * 1) + (onehundredninety * 1) + (onehundredninetyeight * 1) + (twohundredsix * 1) + (twohundredfourteen * 1) + (twohundredtwentytwo * 1) + (twohundredthirty * 1) + (twohundredthirtyeight* 1) + (twohundredfortysix * 1)
  four = document.autoSumForm.D1.value;
  twelve = document.autoSumForm.D2.value;
  twenty = document.autoSumForm.D3.value;
  twentyeight = document.autoSumForm.D4.value;
  thirtysix = document.autoSumForm.D5.value;
  fourtyfour = document.autoSumForm.D6.value;
  fiftytwo = document.autoSumForm.D7.value; 
  sixty = document.autoSumForm.D8.value;
  sixtyeight = document.autoSumForm.D9.value;
  seventysix = document.autoSumForm.D10.value;
  eightyfour = document.autoSumForm.D11.value;
  ninetytwo = document.autoSumForm.D12.value;
  onehundredone = document.autoSumForm.D13.value;
  onehundredten = document.autoSumForm.D14.value;
  onehundredeightteen = document.autoSumForm.D15.value;
  onehundredtwentytwo = document.autoSumForm.D16.value;
  onehundredthirtyfour = document.autoSumForm.D17.value;
  onehundredfortytwo = document.autoSumForm.D18.value;
  onehundredfiftyone = document.autoSumForm.D19.value;
  onehundredfiftynine = document.autoSumForm.D20.value;
  onehundredsixtyseven = document.autoSumForm.D21.value;
  onehundredseventyfive = document.autoSumForm.D22.value;
  onehundredeightythree = document.autoSumForm.D23.value;
  onehundredninetyone = document.autoSumForm.D24.value;
  onehundredninetynine = document.autoSumForm.D25.value;
  twohundredseven = document.autoSumForm.D26.value;
  twohundredfivteen = document.autoSumForm.D27.value;
  twohundredtwentythree = document.autoSumForm.D28.value;
  twohundredthirtyone = document.autoSumForm.D29.value;
  twohundredthirtynine = document.autoSumForm.D30.value;
  twohundredfortyseven = document.autoSumForm.D31.value;
  twohundredfiftyfive = document.autoSumForm.MonthTotal_D.value
  document.autoSumForm.MonthTotal_D.value = (four * 1) + (twelve * 1) + (twenty * 1) + (twentyeight * 1) + (thirtysix * 1) + (fourtyfour * 1) + (fiftytwo * 1) + (sixty * 1) + (sixtyeight * 1) + (seventysix * 1) + (eightyfour * 1) + (ninetytwo * 1) + (onehundredone * 1) + (onehundredten * 1) + (onehundredeighteen * 1) + (onehundredtwentysix * 1) + (onehundredthirtyfour * 1) + (onehundredfortytwo * 1) + (onehundredfiftyone * 1) + (onehundredfiftynine * 1) + (onehundredsixtyseven * 1) + (onehundredseventyfive * 1) + (onehundredeightythree * 1) + (onehundredninetyone * 1) + (onehundredninetynine * 1) + (twohundredseven * 1) + (twohundredfivteen * 1) + (twohundredtwentythree * 1) + (twohundredthirtyone * 1) + (twohundredthirtynine* 1) + (twohundredfortyseven * 1)
  five = document.autoSumForm.E1.value;
  thirteen = document.autoSumForm.E2.value;
  twentyone = document.autoSumForm.E3.value;
  twentynine = document.autoSumForm.E4.value;
  thirtyseven = document.autoSumForm.E5.value;
  fourtyfive = document.autoSumForm.E6.value;
  fiftythree = document.autoSumForm.E7.value; 
  sixtyone = document.autoSumForm.E8.value;
  sixtynine = document.autoSumForm.E9.value;
  seventyseven = document.autoSumForm.E10.value;
  eightyfive = document.autoSumForm.E11.value;
  ninetythree = document.autoSumForm.E12.value;
  onehundredtwo = document.autoSumForm.E13.value;
  onehundredeleven = document.autoSumForm.E14.value;
  onehundrednineteen = document.autoSumForm.E15.value;
  onehundredtwentythree = document.autoSumForm.E16.value;
  onehundredthirtyfive = document.autoSumForm.E17.value;
  onehundredfortythree = document.autoSumForm.E18.value;
  onehundredfiftytwo = document.autoSumForm.E19.value;
  onehundredsixty = document.autoSumForm.E20.value;
  onehundredsixtyeight = document.autoSumForm.E21.value;
  onehundredseventysix = document.autoSumForm.E22.value;
  onehundredeightyfour = document.autoSumForm.E23.value;
  onehundredninetytwo = document.autoSumForm.E24.value;
  twohundred = document.autoSumForm.E25.value;
  twohundredeight = document.autoSumForm.E26.value;
  twohundredsixteen = document.autoSumForm.E27.value;
  twohundredtwentyfour = document.autoSumForm.E28.value;
  twohundredthirtytwo = document.autoSumForm.E29.value;
  twohundredforty = document.autoSumForm.E30.value;
  twohundredfortyeight = document.autoSumForm.E31.value;
  twohundredfiftysix = document.autoSumForm.MonthTotal_E.value
  document.autoSumForm.MonthTotal_E.value = (five * 1) + (thirteen * 1) + (twentyone * 1) + (twentynine * 1) + (thirtyseven * 1) + (fourtyfive * 1) + (fiftythree * 1) + (sixtyone * 1) + (sixtynine * 1) + (seventyseven * 1) + (eightyfive * 1) + (ninetythree * 1) + (onehundredtwo * 1) + (onehundredeleven * 1) + (onehundrednineteen * 1) + (onehundredtwentyseven * 1) + (onehundredthirtyfive * 1) + (onehundredfortythree * 1) + (onehundredfiftytwo * 1) + (onehundredsixty * 1) + (onehundredsixtyeight * 1) + (onehundredseventysix * 1) + (onehundredeightyfour * 1) + (onehundredninetytwo * 1) + (twohundred * 1) + (twohundredeight * 1) + (twohundredsixteen * 1) + (twohundredtwentyfour * 1) + (twohundredthirtytwo * 1) + (twohundredforty * 1) + (twohundredfortyeight * 1)
  six = document.autoSumForm.F1.value;
  fourteen = document.autoSumForm.F2.value;
  twentytwo = document.autoSumForm.F3.value;
  thirty = document.autoSumForm.F4.value;
  thirtyeight = document.autoSumForm.F5.value;
  fourtysix = document.autoSumForm.F6.value;
  fiftyfour = document.autoSumForm.F7.value; 
  sixtytwo = document.autoSumForm.F8.value;
  seventy = document.autoSumForm.F9.value;
  seventyeight = document.autoSumForm.F10.value;
  eightysix = document.autoSumForm.F11.value;
  ninetyfour = document.autoSumForm.F12.value;
  onehundredthree = document.autoSumForm.F13.value;
  onehundredtwelve = document.autoSumForm.F14.value;
  onehundredtwenty = document.autoSumForm.F15.value;
  onehundredtwentyfour = document.autoSumForm.F16.value;
  onehundredthirtysix = document.autoSumForm.F17.value;
  onehundredfortyfour = document.autoSumForm.F18.value;
  onehundredfiftythree = document.autoSumForm.F19.value;
  onehundredsixtyone = document.autoSumForm.F20.value;
  onehundredsixtynine = document.autoSumForm.F21.value;
  onehundredseventyseven = document.autoSumForm.F22.value;
  onehundredeightyfive = document.autoSumForm.F23.value;
  onehundredninetythree = document.autoSumForm.F24.value;
  twohundredone = document.autoSumForm.F25.value;
  twohundrednine = document.autoSumForm.F26.value;
  twohundredseventeen = document.autoSumForm.F27.value;
  twohundredtwentyfive = document.autoSumForm.F28.value;
  twohundredthirtythree = document.autoSumForm.F29.value;
  twohundredfortyone = document.autoSumForm.F30.value;
  twohundredfortynine = document.autoSumForm.F31.value;
  twohundredfiftyseven = document.autoSumForm.MonthTotal_F.value
  document.autoSumForm.MonthTotal_F.value = (six * 1) + (fourteen * 1) + (twentytwo * 1) + (thirty * 1) + (thirtyeight * 1) + (fourtysix * 1) + (fiftyfour * 1) + (sixtytwo * 1) + (seventy * 1) + (seventyeight * 1) + (eightysix * 1) + (ninetyfour * 1) + (onehundredthree * 1) + (onehundredtwelve * 1) + (onehundredtwenty * 1) + (onehundredtwentyeight * 1) + (onehundredthirtysix * 1) + (onehundredfortyfour * 1) + (onehundredfiftythree * 1) + (onehundredsixtyone * 1) + (onehundredsixtynine * 1) + (onehundredseventyseven * 1) + (onehundredeightyfive * 1) + (onehundredninetythree * 1) + (twohundredone * 1) + (twohundrednine * 1) + (twohundredseventeen * 1) + (twohundredtwentyfive * 1) + (twohundredthirtythree * 1) + (twohundredfortyone * 1) + (twohundredfortynine * 1)
  seven = document.autoSumForm.G1.value;
  fivteen = document.autoSumForm.G2.value;
  twentythree = document.autoSumForm.G3.value;
  thirtyone = document.autoSumForm.G4.value;
  thirtynine = document.autoSumForm.G5.value;
  fourtyseven = document.autoSumForm.G6.value;
  fiftyfive = document.autoSumForm.G7.value; 
  sixtythree = document.autoSumForm.G8.value;
  seventyone = document.autoSumForm.G9.value;
  seventynine = document.autoSumForm.G10.value;
  eightyseven = document.autoSumForm.G11.value;
  ninetyfive = document.autoSumForm.G12.value;
  onehundredfour = document.autoSumForm.G13.value;
  onehundredthirteen = document.autoSumForm.G14.value;
  onehundredtwentyone = document.autoSumForm.G15.value;
  onehundredtwentytwo = document.autoSumForm.G16.value;
  onehundredthirtyseven = document.autoSumForm.G17.value;
  onehundredfortyfive = document.autoSumForm.G18.value;
  onehundredfiftyfour = document.autoSumForm.G19.value;
  onehundredsixtytwo = document.autoSumForm.G20.value;
  onehundredseventy = document.autoSumForm.G21.value;
  onehundredseventyeight = document.autoSumForm.G22.value;
  onehundredeightysix = document.autoSumForm.G23.value;
  onehundredninetyfour = document.autoSumForm.G24.value;
  twohundredtwo = document.autoSumForm.G25.value;
  twohundredten = document.autoSumForm.G26.value;
  twohundredeighteen = document.autoSumForm.G27.value;
  twohundredtwentysix = document.autoSumForm.G28.value;
  twohundredthirtyfour = document.autoSumForm.G29.value;
  twohundredfortytwo = document.autoSumForm.G30.value;
  twohundredfifty = document.autoSumForm.G31.value;
  twohundredfiftyeight = document.autoSumForm.MonthTotal_G.value
  document.autoSumForm.MonthTotal_G.value = (seven * 1) + (fivteen * 1) + (twentythree * 1) + (thirtyone * 1) + (thirtynine * 1) + (fourtyseven * 1) + (fiftyfive * 1) + (sixtythree * 1) + (seventyone * 1) + (seventynine * 1) + (eightyseven * 1) + (ninetyfive * 1) + (onehundredfour * 1) + (onehundredthirteen * 1) + (onehundredtwentyone * 1) + (onehundredtwentynine * 1) + (onehundredthirtyseven * 1) + (onehundredfortyfive * 1) + (onehundredfiftyfour * 1) + (onehundredsixtytwo * 1) + (onehundredseventy * 1) + (onehundredseventyeight * 1) + (onehundredeightysix * 1) + (onehundredninetyfour * 1) + (twohundredtwo * 1) + (twohundredten * 1) + (twohundredeighteen * 1) + (twohundredtwentysix * 1) + (twohundredthirtyfour * 1) + (twohundredfortytwo * 1) + (twohundredfifty * 1)
  twohundredfiftytwo = document.autoSumForm.MonthTotal_A.value;
  twohundredfiftythree = document.autoSumForm.MonthTotal_B.value;
  twohundredfiftyfour = document.autoSumForm.MonthTotal_C.value;
  twohundredfiftyfive = document.autoSumForm.MonthTotal_D.value;
  twohundredfiftysix = document.autoSumForm.MonthTotal_E.value;
  twohundredfiftyseven = document.autoSumForm.MonthTotal_F.value;
  twohundredfiftyeight = document.autoSumForm.MonthTotal_G.value;
  twohundredfiftynine = document.autoSumForm.MonthTotalsOverall.value
  document.autoSumForm.MonthTotalsOverall.value = (twohundredfiftytwo * 1) + (twohundredfiftythree * 1) + (twohundredfiftyfour * 1) + (twohundredfiftyfive * 1) + (twohundredfiftysix * 1) + (twohundredfiftyseven * 1) + (twohundredfiftyeight * 1)
}
function stopCalc(){
  clearInterval(interval);
}