function FigureCALORIE1(form,feet,inches,pounds,years){TotalInches=eval(feet*12)+eval(inches)
Centis=TotalInches*2.54
Kilos=pounds/2.2
Age=years
Weight=655+(9.6*Kilos)
Height=1.7*Centis
Ages=4.7*Age
var activity=document.CALORIE1.activity.options[document.CALORIE1.activity.selectedIndex].value
form.calcval.value=(Math.round(Weight+Height-Ages)*activity)}
function FigureCALORIE(form,feet,inches,pounds,years,activity){TotalInches=eval(feet*12)+eval(inches)
Centis=TotalInches*2.54
Kilos=pounds/2.2
Age=years
Weight=66+(13.7*Kilos)
Height=5*Centis
Ages=6.8*Age
var activity=document.CALORIE.activity.options[document.CALORIE.activity.selectedIndex].value
form.calcval.value=(Math.round(Weight+Height-Ages)*activity)}

