<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Healthy Life Decisions &#187; obesity</title>
	<atom:link href="http://healthylifedecisions.com/tag/obesity/feed/" rel="self" type="application/rss+xml" />
	<link>http://healthylifedecisions.com</link>
	<description>Personal Training for a Healthy Life</description>
	<lastBuildDate>Sat, 25 Dec 2010 04:57:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Body Mass</title>
		<link>http://healthylifedecisions.com/2009/12/body-mass/</link>
		<comments>http://healthylifedecisions.com/2009/12/body-mass/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 06:28:38 +0000</pubDate>
		<dc:creator>Jane</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tools and Calculators]]></category>
		<category><![CDATA[body mass]]></category>
		<category><![CDATA[calculator]]></category>
		<category><![CDATA[diagnostic]]></category>
		<category><![CDATA[obesity]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://healthylifedecisions.com/?p=29</guid>
		<description><![CDATA[Easy-to-use calculator to determine your Body Mass Index, using international metric or U.S. measurements for height and weight.]]></description>
			<content:encoded><![CDATA[<p><img src="http://healthylifedecisions.com/images/barbiehips.jpg" alt="barbie hips" style="float: left; margin-right: 20px;"/>The Body Mass Index, or BMI, is a measurement used to compare a person&#8217;s weight and height.  Although it doesn&#8217;t actually tell you what percentage of your weight is body fat, it can be useful to estimate a healthy body weight based on your height.  </p>
<p>The BMI is widely used as a diagnostic tool to identify the statistical degree of obesity in individuals and groups.  Use the chart to the right of the calculator as a quick visual check of where your body mass level falls &#8211; the normal, healthy range is indicated in yellow.</p>
<p><img src="http://healthylifedecisions.com/images/bmi.jpg" alt="body mass index" style="float: right; margin-left: 20px;"/><br />
To use our BMI Calculator, simply enter your height in feet and inches, and your body weight in pounds.  Or you can use the metric units tab if you are more familiar with international metric units.</p>
<div style="margin-top:5px;">
			<script type="text/javascript">
			function gObj(obj) {
				var theObj;
				if(document.all){
					if(typeof obj=="string"){
						return document.all(obj);
					}else{
						return obj.style;
					}
				}
				if(document.getElementById){
					if(typeof obj=="string"){
						return document.getElementById(obj);
					}else{
						return obj.style;
					}
				}
				return null;
			}
			function trimAll(sString){
				while (sString.substring(0,1) == " "){
					sString = sString.substring(1, sString.length);
				}
				while (sString.substring(sString.length-1, sString.length) == " "){
					sString = sString.substring(0,sString.length-1);
				}
				return sString;
			}
			function isNumber(val){
				val=val+"";
				if (val.length<1) return false;
				if (isNaN(val)){
					return false;
				}else{
					return true;
				}
			}
			function formatNum(inNum){
				outStr = ""+inNum;
				inNum = parseFloat(outStr);
				if ((outStr.length)>10){
					outStr = "" + inNum.toPrecision(10);
				}
				if (outStr.indexOf(".")>-1){
					while (outStr.charAt(outStr.length-1) == "0"){
						outStr = outStr.substr(0,(outStr.length-1));
					}
					if (outStr.charAt(outStr.length-1) == ".") outStr = outStr.substr(0,(outStr.length-1));
					return outStr;
				}else{
					return outStr;
				}
			}
			function showquickmsg(inStr, isError){
				if (isError) inStr = "<font color=red>" + inStr + "</font>";
				gObj("bmicoutput").innerHTML = inStr;
			}

			var girlA = new Array();
			girlA[0] = new Array(0,0,0);
			girlA[1] = new Array(0,0,0);
			girlA[2] = new Array(14.4, 18, 19.1);
			girlA[3] = new Array(14, 17.2, 18.3);
			girlA[4] = new Array( 13.7, 16.8, 18);
			girlA[5] = new Array( 13.5, 16.8, 18.3);
			girlA[6] = new Array( 13.4, 17.1, 18.8);
			girlA[7] = new Array( 13.4, 17.6, 19.6);
			girlA[8] = new Array( 13.5, 18.3, 20.7);
			girlA[9] = new Array( 13.7, 19.1, 21.8);
			girlA[10] = new Array( 14, 19.9, 22.9);
			girlA[11] = new Array( 14.4, 20.8, 24.1);
			girlA[12] = new Array( 14.8, 21.7, 25.2);
			girlA[13] = new Array( 15.3, 22.5, 26.5);
			girlA[14] = new Array( 15.8, 23.5, 27.2);
			girlA[15] = new Array( 16.3, 24, 28.1);
			girlA[16] = new Array( 16.8, 24.7, 28.9);
			girlA[17] = new Array( 17.2, 25.2, 29.6);
			girlA[18] = new Array( 17.5, 25.7, 30.3);
			girlA[19] = new Array( 17.8, 26.1, 31);
			girlA[20] = new Array( 17.8, 26.5, 31.8);

			var boyA = new Array();
			boyA[0] = new Array(0,0,0);
			boyA[1] = new Array(0,0,0);
			boyA[2] = new Array(14.7, 18.2, 19.3);
			boyA[3] = new Array( 14.4, 17.4, 18.3);
			boyA[4] = new Array( 14, 16.9, 17.8);
			boyA[5] = new Array( 13.8, 16.8, 17.9);
			boyA[6] = new Array( 13.7, 17, 18.4);
			boyA[7] = new Array( 13.7, 17.4, 19.1);
			boyA[8] = new Array( 13.8, 17.9, 20);
			boyA[9] = new Array( 14, 18.6, 21.1);
			boyA[10] = new Array( 14.2, 19.4, 22.1);
			boyA[11] = new Array( 14.5, 20.2, 23.2);
			boyA[12] = new Array( 15, 21, 24.2);
			boyA[13] = new Array( 15.5, 21.8, 25.1);
			boyA[14] = new Array( 16, 22.6, 26);
			boyA[15] = new Array( 16.5, 23.4, 26.8);
			boyA[16] = new Array( 17.1, 24.2, 27.5);
			boyA[17] = new Array( 17.7, 24.9, 28.2);
			boyA[18] = new Array( 18.2, 25.6, 28.9);
			boyA[19] = new Array( 18.7, 26.3, 29.7);
			boyA[20] = new Array( 19.1, 27, 30.6);

			function showCalc(inval){
				if (inval == 2){
					gObj("standardheightweight").style.display = "none";
					gObj("metricheightweight").style.display = "block";
				}else{
					gObj("standardheightweight").style.display = "block";
					gObj("metricheightweight").style.display = "none";
				}
			}

			function getTheWeight(bmiNum, heightNum, weightUnit){
				outPutNum = 0;
				if (weightUnit == "kg"){
					outPutNum = bmiNum * heightNum * heightNum / 10000;
					outPutNum = outPutNum.toFixed(1);
				}else{
					outPutNum = bmiNum * heightNum * heightNum / 4535.92;
					outPutNum = outPutNum.toFixed(1);
				}
				return outPutNum;
			}

			function bmicalc(){
				showquickmsg("calculating...",true);
				cage = gObj("cage").value;

				cheightfeet = gObj("cheightfeet").value;
				cheightinch = gObj("cheightinch").value;
				cpound = gObj("cpound").value;
				cheightmeter = gObj("cheightmeter").value;
				ckg = gObj("ckg").value;
				ctype = "standard";
				if (!(gObj("ctype1").checked)){
					ctype = "metric";
				}
				ismale=false;
				if (gObj("csex1").checked){
					ismale = true;
				}


				if (!isNumber(cage) || (cage.length<1)){
					showquickmsg("age need to be numeric",true);
					return;
				}else{
					if ((cage < 2) || (cage > 120)){
						showquickmsg("age need to be between 2 and 120",true);
						return;
					}
				}

				if (ctype=="standard"){
					if ((!isNumber(cheightfeet)) || (!isNumber(cheightinch)) || (cheightfeet.length<1) || (cheightinch.length<1)){
						showquickmsg("height need to be numeric",true);
						return;
					}else if (!isNumber(cpound) || (cpound.length<1)){
						showquickmsg("weight need to be numeric",true);
						return;
					}

					cheightmeter = 30.48 * parseFloat(cheightfeet) + 2.54 * parseFloat(cheightinch);
					ckg = parseFloat(cpound) * 0.453592;
				}else{
					if (!isNumber(cheightmeter) || (cheightmeter.length<1)){
						showquickmsg("height need to be numeric",true);
						return;
					}else if (!isNumber(ckg) || (ckg.length<1)){
						showquickmsg("weight need to be numeric",true);
						return;
					}
					ckg=parseFloat(ckg);
					cheightmeter=parseFloat(cheightmeter);
				}

				cage=parseFloat(cage);

				cbmi = 10000*ckg/cheightmeter/cheightmeter;
				cbmi = parseFloat(formatNum(cbmi)).toFixed(2);

				outPutStr = "BMI = " + cbmi + " kg/m<sup>2</sup> &nbsp; (";
				if (cage > 20){
					if (cbmi<16.5){
						outPutStr += "<font color=red><b>severely underweight</b></font>";
					}else if(cbmi<18.5){
						outPutStr += "<font color=#FDD790><b>Underweight</b></font>";
					}else if(cbmi<25){
						outPutStr += "<font color=green><b>Normal</b></font>";
					}else if(cbmi<30){
						outPutStr += "<font color=#FDD790><b>Overweight</b></font>";
					}else if(cbmi<35){
						outPutStr += "<font color=#F69D92><b>Obese Class I</b></font>";
					}else if(cbmi<40){
						outPutStr += "<font color=#F05340><b>Obese Class II</b></font>";
					}else{
						outPutStr += "<font color=red><b>Obese Class III</b></font>";
					}
					outPutStr += ")";
					outPutStr += "<br />normal BMI range: 18.5 - 25 kg/m<sup>2</sup>";
					if (ctype=="standard"){
						outPutStr += "<br />normal weight range for the height: " + getTheWeight(18.5, cheightmeter, "lb") + " - " + getTheWeight(25, cheightmeter, "lb") + " lbs";
					}else{
						outPutStr += "<br />normal weight range for the height: " + getTheWeight(18.5, cheightmeter, "kg") + " - " + getTheWeight(25, cheightmeter, "kg") + " kgs";
					}

				}else{
					line5 = 0;
					line85 = 0;
					line95 = 0;
					if (ismale){
						line5 = boyA[cage][0];
						line85 = boyA[cage][1];
						line95 = boyA[cage][2];
					}else{
						line5 = girlA[cage][0];
						line85 = girlA[cage][1];
						line95 = girlA[cage][2];
					}

					if (cbmi<line5){
						outPutStr += "<font color=red><b>Underweight</b></font>";
					}else if(cbmi<line85){
						outPutStr += "<font color=green><b>Healthy weight</b></font>";
					}else if(cbmi<line95){
						outPutStr += "<font color=#F69D92>At risk of overweight</b></font>";
					}else{
						outPutStr += "<font color=red><b>Overweight</b></font>";
					}
					outPutStr += ")";
					outPutStr += "<br />normal BMI range: " + line5 + " - " + line85 + " kg/m<sup>2</sup>";

					if (ctype=="standard"){
						outPutStr += "<br />normal weight range for the height: " + getTheWeight(line5, cheightmeter, "lb") + " - " + getTheWeight(line85, cheightmeter, "lb") + " lbs";
					}else{
						outPutStr += "<br />normal weight range for the height: " + getTheWeight(line5, cheightmeter, "kg") + " - " + getTheWeight(line85, cheightmeter, "kg") + " kgs";
					}
				}
				outPutStr += "<br /><a href=http://www.calculator.net/bmi-calculator.html>more info &gt;&gt;</a>";
				showquickmsg(outPutStr, false);
			}
			</script>

			<!-- Edit the following to change the look and feel of this calculator -->
			<table id="calinputtable" width="180" border="0">
			<form>
			<tr>
				<td>unit</td>
				<td align="right"><label for="ctype1"><input type="radio" name="ctype" id="ctype1" value="standard" onclick="showCalc(1)" checked />US</label> <label for="ctype2"><input type="radio" name="ctype" id="ctype2" value="metric" onclick="showCalc(2)" />Metric</label></td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td width="30">age</td>
				<td align="right" width="130"><input type="text" name="cage" size="6" id="cage" value="" style="text-align: right;"></td>
				<td width="20">&nbsp;</td>
			</tr>
			<tr>
				<td>sex</td>
				<td align="right"><label for="csex1"><input type="radio" name="csex" id="csex1" value="m" onclick="bmicalc()" checked />male</label> <label for="csex2"><input type="radio" name="csex" id="csex2" value="f" onclick="bmicalc()" />female</label></td>
				<td>&nbsp;</td>
			</tr>
			</table>
			<table width="180" id="standardheightweight" border="0">
			<tr>
				<td width="45">height</td>
				<td align="right" width="115"><input type="text" name="cheightfeet" size="1" id="cheightfeet" value="" style="text-align: right;">ft <input type="text" name="cheightinch" size="1" id="cheightinch" value="" style="text-align: right;"></td>
				<td width="20">in</td>
			</tr>
			<tr>
				<td>weight</td>
				<td align="right"><input type="text" name="cpound" size="4" id="cpound" value="" style="text-align: right;"></td>
				<td>lb</td>
			</tr>
			</table>
			<table width="180" id="metricheightweight" border="0">
			<tr>
				<td width="45">height</td>
				<td align="right" width="115"><input type="text" name="cheightmeter" size="4" id="cheightmeter" value="" style="text-align: right;"></td>
				<td width="20">cm</td>
			</tr>
			<tr id="metricweight">
				<td>weight</td>
				<td align="right"><input type="text" name="ckg" size="4" id="ckg" value="" style="text-align: right;"></td>
				<td>kg</td>
			</tr>
			</table>
			<table width="180">
			<tr>
				<td align="center"><input type="button" value="Calculate" onclick="bmicalc()"></td>
			</tr>
			</form>
			</table>
			<div id="bmicoutput"></div>
			<script type="text/javascript">
			showCalc(1);
			</script>
			<table width="180">
				<tr>
					<!-- Please help by keeping the following link. -->
					<td align="right">by <a href="http://www.calculator.net">calculator.net</a></td>
				</tr>
			</table>
		</div>

]]></content:encoded>
			<wfw:commentRss>http://healthylifedecisions.com/2009/12/body-mass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

