

<!-- Begin
function compute() {
with (document.paycheck) {
otrate.value = rate.value * otpercent.value;
if (hours.value > 40) ot.value = hours.value - 40;
if (hours.value > 40) hours.value = 40;
gross.value = (rate.value * hours.value) + otrate.value * ot.value;
tax.value = gross.value * taxrate.value;
total.value = gross.value - tax.value - other.value;
   }
}
//  End -->


