var question1=new Array()
var question2=new Array()
var question3=new Array()
var question4=new Array()
var question5=new Array()
var question6=new Array()
var question7=new Array()
var question8=new Array()
var question9=new Array()
var question10=new Array()


question1[0]="What Latino/Hispanic group suffers most from Asthma?"
question1[1]="<font color='red'>La respuesta es C - Puerto Riqueños.</font>"
question1[2]="<font color='red'>La respuesta es C - Puerto Riqueños.</font>"
question1[3]="<font color='green'>Correcto.</font>"

question2[0]="What Latino/Hispanic group suffers most from Diabetes?"
question2[1]="<font color='green'>Correcto.</font>"
question2[2]="<font color='red'>La respuesta es A - Mejicanos.</font>"
question2[3]="<font color='red'>La respuesta es A - Mejicanos.</font>"

question3[0]="What Latino/Hispanic group has the most number of elderly?"
question3[1]="<font color='red'>La respuesta es B - Cubanos.</font>"
question3[2]="<font color='green'>Correcto.</font>"
question3[3]="<font color='red'>La respuesta es B - Cubanos.</font>"

question4[0]="Which fruit has more sugar?"
question4[1]="<font color='green'>Correcto.</font>"
question4[2]="<font color='red'>La respuesta es A - Banano.</font>"
question4[3]="<font color='red'>La respuesta es A - Banano.</font>"

question5[0]="Which starch converts into the highest sugar level?"
question5[1]="<font color='green'>Correcto.</font>"
question5[2]="<font color='red'>La respuesta es A - Avena.</font>"
question5[3]="<font color='red'>La respuesta es A - Avena.</font>"

question6[0]="What Latino/Hispanic group suffers most from Asthma?"
question6[1]="<font color='red'>The answer is C - Puerto Ricans.</font>"
question6[2]="<font color='red'>The answer is C - Puerto Ricans.</font>"
question6[3]="<font color='green'>Correct.</font>"

question7[0]="What Latino/Hispanic group suffers most from Diabetes?"
question7[1]="<font color='green'>Correct.</font>"
question7[2]="<font color='red'>The answer is A - Mexicans.</font>"
question7[3]="<font color='red'>The answer is A - Mexicans.</font>"

question8[0]="What Latino/Hispanic group has the most number of elderly?"
question8[1]="<font color='red'>The answer is B - Cubans.</font>"
question8[2]="<font color='green'>Correct.</font>"
question8[3]="<font color='red'>The answer is B - Cubans.</font>"

question9[0]="Which fruit has more sugar?"
question9[1]="<font color='green'>Correct.</font>"
question9[2]="<font color='red'>The answer is A - Banana.</font>"
question9[3]="<font color='red'>The answer is A - Banana.</font>"

question10[0]="Which starch converts into the highest sugar level?"
question10[1]="<font color='green'>Correct.</font>"
question10[2]="<font color='red'>The answer is A - Corn flakes.</font>"
question10[3]="<font color='red'>The answer is A - Corn flakes.</font>"


function showAnswer1() {
	if (document.getElementById('Colombians').checked)
	{	document.getElementById('answer1').innerHTML=question1[1];	}
	if (document.getElementById('Dominicans').checked)
	{	document.getElementById('answer1').innerHTML=question1[2];	}
	if (document.getElementById('Puertoricans').checked)
	{	document.getElementById('answer1').innerHTML=question1[3];	}
	}

function showAnswer2() {
	if (document.getElementById('Mexicans').checked)
	{	document.getElementById('answer2').innerHTML=question2[1];	}
	if (document.getElementById('Peruvians').checked)
	{	document.getElementById('answer2').innerHTML=question2[2];	}
	if (document.getElementById('Salvadorians').checked)
	{	document.getElementById('answer2').innerHTML=question2[3];	}
	}

function showAnswer3() {
	if (document.getElementById('Bolivians').checked)
	{	document.getElementById('answer3').innerHTML=question3[1];	}
	if (document.getElementById('Cubans').checked)
	{	document.getElementById('answer3').innerHTML=question3[2];	}
	if (document.getElementById('Ecuadorians').checked)
	{	document.getElementById('answer3').innerHTML=question3[3];	}
	}

function showAnswer4() {
	if (document.getElementById('Banana').checked)
	{	document.getElementById('answer4').innerHTML=question4[1];	}
	if (document.getElementById('Orange').checked)
	{	document.getElementById('answer4').innerHTML=question4[2];	}
	if (document.getElementById('Apple').checked)
	{	document.getElementById('answer4').innerHTML=question4[3];	}
	}

function showAnswer5() {
	if (document.getElementById('Cornflakes').checked)
	{	document.getElementById('answer5').innerHTML=question5[1];	}
	if (document.getElementById('Tortillas').checked)
	{	document.getElementById('answer5').innerHTML=question5[2];	}
	if (document.getElementById('Lentil').checked)
	{	document.getElementById('answer5').innerHTML=question5[3];	}
	}

function showAnswer6() {
	if (document.getElementById('Colombians2').checked)
	{	document.getElementById('answer6').innerHTML=question6[1];	}
	if (document.getElementById('Dominicans2').checked)
	{	document.getElementById('answer6').innerHTML=question6[2];	}
	if (document.getElementById('Puertoricans2').checked)
	{	document.getElementById('answer6').innerHTML=question6[3];	}
	}

function showAnswer7() {
	if (document.getElementById('Mexicans2').checked)
	{	document.getElementById('answer7').innerHTML=question7[1];	}
	if (document.getElementById('Peruvians2').checked)
	{	document.getElementById('answer7').innerHTML=question7[2];	}
	if (document.getElementById('Salvadorians2').checked)
	{	document.getElementById('answer7').innerHTML=question7[3];	}
	}

function showAnswer8() {
	if (document.getElementById('Bolivians2').checked)
	{	document.getElementById('answer8').innerHTML=question8[1];	}
	if (document.getElementById('Cubans2').checked)
	{	document.getElementById('answer8').innerHTML=question8[2];	}
	if (document.getElementById('Ecuadorians2').checked)
	{	document.getElementById('answer8').innerHTML=question8[3];	}
	}

function showAnswer9() {
	if (document.getElementById('Banana2').checked)
	{	document.getElementById('answer9').innerHTML=question9[1];	}
	if (document.getElementById('Orange2').checked)
	{	document.getElementById('answer9').innerHTML=question9[2];	}
	if (document.getElementById('Apple2').checked)
	{	document.getElementById('answer9').innerHTML=question9[3];	}
	}

function showAnswer10() {
	if (document.getElementById('Cornflakes2').checked)
	{	document.getElementById('answer10').innerHTML=question10[1];	}
	if (document.getElementById('Tortillas2').checked)
	{	document.getElementById('answer10').innerHTML=question10[2];	}
	if (document.getElementById('Lentil2').checked)
	{	document.getElementById('answer10').innerHTML=question10[3];	}
	}

