

var answers=new Array()
answers[0]="Excellent!"
answers[1]="<b>(D) Correct.</b> Research supports a relationship between gum disease and a host of other diseases and conditions including: diabetes, heart disease, stroke, low birth weight babies, pre-eclampsia (toxemia), osteoporosis and more."
answers[2]="<b>True. Correct.</b> During pregnancy, estrogen and progesterone hormone levels increase - and multiply a woman's potential to develop \"pregnancy gingivitis\" or early gum disease. This condition occurs frequently in pregnant women."
answers[3]="<b>(D) Correct.</b> Data suggests that 18% of the preterm births and low birth weight babies born annually might be associated with periodontal disease¹.   But there's good news: Research suggests a significant reduction of premature births² may be possible in women who received scaling and root planing during pregnancy!<br><br>¹Study by University of North Carolina, Chapel Hill, March 2003<br>²Journal of Periodontology, August 2003"
answers[4]="<b>True. Correct.</b> The American Dental Association (ADA) reports that most pregnant women do not visit the dentist, even when they have dental problems.  It is usually safe to receive dental treatment while you are pregnant.  And because the x-ray beam is confined to the head and neck area with no detectable radiation in the fetal area, you can even have x-rays taken, if needed (particularly, when a leaded apron and a leaded thyroid collar are used, as recommended by the ADA.).  Of course, if you are pregnant, may be pregnant, or attempting to become pregnant, you should always consult your dentist or physician before having any tests-including dental x-rays.   Taking care of your teeth during pregnancy is important - for both you and your baby."
answers[5]="<b>(C) Correct.</b>  Mom's gum disease may increase the probability of a pre-term birth.  Some studies suggest that pregnant women with chronic gum disease may be up to seven times more likely to give birth prematurely."
answers[6]="<b>(A) Correct.</b> Premature babies may require hospital treatment for 100 days or more after birth.  In addition, lifelong problems such as asthma, cerebral palsy, vision and hearing disorders, low IQ, poor school performance and social difficulties occur far more commonly in children born prematurely than in those carried full-term¹.    ¹Journal of the American Medical Association as cited in the Arizona Republic, June 20, 2005"
answers[7]="<b>(D) Correct.</b>  All the statements are true. That's right, research suggests the health of your gums is associated with avoiding pre-eclampsia/toxemia and its complications (high blood pressure, poor kidney function, poor liver function, fluid in the lungs, and possible seizure). Pre-eclampsia/toxemia can reduce the blood supply to the baby. This in turn decreases the baby's nutrient supply, which impacts the baby's ability to grow and be healthy.¹<br><br>¹www.webmd.com"
answers[8]="<b>True¹. Correct.</b>  Because diabetes can hurt you and your baby, the ADA recommends that pregnant women diagnosed with gestational diabetes brush and floss their teeth daily and check with their dentist early in their pregnancy to help avoid or treat any dental problems. Maintaining your oral health contributes to a healthy pregnancy and birth and may help your baby avoid future poor health.<br><br>¹Journal of the American Dental Association, Oct 2003"
answers[9]="<b>(E) Correct.</b> The ADA says that all of these actions can contribute to your oral health during your pregnancy, reduce your risk of gum disease and may therefore decrease the possibility of premature birth or low-birth-weight. The possible link between gum disease and unhealthy births is another reason to protect your dental health!"
answers[10]="<b>(E) \"All of the above\" is the correct choice.</b>  CIGNA knows it takes a tremendous toll on families as premature babies fight to survive and possibly face ongoing health challenges throughout their lives; so we have developed these programs (and more) to help our members experience healthy pregnancies and healthy births. And to encourage treatment for gum disease, as of January 1, 2006, we are enhancing benefits for pregnant members through our innovative CIGNA Dental Oral Health Maternity Program<sup>SM</sup> for pregnant members with CIGNA medical and fully insured dental coverage."

function checkResults(question, radioObject)
{
	var result;
	var dspColor = "#FFFFFF";
	var value=null
	var sorry = "Sorry, that is not the right answer. Please try again.";
	for (var i=0; i<radioObject.length; i++) {
		if (radioObject[i].checked) {
			value = radioObject[i].value
			break
			}
		}
	
	//alert ("you chose: " +value+ " is that right")
	
	switch (question) 
	{
		case 1: 
			if (value == 4) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
  			}
			break;
		case 2: 
			if (value == 1) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
 			}
  			break;
		case 3: 
			if (value == 4) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
			}
  			break;
		case 4: 
			if (value == 1) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
 			}
  			break;
		case 5: 
			if (value == 3) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
  			}
  			break;
		case 6: 
			if (value == 1) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
  			}
  			break;
		case 7: 
			if (value == 4) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
 			}
  			break;
		case 8: 
			if (value == 1) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
  			}
  			break;
		case 9: 
			if (value == 5) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
  			}
  			break;
		case 10: 
			if (value == 5) {
				document.all.spSorry.innerHTML = "&nbsp;";
  				document.all.spText.innerHTML = answers[question];
  				//document.all.txtTest.value = answers[question];
				//window.location="dental_quiz2.html";
				break;
  			} else {
  				document.all.spSorry.innerHTML = sorry;
  				document.all.spText.innerHTML = "&nbsp;";
  				//alert( "Sorry, that is not the right answer. Please try again.");
				break;
  			}
  			break;
		default:
			result = "Please select an answer";
	}
	//dspResponse(result);
	//return false;
}

function getRadioValue(radioObject)
{
	var value=null
	for (var i=0; i<radioObject.length; i++) {
		if (radioObject[i].checked) {
			value = radioObject[i].value
			break
			}
			}
			return value;
}


function dspResponse(result)
{
	document.writeln(result);
	return true;
}
var i = "1";


