"); } else if (navigator.appName.indexOf ("Microsoft")>=0) { window.parent.frames[3].document.write(""); } } return true; } function calculate(menu) { var calTotal=0; var proTotal=0; var fatTotal=0; if (top.parent.preferences.document.topForm.sound.checked) { if (navigator.appName.indexOf("Netscape")>=0) { window.parent.frames[3].document.write(""); } else if (navigator.appName.indexOf ("Microsoft")>=0) { window.parent.frames[3].document.write(""); } } // Total the appetizer part of breakfast if (document.menu.b11.checked==true) {calTotal += 56;}// fresh fruit cup if (document.menu.b12.checked==true) {calTotal += 81; proTotal += 1;}// stewed prunes if (document.menu.b13.checked==true) {calTotal += 32;}// peach slices // Total and validate the entree part of breakfast var qty=document.menu.QtyB21.options[document.menu.QtyB21.selectedIndex].value; if (document.menu.b21.checked==true) {calTotal += 166; proTotal += 15.9;}// lowfat omelette w/hash brown potatoes & cheese if (document.menu.b21.checked==false && (document.menu.b21a.checked==true || document.menu.b21b.checked==true || document.menu.b21c.checked==true || qty>0)) { window.alert("Please make sure the Breakfast 'Entree' box is checked if any of the sub-entree boxes are checked.\n\nOtherwise please uncheck all sub-entree boxes."); document.menu.b21.focus(); return false;} {calTotal += (qty * 37); document.menu.QtyB21.blur()}// extra margarine if (document.menu.b21.checked==true && document.menu.b21a.checked==true) {calTotal -= 74; proTotal -= 2.5; document.menu.b21b.checked=true; // w/o toast document.menu.b21c.checked=true;} if (document.menu.b21.checked==true && document.menu.b21b.checked==true) {calTotal -= 37;}// w/o margarine if (document.menu.b21.checked==true && document.menu.b21c.checked==true) {calTotal -= 17;}// w/o low calorie jelly if (document.menu.b21.checked==true && (document.menu.b21b.checked==true && qty > 0)) { window.alert("The 'w/o margarine' box may not be checked if the 'extra margarine' quantity is one or greater.\n\nPlease use only one of the above selections."); document.menu.b21b.focus(); document.menu.QtyB21.selectedIndex="0"; document.menu.b21b.checked=false; if (document.menu.b21a.checked==true) document.menu.b21c.checked=false; return false; } // Total and validate the cereal part of breakfast var qty=document.menu.QtyB31.options[document.menu.QtyB31.selectedIndex].value; if (document.menu.b31.checked==true) {calTotal += 292; proTotal += 18.8;}// cereal appetizer if (document.menu.b31.checked==false && (document.menu.b31a.checked==true || document.menu.b31b.checked==true || document.menu.b31c.checked==true || qty > 0)) { window.alert("Please make sure the Cereal 'Appetizer' box is checked if any of the sub-appetizer boxes are checked.\n\nOtherwise please uncheck all sub-appetizer boxes."); document.menu.b31.focus(); document.menu.QtyB31.selectedIndex=0; return false;} {calTotal += (qty * 37); document.menu.QtyB31.blur()}// extra margarine if (document.menu.b31.checked==true && document.menu.b31a.checked==true) {calTotal -= 102; proTotal -= 15.6;}// w/o lowfat cottage cheese if (document.menu.b31.checked==true && document.menu.b31b.checked==true) {calTotal -= 153; proTotal -= 3.2; document.menu.b31c.checked=true;}// w/o muffin if (document.menu.b31.checked==true && document.menu.b31c.checked==true) {calTotal -= 37;}// w/o margarine if (document.menu.b31.checked==true && (document.menu.b31c.checked==true && qty > 0)) { window.alert("The 'w/o margarine' box may not be checked if the 'extra margarine' quantity is one or greater.\n\nPlease use only one of the above selections."); document.menu.b31c.focus(); document.menu.QtyB31.selectedIndex="0"; document.menu.b31c.checked=false; return false; } if (document.menu.b32.checked==true) {calTotal += 67; proTotal += 1.1;}// Rice Krispies if (document.menu.b33.checked==true) {calTotal += 120; proTotal += 6;}// All Bran if (document.menu.b34.checked==true) {calTotal += 70; proTotal += 1;}// Cheerios if (document.menu.b35.checked==true) {calTotal += 71; proTotal += 4;}// Bran Flakes if (document.menu.b36.checked==true) {calTotal += 100; proTotal += 3;}// Cream of Wheat if (document.menu.b37.checked==true) {calTotal += 142; proTotal += 6.5;}// Oatmeal // Total the beverage part of breakfast if (document.menu.b41a.checked==true) {calTotal += 70; proTotal += 5;}// 4oz reduced fat milk if (document.menu.b41b.checked==true) {calTotal += 140; proTotal += 10;}// 8oz reduced fat milk if (document.menu.b42a.checked==true) {calTotal += 50; proTotal += 5;}// 4oz nonfat milk if (document.menu.b42b.checked==true) {calTotal += 100; proTotal += 10;}// 8oz nonfat milk // Total and validate the appetizer part of lunch if (document.menu.L11.checked==true) {calTotal += 167; proTotal += 2.5;}// lunch appetizer if (document.menu.L11.checked==false && (document.menu.L11a.checked==true || document.menu.L11b.checked==true)) { window.alert("Please make sure the Lunch 'Appetizer' box is checked if any of the sub-appetizer boxes are checked.\n\nOtherwise please uncheck all sub-appetizer boxes."); document.menu.L11.focus(); return false;} if (document.menu.L11.checked==true && document.menu.L11a.checked==true) {calTotal -= 47; proTotal -= .5;}// w/o fruit cup if (document.menu.L11.checked==true && document.menu.L11b.checked==true) {calTotal -= 120; proTotal -= 2;}// w/o sugar-free cookies // Total the entree part of lunch if (document.menu.L21.checked==true) {calTotal += 506; proTotal += 23;}// hamburger if (document.menu.L22.checked==true) {calTotal += 354; proTotal += 28.4;}// chef salad if (document.menu.L23.checked==true) {calTotal += 352; proTotal += 25.6;}// tuna salad sandwich // Total the beverage part of lunch if (document.menu.L31a.checked==true) {calTotal += 70; proTotal += 5;}// 4oz reduced fat milk if (document.menu.L31b.checked==true) {calTotal += 140; proTotal += 10;}// 8oz reduced fat milk if (document.menu.L32a.checked==true) {calTotal += 50; proTotal += 5;}// 4oz nonfat milk if (document.menu.L32b.checked==true) {calTotal += 100; proTotal += 10;}// 8oz nonfat milk // Total and validate the Snacks var qty=document.menu.QtyS11.options[document.menu.QtyS11.selectedIndex].value; calTotal += (qty*100); proTotal += (qty*10); document.menu.QtyS11.blur();// nonfat milk var qty=document.menu.QtyS12.options[document.menu.QtyS12.selectedIndex].value; calTotal += (qty*140); proTotal += (qty*10); document.menu.QtyS12.blur();// reduced fat milk var qty=document.menu.QtyS13.options[document.menu.QtyS13.selectedIndex].value; calTotal += (qty*56); document.menu.QtyS13.blur();// fruit cup var qty=document.menu.QtyS14.options[document.menu.QtyS14.selectedIndex].value; calTotal += (qty*52); document.menu.QtyS14.blur();// fresh fruit var qty=document.menu.QtyS15.options[document.menu.QtyS15.selectedIndex].value; calTotal += (qty*85); proTotal += (qty*3.5); document.menu.QtyS15.blur();// low calorie pudding var qty=document.menu.QtyS16.options[document.menu.QtyS16.selectedIndex].value; calTotal += (qty*28); document.menu.QtyS16.blur();// regular crackers var qty=document.menu.QtyS16a.options[document.menu.QtyS16a.selectedIndex].value; calTotal += (qty*21); document.menu.QtyS16a.blur();// salt free crackers var qty=document.menu.QtyS17.options[document.menu.QtyS17.selectedIndex].value; calTotal += (qty*54); document.menu.QtyS17.blur();// graham crackers var qty=document.menu.QtyS18.options[document.menu.QtyS18.selectedIndex].value; if ((document.menu.s18a.checked==true && document.menu.s18b.checked==true) || (document.menu.s18a.checked==true && document.menu.s18c.checked==true) || (document.menu.s18b.checked==true && document.menu.s18c.checked==true)) { window.alert("Only check one of the Snack 'sandwiches' before calculating total."); document.location="#snack"; document.menu.s18a.focus(); return false; } /*if (qty>0 && (document.menu.s18a.checked==false && document.menu.s18b.checked==false && document.menu.s18c.checked==false)){ window.alert("Please check one of the Snack 'Sandwich' boxes if quantity is .5 or more.\n\nOtherwise change the quantity to zero."); document.location="#snack"; document.menu.s18a.focus(); return false;}*/ if (document.menu.s18a.checked==false && document.menu.s18b.checked==false && document.menu.s18c.checked==false) {document.menu.QtyS18.selectedIndex="0";} if (document.menu.s18a.checked==true) { if (qty==0) { window.alert("Please enter a quantity for the Snack 'Turkey Sandwich'.\n\nOtherwise uncheck the 'Turkey Sandwich' box."); document.location="#snack"; document.menu.QtyS18.focus(); return false} else {calTotal += (qty*301); proTotal += (qty*24);} } if (document.menu.s18b.checked==true) { if (qty==0) { window.alert("Please enter a quantity for the Snack 'Tuna Sandwich'.\n\nOtherwise uncheck the 'Tuna Sandwich' box."); document.location="#snack"; document.menu.QtyS18.focus(); return false} else {calTotal += (qty*301); proTotal += (qty*28);} } if (document.menu.s18c.checked==true) { if (qty==0) { window.alert("Please enter a quantity for the Snack 'Roast Beef Sandwich'.\n\nOtherwise uncheck the 'Roast Beef Sandwich' box."); document.location="#snack"; document.menu.QtyS18.focus(); return false} else {calTotal += (qty*326); proTotal += (qty*23);} } var qty=document.menu.QtyS19.options[document.menu.QtyS19.selectedIndex].value; calTotal += (qty*10); document.menu.QtyS19.blur();// low calorie gelatin // Total the appetizer part of dinner var qty=document.menu.QtyD11.options[document.menu.QtyD11.selectedIndex].value; if (document.menu.d11.checked==true) {calTotal += 146; proTotal += 3.9;}// dinner appetizer if (document.menu.d11.checked==false && (document.menu.d12.checked==true || document.menu.d12a.checked==true ||document.menu.d13.checked==true || document.menu.d13a.checked==true || qty > 0)) { window.alert("Please make sure the Dinner 'Appetizer' box is checked if any of the sub-appetizer boxes are checked.\n\nOtherwise please uncheck all sub-appetizer boxes."); document.location="#dinner"; document.menu.d11.focus(); return false;} calTotal += (qty*37); document.menu.QtyD11.blur();// extra margarine if (document.menu.d11.checked==true && document.menu.d12.checked==true) {calTotal -= 11; proTotal -= 1; document.menu.d12a.checked=true;}// w/o green salad if (document.menu.d11.checked==true && document.menu.d12a.checked==true) {calTotal -= 8;}// w/o low calorie dressing if (document.menu.d11.checked==true && document.menu.d13.checked==true) {calTotal -= 90; proTotal -= 2.9; document.menu.d13a.checked=true;}// w/o dinner roll if (document.menu.d11.checked==true && document.menu.d13a.checked==true) {calTotal -= 37;}// w/o margarine if (document.menu.d11.checked==true && (document.menu.d13a.checked==true && qty > 0)) { window.alert("The 'w/o margarine' box may not be checked if the 'extra margarine' quantity is one or greater.\n\nPlease use only one of the above selections."); document.location="#dinner"; document.menu.d13a.focus(); document.menu.QtyD11.selectedIndex="0"; document.menu.d13a.checked=false; return false; } // Total the entree part of dinner if (document.menu.d21.checked==true) {calTotal += 358; proTotal += 28.7;}// chicken tarragon if (document.menu.d22.checked==true) {calTotal += 351; proTotal += 24.4;}// roast beef // Total the dessert part of dinner if (document.menu.d31.checked==true) {calTotal += 57; proTotal +=.9;}// fresh fruit if (document.menu.d32.checked==true) {calTotal += 82; proTotal += 5;}// low calorie raspberry pudding // Total the beverage part of dinner if (document.menu.d41a.checked==true) {calTotal += 70; proTotal += 5;}// 4oz reduced fat milk if (document.menu.d41b.checked==true) {calTotal += 140; proTotal += 10;}// 8oz reduced fat milk if (document.menu.d42a.checked==true) {calTotal += 50; proTotal += 5;}// 4oz nonfat milk if (document.menu.d42b.checked==true) {calTotal += 100; proTotal += 10;}// 8oz nonfat milk calTotal=Math.round(calTotal);//*10)/10; proTotal=Math.round(proTotal*10)/10; fatTotal=Math.round(fatTotal*10)/10; var checkedCalories2= top.parent.preferences.document.topForm.calories.checked; var checkedProtein2= top.parent.preferences.document.topForm.protein.checked; var checkedFat2= top.parent.preferences.document.topForm.fat.checked; if (checkedCalories2) {top.parent.results.document.middleForm.TotalCalories.value = calTotal;} if (checkedProtein2) {top.parent.results.document.middleForm.TotalProtein.value = proTotal;} if (checkedFat2) {top.parent.results.document.middleForm.TotalFat.value = fatTotal;} return true; } //onLoad="LargeWin=window.open('KaiserMenuCycle1.html','large','toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1')"

Cycle 3

Breakfast


Appetizer

Fresh Fruit Cup

Stewed Prunes

Peach Slices

Entree
Lowfat Omelette
     (w/hash brown potatoes &
      cheddar cheese)
Qtyextra margarine
w/o toast
       w/o margarine
       w/o jelly
Cereals
Cereal Appetizer
Qtyextra margarine
w/o cottage cheese
w/o muffin
       w/o margarine
   Rice Krispies
   All Bran
   Cheerios
   Bran Flakes
   Cream of Wheat
   Oatmeal
Beverages

Reduced Fat Milk
4oz size
8oz size
NonFat Milk
4oz size
8oz size

Go To:  Breakfast   Lunch/Snack   Dinner  

Lunch                                                Snack


Appetizer

Lunch Appetizer
w/o fruit cup
w/o sugar-free cookies
Entree

Hamburger

Chef Salad

Tuna Salad Sandwich

Beverages
Reduced Fat Milk
4oz size
8oz size
NonFat Milk
4oz size
8oz size
Snack

QtyNonfat Milk
QtyReduced Fat Milk
QtyFruit Cup
QtyFresh Fruit
QtyLow Calorie Pudding
QtyCrackers
QtyCrackers(salt-free)
QtyGraham Crackers
Qty Sandwich
                 Turkey
                 Tuna
                 Roast Beef
QtyLow Calorie Gelatin

Go To:  Breakfast   Lunch/Snack   Dinner  

Dinner


Appetizer

Appetizer
Qtyextra margarine
w/o green salad
       w/o dressing
w/o dinner roll
       w/o margarine
Entree

Chicken Tarragon

Roast Beef

Dessert

Fresh Fruit

Low Calorie Raspberry Pudding

Beverages
Reduced Fat Milk
4oz size
8oz size
NonFat Milk
4oz size
8oz size

Go To:  Breakfast   Lunch/Snack   Dinner  

Top of Menu

© Copyright 2000 Mark Aldridge
All Rights Reserved
This program is licensed, not sold