<?php

$FAQ = array(
	"0" => array(
		"title" => "Account Questions",
		"anchor" => "cat1",
		"questions" => array(
			"How do I change my password?",
			"I entered the wrong birthdate how do I change my entry?",
			"My weight loss goals have changed, is there a way to set a new goal?",
			"What is a Weight Loss Journal?"

		),
		"answers" => array(
			"You can manage many aspects of you account by clicking on the Account Settings button towards the top of the My Home page.",
			"Having the correct age is important - and is configured in some of the calculators and other site tools to help you understand health issues facing your age group.  Unfortunately there isn't a way to change your birthdate at this time, but a customer service representative would be happy to change it for you.  Simply click on the Contact Us link at the bottom of the page and let them know of the change you need.",
			"You can make changes to your goals by clicking on the Update My Profile button near the top of the My Home page.  chaeck back often for enhanced goal managment features!",
			"A weight loss Journal is a place to record your weight loss efforts in exercise and nutrition.  It has been proven that those who keep a record of what they eat are more successful in losing weight.  WeightLossWars provides you an interactive and informative FREE weight loss journal."
		
		)
	),
	"1" => array(
		"title" => "Incentive Survey Questions",
		"anchor" => "cat2",
		"questions" => array(
			"I can no longer take the wellness surveys, what happened?",
			"I entered some wrong information, is there any way I can change my answers?",
			"How are the points awarded?
			"How many points do I need to receive different prizes and bonuses?"

		),
		"answers" => array(
			"Each survey has a time limit that must expire before you take the survey again.  Currently the Life Style survey can be taken once a month, while the Physical Activity and Nutrition surveys can be taken weekly.  The date that is displayed next to each survey will let you know when you can take them again.",
			"Data that you have entered cannot be changed.  As you select your answers be careful to selelct the answer that most appropriatly represents you.",
			"Points are distributed based on frequency of participation and the answers that you give.  Participation points are awarded for filling out the survey, and then, based on your answers, you receive points that reward healthier life styles.",
			"Receiving prizes depends upon your company.  Ask your benefits manager or wellness director for the details on redeeming your points for prizes."	
		
)
	),
	"2" => array(
		"title" => "Health and Wellness Questions",
		"anchor" => "cat3",
		"questions" => array(
			"What does BMI stand for and what is a healthy BMI for me? ",
			"How accurate is the BMI measurement? ",
			"What is a healthy blood pressure? ",
			"How can I lower blood pressure (besides medication)?",
			"Where should my cholesterol levels be?",
			"How much exercise do I need to do to lose weight?",
			"What is the best type of exercise to lose body fat?",
			"How can I know what my body fat percentage is?",
			"What is heart disease and how does exercise and nutrition affect my risks?",
			"What is the Target Heart Rate zone? ",
			"Do I really need to lift weights?",
			"What if I just don’t have time to exercise?",
			"If I am overweight or obese, what diseases am I at risk for?"
		),
		"answers" => array(
			"BMI stands for Body Mass Index and is a ratio of weight to height, used to estimate the relationship of body composition to risk factors of certain diseases. Use our calculator to determine what your BMI is and refer to the chart below to see what category you are in. ",
			"",
			"",
			"",
			"", 
			""
		)
	)
);

?>
<h1 class="underline">Frequently Asked Questions</h1>
<br />
<a name="toc" />
<h2 class="withBG">Table of Contents</h2>
<ul>
<?php
	for ($x = 0; $x < count($FAQ); $x++) { ?>
	<li><a href="#<?php echo $FAQ[$x]["anchor"] ?>"><?php echo  strtoupper($FAQ[$x]["title"]) ?></a><br /><br /></li>
	<ul>
	<?php
		for ($y = 0; $y < count($FAQ[$x]["questions"]); $y++) { ?>
		<li><a href="#question_<?php echo $x?>_<?php echo $y?>"><?php echo  $FAQ[$x]["questions"][$y] ?></a></li>
		<?php } ?>
	</ul>
	<div class="underline">&nbsp;</div>
	<br />
<?php }	?>
</ul>

<br />

<?php
	for ($x = 0; $x < count($FAQ); $x++) { ?>

<a name="<?php echo  $FAQ[$x]["anchor"] ?>" />
<h2 class="withBG"><?php echo  strtoupper($FAQ[$x]["title"]) ?></h2>

<?php 
	for ($y = 0; $y < count($FAQ[$x]["questions"]); $y++) { ?>

<a name="question_<?php echo $x?>_<?php echo $y?>" />
<b>Q.</b> &nbsp;<?php echo  $FAQ[$x]["questions"][$y] ?>
<div style="margin:10px;margin-top:2px;">
	<b>A.</b> &nbsp;<?php echo $FAQ[$x]["answers"][$y] ?><br />
	<div align="right"><a href="#toc" class="button">Return to top</a><br /></div>
</div>
	<?php } ?>
<?php } ?>

<br />
<br />
Still have questions? <a href="?pg=contact">Contact Us</a><br />
