function quiz() {
  
  var score_1 = 0;
  var score_2 = 0;
  var score_3 = 0;
  var score_4 = 0;
  
  for (i=0;i<document.forms[0].question_1.length;i++)
    {
      if (document.forms[0].question_1[i].checked)
        {
	  score_1 = i+1;
	}
    }
  for (i=0;i<document.forms[0].question_2.length;i++)
    {
      if (document.forms[0].question_2[i].checked)
	{
	  score_2 = i+1;
	}
    }
  for (i=0;i<document.forms[0].question_3.length;i++) 
    {
      if (document.forms[0].question_3[i].checked)
	{
	  score_3 = i+1;
	}
    }
  for (i=0;i<document.forms[0].question_4.length;i++)
    {
      if (document.forms[0].question_4[i].checked)
	{
	  score_4 = i+1;
	}
    }

  var score = score_1 + score_2 + score_3 + score_4;
  
  
  if ( (score_1 ==0) || (score_2 ==0) || (score_3 == 0) || (score_4 ==0 ) )
    {
      risk="Please answer all 4 questions";
    }           
  else if (score < 8)
      {
	risk ="LOW RISK - Congratulations! Based on your answers, you're doing a great job of helping your child make healthy lifestyle choices and lowering their risk of becoming overweight! Keep up the good work and be sure to watch my new show on TLC, Honey We're Killing the Kids! to learn even more...and don't forget to check out TLC.com/honey!"
	  
	  }
  else if (score < 13)
    {
      risk = "MODERATE RISK - Based on your answers, your child may be at risk of becoming overweight. You're making some good choices...and some not so good choices. Learn simple ways to make a difference by watching my new show Honey We're Killing the Kids! on TLC...and don't forget to check out TLC.com/honey!"; 
    }
  else risk ="HIGH RISK- Based on your answers, it appears your child may be at risk for becoming overweight. Too much sugar and not enough exercise! So, arm your kids with the latest information and skills they need to live a happy, healthy life by watching my new show Honey We're Killing the Kids! on TLC...and don't forget to check out TLC.com/honey!";
  
  document.childquiz.result.value = risk;
  
  
}

				
				
				
