// common_tutorial.js 070625

f2="Diet and Weight Loss Tutorial</p><p class='ch'>";
f3="</p><p class='bt'>";

x=b+"<a href='";
q="<b>Introduction</b>";
q+="<br>";
if (page=="tutorial"){q+=b+"Overview"}
else {q+=x+"tutorial.html'>Overview</a>"}
q+="<br>";
if (page=="disorder"){q+=b+"Eating Disorders"}
else {q+=x+"tutorial_disorder.html'>Eating Disorders</a>"}
q+="<br>";
if (page=="count"){q+=b+"The Need to Count Calories"}
else {q+=x+"tutorial_count.html'>The Need to Count Calories</a>"}
q+="</p><p class='bt'>";

q+="<b>How Many More Diets Do You Want to Go On?</b>";
q+="<br>";
if (page=="diet"){q+=b+"Selecting a Diet Plan"}
else {q+=x+"tutorial_diet.html'>Selecting a Diet Plan</a>"}
q+="<br>";
if (page=="diet_calorie"){q+=b+"The Low Calorie Diet"}
else {q+=x+"tutorial_diet_calorie.html'>The Low Calorie Diet</a>"}
q+="<br>";
if (page=="diet_fat"){q+=b+"The Low Fat Diet"}
else {q+=x+"tutorial_diet_fat.html'>The Low Fat Diet</a>"}
q+="<br>";
if (page=="diet_carb"){q+=b+"The Low Carb Diet"}
else {q+=x+"tutorial_diet_carb.html'>The Low Carb Diet</a>"}
q+="</p><p class='bt'>";

q+="<b>Understanding Calories</b>";
q+="<br>";
if (page=="calories"){q+=b+"Calories and Kilojoules"}
else {q+=x+"tutorial_calories.html'>Calories and Kilojoules</a>"}
q+="<br>";
if (page=="pound"){q+=b+"What It Takes to Lose a Pound"}
else {q+=x+"tutorial_pound.html'>What It Takes to Lose a Pound</a>"}
q+="<br>";
if (page=="all"){q+=b+"What It Takes to Lose It All"}
else {q+=x+"tutorial_all.html'>What It Takes to Lose It All</a>"}
q+="</p><p class='bt'>";

q+="<b>Making Calculations</b>";
q+="<br>";
if (page=="BMI"){q+=b+"Calculating BMI"}
else {q+=x+"tutorial_BMI.html'>Calculating BMI</a>"}
q+="<br>";
if (page=="ideal"){q+=b+"Calculating Ideal Weight"}
else {q+=b+"<a href='tutorial_ideal.html'>Calculating Ideal Weight</a>"}
q+="<br>";
if (page=="composition"){q+=b+"Calculating Body Composition"}
else {q+=b+"<a href='tutorial_composition.html'>Calculating Body Composition</a>"}
q+="<br>";
if (page=="need"){q+=b+"Calculating Daily Calorie Needs"}
else {q+=x+"tutorial_need.html'>Calculating Daily Calorie Needs</a>"}
q+="<br>";
if (page=="BMR"){q+=b+"Calculating BMR and RMR"}
else {q+=x+"tutorial_BMR.html'>Calculating BMR and RMR</a>"}
q+="<br>";
if (page=="net"){q+=b+"Calculating Calories Burned"}
else {q+=x+"tutorial_net.html'>Calculating Calories Burned</a>"}
q+="</p><p class='bt'>";

q+="<b>Where Calories Come From</b>";
q+="<br>";
if (page=="nutrients"){q+=b+"The Three Macronutrients"}
else {q+=x+"tutorial_nutrients.html'>The Three Macronutrients</a>"}
q+="<br>";
if (page=="gram"){q+=b+"Calories in Protein, Fat and Carbohydrates"}
else {q+=x+"tutorial_gram.html'>Calories in Protein, Fat and Carbohydrates</a>"}
q+="<br>";
if (page=="ratios"){q+=b+"Macronutrient Ratios"}
else {q+=x+"tutorial_ratios.html'>Macronutrient Ratios</a>"}
q+="<br>";
if (page=="thermic"){q+=b+"The Thermic Effect of Food"}
else {q+=x+"tutorial_thermic.html'>The Thermic Effect of Food</a>"}
q+="</p><p class='bt'>";

q+="<b>Healthy Food and Weight Loss</b>";
q+="<br>";
if (page=="healthy"){q+=b+"Why Healthy Food Makes You Slim"}
else {q+=x+"tutorial_healthy.html'>Why Healthy Food Makes You Slim</a>"}
q+="<br>";
if (page=="fiber"){q+=b+"How Fiber Helps You Lose Weight"}
else {q+=x+"tutorial_fiber.html'>How Fiber Helps You Lose Weight</a>"}
q+="<br>";
if (page=="sugar"){q+=b+"How Blood Sugar Levels Affect Weight Loss"}
else {q+=x+"tutorial_sugar.html'>How Blood Sugar Levels Affect Weight Loss</a>"}
q+="<br>";
if (page=="salt"){q+=b+"How Salt Affects Your Weight"}
else {q+=x+"tutorial_salt.html'>How Salt Affects Your Weight</a>"}
q+="</p><p class='bt'>";

q+="<b>Understanding Fat</b>";
q+="<br>";
if (page=="fat"){q+=b+"Good Fats and Bad Fats"}
else {q+=x+"tutorial_fat.html'>Good Fats and Bad Fats</a>"}
q+="<br>";
if (page=="percent"){q+=b+"How Much Fat Is There in 2% Milk?"}
else {q+=x+"tutorial_percent.html'>How Much Fat Is There in 2% Milk?</a>"}
q+="<br>";
if (page=="free"){q+=b+"&#034;All You Can Eat&#034; Fat-Free Food"}
else {q+=x+"tutorial_free.html'>&#034;All You Can Eat&#034; Fat-Free Food</a>"}
q+="</p><p class='bt'>";

q+="<b>Understanding Your Body</b>";
q+="<br>";
if (page=="exercise"){q+=b+"Why Exercise Is Important for Weight Loss"}
else {q+=x+"tutorial_exercise.html'>Why Exercise Is Important for Weight Loss</a>"}
q+="<br>";
if (page=="metabolism"){q+=b+"Raise Your Metabolism and Burn More Calories"}
else {q+=x+"tutorial_metabolism.html'>Raise Your Metabolism and Burn More Calories</a>"}
q+="<br>";
if (page=="genetics"){q+=b+"&#034;I Can't Help It, It's My Genes&#034"}
else {q+=x+"tutorial_genetics.html'>&#034;I Can't Help It, It's My Genes&#034</a>"}
q+="<br>";
if (page=="gender"){q+=b+"Men and Women are Different"}
else {q+=x+"tutorial_gender.html'>Men and Women are Different</a>"}
q+="<br>";
if (page=="spot"){q+=b+"Spot Reducing for Your Waist, Hips and Thighs"}
else {q+=x+"tutorial_spot.html'>Spot Reducing for Your Waist, Hips and Thighs</a>"}
q+="<br>";
if (page=="cellulite"){q+=b+"Cellulite"}
else {q+=x+"tutorial_cellulite.html'>Cellulite</a>"}
q+="</p><p class='bt'>";

q+="<b>Diet and Weight Loss Aids</b>";
q+="<br>";
if (page=="hypnosis"){q+=b+"Using Hypnosis to Keep On Track"}
else {q+=x+"tutorial_hypnosis.html'>Using Hypnosis to Keep On Track</a>"}
q+="<br>";
if (page=="pills"){q+=b+"Diet Pills"}
else {q+=x+"tutorial_pills.html'>Diet Pills</a>"}
q+="<br>";
if (page=="surgery"){q+=b+"Surgery as a Last Resort"}
else {q+=x+"tutorial_surgery.html'>Surgery as a Last Resort</a>"}
q+="</p><p class='bt'>";

q+="<b>Water, Vitamins and Smoking</b>";
q+="<br>";
if (page=="water"){q+=b+"Why Drinking Water Is Important for Weight Loss"}
else {q+=x+"tutorial_water.html'>Why Drinking Water Is Important for Weight Loss</a>"}
q+="<br>";
if (page=="vitamins"){q+=b+"Daily Vitamin and Mineral Supplements"}
else {q+=x+"tutorial_vitamins.html'>Daily Vitamin and Mineral Supplements</a>"}
q+="<br>";
if (page=="smoking"){q+=b+"Smoking and Weight Loss"}
else {q+=x+"tutorial_smoking.html'>Smoking and Weight Loss</a>"}

f5="</p><p class='bt'><hr>";
f5+="</p><p class='ch'>Index of Tutorial Topics";
f5+="</p><p class='bt'>";
f5+=q+p2;