<!-- Author: Brian Mackenzie -->
<!-- Date: 11th March 2004 -->
<!-- Version: 1.0 -->
<!-- Function:  Calculate the results from the McCloy Physical Fitness Test -->
<!-- Required by: mccloy.htm -->
<!-- Copyright Brian Mackenzie 2004 -->

function quad1calculate()
{
 t1 = document.quad1.t1.value*1;
 t2 = document.quad1.t2.value*1;
 t3 = document.quad1.t3.value*1;
 t4 = document.quad1.t4.value*1;
 t5 = document.quad1.t5.value*1;

 document.quad1.tp.value = (t1 + t2 + t3 + t4 + t5)/5;
}

function valclear()
{
  document.quad1.tp.value = "";
}