var a349660=12;function ClearValues(){iSetStr("Title","");var a589377;for(a589377=1;a589377<=a349660;a589377++){iSetChk("rdoYes"+a589377,false);iSetChk("rdoNo"+a589377,false);}TotSet();SetFocus("Title");}function TotSet(){var a157222=0;var a702182="";var a589377;for(a589377=1;a589377<=a349660;a589377++){if(iGetChk("rdoYes"+a589377)){a157222++;}}if(a157222>9){a702182="You have a good chance of successfully losing weight with this weight loss plan. To improve your chances of success even more, look at the questions where you answered 'No' and ask yourself how much of a problem each might be for you and how you will make sure they don't cause you to quit.";}else{a702182="This plan does not seem like the best fit for you and you would probably struggle to stay on it. Misleading and unreasonable expectations, trying to make too many changes at once in your life, having to eat things you don't like, or never getting to eat things you do like are some of the major reasons people don't lose weight successfully. Research other plans, using the criteria outlined here, then run this assessment again before making a final decision.";}oSetStr("TotalYes",FmtNum(a157222));oSetStr("Interp",a702182);}function PrintCalc(){var a559337="";a559337=a474974(CalcName,Instructions,"Behavior-Health-Assessments/Behavior.css");a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes1")+' name="rdo1">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo1")+' name="rdo1">No</td>\n';a559337+='	<td><img src="'+Images+'Space.gif" width="10" height="1"></td>\n';a559337+='	<td class="Num">1.</td>\n';a559337+='	<td class="Quest">Is the plan nutritious, healthy, and reasonable, including at least 1200 calories per day?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes2")+' name="rdo2">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo2")+' name="rdo2">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">2.</td>\n';a559337+='	<td class="Quest">Does the plan expect you to exercise a minimum of 30 minutes at least 3 times per week?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes3")+' name="rdo3">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo3")+' name="rdo3">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">3.</td>\n';a559337+='	<td class="Quest">Are the diet and exercise requirements simple enough to learn, prepare for, and follow day-in and day-out?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes4")+' name="rdo4">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo4")+' name="rdo4">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">4.</td>\n';a559337+='	<td class="Quest">Do you get to choose at least some of the foods you like?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes5")+' name="rdo5">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo5")+' name="rdo5">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">5.</td>\n';a559337+='	<td class="Quest">Will your family (or the people you cook for and eat with) enjoy the foods in the plan?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes6")+' name="rdo6">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo6")+' name="rdo6">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">6.</td>\n';a559337+='	<td class="Quest">Will the foods in the plan satisfy your need to eat for hunger <b>AND</b> pleasure, so you won\'t feel hungry <b>all</b> the time and you get to enjoy eating <b>some</b> of the time?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes7")+' name="rdo7">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo7")+' name="rdo7">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">7.</td>\n';a559337+='	<td class="Quest">Can the plan be modified, without changing more than 1/4 of the overall plan, to solve any problems (food you can\'t eat, foods you don\'t like, medical restrictions on activity, etc.) while still meeting its requirements?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes8")+' name="rdo8">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo8")+' name="rdo8">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">8.</td>\n';a559337+='	<td class="Quest">Does the plan seem custom-made for you, meaning it takes advantage of your personality strengths and exercise preferences, and fits nicely into your lifestyle requirements (work, school, family)?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes9")+' name="rdo9">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo9")+' name="rdo9">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">9.</td>\n';a559337+='	<td class="Quest">Does the plan allow time to develop new habits and make the necessary adjustments in your life (it\'s not too strict, it introduces a few changes at a time, etc.)?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes10")+' name="rdo10">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo10")+' name="rdo10">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">10.</td>\n';a559337+='	<td class="Quest">If this plan relies on willpower, have you proven in the past that you have that kind of sustained willpower?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes11")+' name="rdo11">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo11")+' name="rdo11">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">11.</td>\n';a559337+='	<td class="Quest">If this plan schedules specific meals and exercises for a number of weeks or months, do you have a plan for what you will do when the program ends, in order to continue to lose weight and/or maintain, so you won\'t feel unprepared and go back to your old habits?</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td class="Yes"><input type="radio" '+a357582("rdoYes12")+' name="rdo12">Yes</td>\n';a559337+='	<td class="No"><input type="radio" '+a357582("rdoNo12")+' name="rdo12">No</td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Num">12.</td>\n';a559337+='	<td class="Quest">Can you see yourself living this plan for the rest of your life?</td>\n';a559337+='</tr>\n';a559337+='<tr><td colspan="5"><hr></td></tr>\n';a559337+='<tr>\n';a559337+='	<td colspan="2" align="right"><b>Total \'Yes\'</b></td>\n';a559337+='	<td></td>\n';a559337+='	<td class="Yes" style="padding-right:6px"><b>'+oGetStr("TotalYes")+'</b></td>\n';a559337+='	<td> (out of 12 possible)</td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td><img src="'+Images+'Space.gif" width="1" height="5"></td>\n';a559337+='</tr>\n';a559337+='<tr>\n';a559337+='	<td colspan="2" align="right" valign="top"><b>Interpretation</b></td>\n';a559337+='	<td></td>\n';a559337+='	<td colspan="2"><b>'+oGetStr("Interp")+'</b></td>\n';a559337+='</tr>\n';a735703(a559337,"_blank",780,660,Disclaimer);}
