function losinglastten()
{
var yourweight = document.lastten.weight.value

var lowereat = Math.round(yourweight * 13)
document.lastten.eatlow.value = lowereat

var highereat = Math.round(yourweight * 13 + 250)
document.lastten.eathigh.value = highereat



var fivelow = Math.round(lowereat/5)
document.lastten.fivelower.value = fivelow

var fivehigh = Math.round(highereat/5)
document.lastten.fivehigher.value = fivehigh


var fiveprolow = Math.round(fivelow * .35 /4)
document.lastten.fiveprol.value = fiveprolow


var fiveprolow = Math.round(fivehigh * .35 /4)
document.lastten.fivepro2.value = fiveprolow

var lowereat = Math.round(yourweight * 13 - 250)
document.lastten.eatloww.value = lowereat

var highereat = Math.round(yourweight * 13 + 250)
document.lastten.eathighh.value = highereat

var highereat = Math.round(yourweight * 13 + 250)
document.lastten.eathighhh.value = highereat

var highereat = Math.round(yourweight * 13 + 550)
document.lastten.eathighhhh.value = highereat


}