//Add the page to favourites
function addToFavorites() {
 var urlAddress = "http://www.bingeeating.ca"; 
 var pageName = "BingeEating.ca"; 

 if (window.sidebar) 
   //window.sidebar.addPanel(pageName, urlAddress,"");	
   alert("Please Press CTRL+D to Book Mark This Page.");
   
 if (window.external) 
   window.external.AddFavorite(urlAddress,pageName);
}

//Bocy Mass Index Calculations
function calcEnglish(form, feet, inches, pounds) {
   if ((! inches) || isNaN(inches))
     inches = 0
   TotalInches = eval(feet*12) + eval(inches)
   form.calcval.value = Math.round(pounds * 703 * 10 / TotalInches / 
TotalInches) / 10
}

function calcMetric(form, meters, kilograms) {
   form.calcval.value = Math.round(kilograms * 10 / meters / meters) / 10
}
