??????? ????????????????????????????????????????????????????????????????????????? ?????????????????????????????????? ???????????????????? ?????????????????????????????????? ?????????????????????????????????????????????????????????????????????????????????????????????????????? ?????????????????????????????????????????????????????????????????????????????????????????????????

PERFIL NUTRICIONAL

????????????????????????????????????????????????????????????????????? necesidades nutricionales, con fines únicamente informativos???????????????????????????????????????????????????????????????????????????????? ????????? ? ?? ?????? ?????? ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ????? ?????? ????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ?????? ????????????????????????????????????????????????????????????????? ????? ?????? ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ????? ??????
Femenino     Masculino
Altura:
[Ayuda]??????
% de Cal de Carboh.: %
% de Cal de Grasas: %
? ?
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

?

Nota: El aporte calórico por nutriente que sugerimos cumple las recomendaciones de la OMS (Organización Mundial de Salud).?
?
? ? ????????????????????????????????????????????? ???????????????????????????????????????? ??????????????????????????????????????? ???????????????????????????????????????????????????? ?????????????????????????????????????????????? ????????????????????????????????????????????? ????????????????????????????????? ?????????????????????????????????? ???????????????????????????????????????????? ???????? ? ? ????????????????????????????????????????????????????????????????????????? ????????????????????????????????????????????????????????????????????????? ???????????????????????????????? function resetForm() {???????????????????????????????????????????? }???????????????????? setWeight('nutritionprofile');??????????????????????????????? setAge('nutritionprofile');?????????????????????????????? setProximates('nutritionprofile');??????????????????????????????? }???????????????????????????? ?????????????????? id = day.getTime();??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? }? function calculateNutritionProfile() {? doc = document.nutritionprofile? basal = calculateBMR()???????????????????? {?????????? }? totalDaily = calculateCalorieNeeds(basal)? if (!calcNutritionalNeeds(totalDaily))?? return;?? ???????????????????????? doc.bmi.value = bodymi;??????????????????????? doc.tdcn.value = totalDaily;? document.nutritionprofile.submit();?? ? function calculateBMR() {? ????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????? {????????????????????????????????????????????????????????????????????? ???????????????????????? doc.weight.focus();?????????? ??? }????????????????????????????????????????????????????????????????????????????????????? {??????????????????????????????????????????????????????????????????????? doc.height1.value = "";??????????????????????? return;??? }??????????????????????????????????????????????????????????????????????????????????? {??????????????????????????????????????????????????????????????????????? doc.height2.value = "";??????????????????????? return;??? }?? if (doc.age.value == "" || isNaN(doc.age.value) || doc.age.value <= 0 )??? alert("Por favor, ingresar un número mayor que 0 para la edad."); ?????????????????????? doc.age.focus();?????????? ??? ? ? if (doc.age.value < 18 || isNaN(doc.age.value) || doc.age.value <= 0 )??? alert("Debido a que eres menor de 18, no podemos darte un perfil nutricional.")???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? alert("Puedes solicitar nuestra Visita Nutricional, la cual tiene un costo de S/.60. Para programala puedes escribirnos a sac@alamesaservice.com.pe o llamarnos al 4770220 con un día de anticipación"); ?????????????????????? doc.age.focus();?????????? ??? ? ? ??????????????????????????? ??????????????????????????????????????? if (uom == 1) ???? weight = lbstokg(weight)???? ??????????????????????????????????????????? height2uom = doc.height2uom.selectedIndex?? ????????????????????????????????????????? {?????????????????????????????????????? inches = parseInt(doc.height2.value);?????????????????????????????????????????? }?????????????????????????????????????????????? {???????????????????????????????????????? cm = parseInt(doc.height2.value);???????????????????????????????????? ????????????????????????????? }???????? alert("Please make both units of measure for your height the same");?????????? }? age = doc.age.value;???????????????????????????????????? {????????????????????????????????????????????????? }????????????????????????????????????????? {??????????????????????????????????????????????? ??? ?? return Math.round(bmrate);??? ? }? function calculateBMRF(weight, htInCm, age) {???????????????????????????????????????????????????????????? }?????????????????????????????????????????????? return 66 + (13.7 * weight) + (5 * htInCm) - (6.8 * age)?? ???????????????????????????????????????? ?? if (basal == null)??? return;??? ????????????????????????????????? var level = doc.level.selectedIndex;?? totalCalories = 0;? if (level == 0)??? totalCalories = basal * 1.2; ??? else if (level == 1)??? totalCalories = basal * 1.375;??? else if (level == 2)??? totalCalories = basal * 1.55 ;??? else if (level == 3)??? totalCalories = basal * 1.725;??? else if (level == 4)??? totalCalories = basal * 1.9;??? ?? ??????????????????????????????????? }??????????????????????????????????????????????? doc = document.nutritionprofile?????????????????????????????????????????? percentprotein = parseInt(doc.protein.value)?????????????????????????????????????? ?????????????????????????????????????????????????????????????????????? {????????????????????????????????????????????????? doc.carbs.value = ""????????????????????? return false;???? ???????????????????????????????????????????????????????????????????????????? {????????????????????????????????????????????????? doc.protein.value = ""??????????????????????? return false;???? ???????????????????????????????????????????????????????????????? {????????????????????????????????????????????????? doc.fat.value = ""??????????????????? return false;???? ? totalper = percentcarbs + percentprotein + percentfat??? if (totalper != 100)??? alert("The sum of the percentages from carbohydrates, protein and fat must equal 100.")????????????????? }? doc.percentcarb.value = percentcarbs;???????????????????????????????????????????? doc.percentfat.value = percentfat;?? percentcarbs = percentcarbs / 100??????????????????????????????????????? percentfat = percentfat / 100?? ????????????????????????????????????????????????????????? proteinCalories = Math.ceil(totalCalories * percentprotein)????????????????????????????????????????????????????? carbGrams = Math.ceil(carbCalories / 4)??????????????????????????????????????????????? fatGrams = Math.ceil(fatCalories / 9)?? ???????????????????????????????????????? doc.proteinCalories.value = proteinCalories;?????????????????????????????????????? doc.carbGrams.value = carbGrams;???????????????????????????????????????? doc.fatGrams.value = fatGrams;?? ?? return true;?? ?? function calcNutritionalNeedsToLose(totalCalories) {????????????????????????????????? ???????????????????????????????????????????????? proteinCalories = Math.ceil(totalCalories * .15)?????????????????????????????????????????????? carbGrams = Math.ceil(carbCalories / 4)??????????????????????????????????????????????? fatGrams = Math.ceil(fatCalories / 9)?? ?????????????????????????????????????????????? doc.proteinCaloriesToLose.value = proteinCalories;???????????????????????????????????????????? doc.carbGramsToLose.value = carbGrams;?????????????????????????????????????????????? doc.fatGramsToLose.value = fatGrams;?? return?? ?? ????????????????????????? doc = document.nutritionprofile?? weight = doc.weight.value?? var uom = doc.weightuom.selectedIndex???????????????? {???????????????????????????? }?? height1uom = doc.height1uom.selectedIndex??????????????????????????????????????????? ? if (height1uom == 1 && height2uom == 1)??? feet = parseInt(doc.height1.value);???????????????????????????????????????? htInCm = calculateHeight(feet, inches);??? else if (height1uom == 0 && height2uom == 0)??? metres = parseInt(doc.height1.value);???????????????????????????????????? convertedCm = metresToCm(metres);??? htInCm = convertedCm + cm;??? else {??????????????????????????????????????????????????????????????????????? return;??? var bmi = (weight / htInCm / htInCm) * 10000? ????????????????????????? ?? function roundOff(value, precision)?? value = "" + value //convert value to string????????????????????????????????????????? ?????????????????????????????????????????????????????????????????????? ????????????????????????????????????????????????? ?????????????????????????? {??????????????????????????????????????????????????????? result += ".";??????????????????????????????????????????????????????????????????? }????????????? {???????????????????????????????? }??????????????????????? }? function setData(myformname){? ?????????????????????????????????? if (doc.keep[0].checked == true)?? var keep = "once";?? else if (doc.keep[0].checked == true)?? var keep = "always";?? ? if (doc.weight){??????????????????????????????? var wghtuom = doc.weightuom.selectedIndex;??????????????????????????????????? setCookie("weightuom", wghtuom, keep);??? if (doc.height1){? var hght1 = doc.height1.value;????????????????????????????????? var hght1uom = doc.height1uom.selectedIndex;??????????????????????????????????????????????? ????????????????????????????????????? setCookie("height2", hght2, keep);??????????????????????????????????????????? setCookie("height2uom", hght2uom, keep);??? if (doc.age){??????????????????????????? setCookie("age", age, keep);??? if (doc.level)??? var level = doc.level.selectedIndex;??????????????????????????????????? }?????????????? {??????????????????????????? setCookie("rhr", rhr, keep);??? if (doc.carbs)??? var carbs = doc.carbs.value;??????????????????????????????????? var protein = doc.protein.value;??????????????????????????????????????? var fat = doc.fat.value;??????????????????????????????? }????????????????? {??? if (doc.gender[0].checked == true)????? var gender = 0;????? else if (doc.gender[0].checked == true)???? var gender = 1;???? setCookie("gender", gender, keep); ???? alert("Your profile has been set.");????????????????? ? function setWeight(myformname){? var doc = document.forms[myformname];?????????????????????????????????? var weightuom = getCookie("weightuom");????????????????????????????????????????????????? if (weightuom != null) {doc.weightuom.selectedIndex = weightuom};?? ???????????????????????????????? var doc = document.forms[myformname];???????????????????????????????????? var height2 = getCookie("height2");?????????????????????????????????????????? var height2uom = getCookie("height2uom");? if (height1 != null) {doc.height1.value = height1}????????????????????????????????????????????????????????????????????? if (height2 != null) {doc.height2.value = height2}????????????????????????????????????????????????????????????????????? }????????????????????????????? var doc = document.forms[myformname];????????????????????????????? if (age != null) {doc.age.value = age}?? function setLevel(myformname){??????????????????????????????????????? var level = getCookie("level");?????????????????????????????????????????????????????? }? function setRhr(myformname){??????????????????????????????????????? var rhr = getCookie("rhr");???????????????????????????????????????? }???????????????????????????????????? var doc = document.forms[myformname];????????????????????????????????? if (carbs != null) {doc.carbs.value = carbs}????????????????????????????????????? if (protein != null) {doc.protein.value = protein}????????????????????????????? if (fat != null) {doc.fat.value = fat}?? ???????????????????????????????? var doc = document.forms[myformname];??????????????????????????????????? if (gender != null) {doc.gender[gender].checked = true}?? ??????????????????????? document.forms[0].reset()?? ???????????????????????? ???????????????????????????????????? ?? ? function lbstokg(pounds) {????????????????????????????? return weight? }? function ftToInch(feet) {?????????????????????? return cinches?? ???????????????????????????????????? ctotalInches = totalInches * 2.54????????????????????? }??????????????????????????????? return metres * 100?? function calculateHeight(feet, inches) {?? convertedInches = ftToInch(feet);?????????????????????????????????????????? ?????????????????????????????????? }? function popUp(URL, w, h) {?? day = new Date();???????????????????? eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=1,width=" + w + ",height=" + h + ",left = 20,top = 50, screenx=20, screeny=20');");?? ? ??????????