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]="Does the CO2 that you produce each year – through your daily activities like driving a car, washing the dishes, heating your home, etc. – weigh more than you do?"
question1[1]="<font color='green'>Correct. If you weigh less than 7.5 tons (the national average for CO2 emissions per person per year in the US) – and we hope you do.</font>"
question1[2]="<font color='red'>The answer is Yes. If you weigh less than 7.5 tons.</font>"

question2[0]="Recycling actually costs more than it saves."
question2[1]="<font color='red'>The answer is False.</font>"
question2[2]="<font color='green'>Correct.</font>"

question3[0]="New Jersey’s statewide program to promote energy efficiency and the use of renewable energy technologies is called (choose one):"
question3[1]="<font color='green'>Correct.</font>"
question3[2]="<font color='red'>The answer is A - The New Jersey Clean Energy Program.</font>"
question3[3]="<font color='red'>The answer is A - The New Jersey Clean Energy Program.</font>"
question3[4]="<font color='red'>The answer is A - The New Jersey Clean Energy Program.</font>"

question4[0]="To make sure you purchase the most energy efficient appliances, you should look for (choose one):"
question4[1]="<font color='red'>The answer is B - The Energy Star Label.</font>"
question4[2]="<font color='green'>Correct.</font>"
question4[3]="<font color='red'>The answer is B - The Energy Star Label.</font>"
question4[4]="<font color='red'>The answer is B - The Energy Star Label.</font>"

question5[0]="Enough sunlight falls on the earth in one minute to power the world’s entire energy needs for (choose one):"
question5[1]="<font color='red'>The answer is D - One year.</font>"
question5[2]="<font color='red'>The answer is D - One year.</font>"
question5[3]="<font color='red'>The answer is D - One year.</font>"
question5[4]="<font color='green'>Correct.</font>"

question6[0]="Photovoltaic systems (choose one):"
question6[1]="<font color='red'>The answer is B - Convert sunlight to electricity.</font>"
question6[2]="<font color='green'>Correct.</font>"
question6[3]="<font color='red'>The answer is B - Convert sunlight to electricity.</font>"
question6[4]="<font color='red'>The answer is B - Convert sunlight to electricity.</font>"

question7[0]="Picture a gallon of milk. How many of gallons of water do you think the average American use each day?"
question7[1]="<font color='red'>The answer is D - 80 - 100.</font>"
question7[2]="<font color='red'>The answer is D - 80 - 100.</font>"
question7[3]="<font color='red'>The answer is D - 80 - 100.</font>"
question7[4]="<font color='green'>Correct.</font>"

question8[0]="What do you think uses the most household water?"
question8[1]="<font color='red'>The answer is D - Toilet flushing.</font>"
question8[2]="<font color='red'>The answer is D - Toilet flushing.</font>"
question8[3]="<font color='red'>The answer is D - Toilet flushing.</font>"
question8[4]="<font color='green'>Correct.</font>"

question9[0]="The mantra that is the heart and soul of green living is “Reduce, Reuse and:"
question9[1]="<font color='green'>Correct.</font>"
question9[2]="<font color='red'>The answer is A - Recycle.</font>"
question9[3]="<font color='red'>The answer is A - Recycle.</font>"
question9[4]="<font color='red'>The answer is A - Recycle.</font>"

question10[0]="LEED is a building rating system developed and maintained by:"
question10[1]="<font color='red'>The answer is D - The US Green Building Council.</font>"
question10[2]="<font color='red'>The answer is D - The US Green Building Council.</font>"
question10[3]="<font color='red'>The answer is D - The US Green Building Council.</font>"
question10[4]="<font color='green'>Correct.</font>"


function showAnswer1() {
	if (document.getElementById('yes').checked)
	{	document.getElementById('answer1').innerHTML=question1[1];	}
	if (document.getElementById('no').checked)
	{	document.getElementById('answer1').innerHTML=question1[2];	}
	}

function showAnswer2() {
	if (document.getElementById('true').checked)
	{	document.getElementById('answer2').innerHTML=question2[1];	}
	if (document.getElementById('false').checked)
	{	document.getElementById('answer2').innerHTML=question2[2];	}
	}

function showAnswer3() {
	if (document.getElementById('clean').checked)
	{	document.getElementById('answer3').innerHTML=question3[1];	}
	if (document.getElementById('efficiency').checked)
	{	document.getElementById('answer3').innerHTML=question3[2];	}
	if (document.getElementById('power').checked)
	{	document.getElementById('answer3').innerHTML=question3[3];	}
	if (document.getElementById('utility').checked)
	{	document.getElementById('answer3').innerHTML=question3[4];	}
	}

function showAnswer4() {
	if (document.getElementById('appliance').checked)
	{	document.getElementById('answer4').innerHTML=question4[1];	}
	if (document.getElementById('star').checked)
	{	document.getElementById('answer4').innerHTML=question4[2];	}
	if (document.getElementById('housekeeping').checked)
	{	document.getElementById('answer4').innerHTML=question4[3];	}
	if (document.getElementById('house').checked)
	{	document.getElementById('answer4').innerHTML=question4[4];	}
	}

function showAnswer5() {
	if (document.getElementById('minute').checked)
	{	document.getElementById('answer5').innerHTML=question5[1];	}
	if (document.getElementById('day').checked)
	{	document.getElementById('answer5').innerHTML=question5[2];	}
	if (document.getElementById('month').checked)
	{	document.getElementById('answer5').innerHTML=question5[3];	}
	if (document.getElementById('year').checked)
	{	document.getElementById('answer5').innerHTML=question5[4];	}
	}

function showAnswer6() {
	if (document.getElementById('co2').checked)
	{	document.getElementById('answer6').innerHTML=question6[1];	}
	if (document.getElementById('electricity').checked)
	{	document.getElementById('answer6').innerHTML=question6[2];	}
	if (document.getElementById('hotwater').checked)
	{	document.getElementById('answer6').innerHTML=question6[3];	}
	if (document.getElementById('steam').checked)
	{	document.getElementById('answer6').innerHTML=question6[4];	}
	}

function showAnswer7() {
	if (document.getElementById('020').checked)
	{	document.getElementById('answer7').innerHTML=question7[1];	}
	if (document.getElementById('2040').checked)
	{	document.getElementById('answer7').innerHTML=question7[2];	}
	if (document.getElementById('4080').checked)
	{	document.getElementById('answer7').innerHTML=question7[3];	}
	if (document.getElementById('80100').checked)
	{	document.getElementById('answer7').innerHTML=question7[4];	}
	}

function showAnswer8() {
	if (document.getElementById('car').checked)
	{	document.getElementById('answer8').innerHTML=question8[1];	}
	if (document.getElementById('dish').checked)
	{	document.getElementById('answer8').innerHTML=question8[2];	}
	if (document.getElementById('shower').checked)
	{	document.getElementById('answer8').innerHTML=question8[3];	}
	if (document.getElementById('toilet').checked)
	{	document.getElementById('answer8').innerHTML=question8[4];	}
	}

function showAnswer9() {
	if (document.getElementById('recycle').checked)
	{	document.getElementById('answer9').innerHTML=question9[1];	}
	if (document.getElementById('refrain').checked)
	{	document.getElementById('answer9').innerHTML=question9[2];	}
	if (document.getElementById('repair').checked)
	{	document.getElementById('answer9').innerHTML=question9[3];	}
	if (document.getElementById('restore').checked)
	{	document.getElementById('answer9').innerHTML=question9[4];	}
	}

function showAnswer10() {
	if (document.getElementById('utilities').checked)
	{	document.getElementById('answer10').innerHTML=question10[1];	}
	if (document.getElementById('energy').checked)
	{	document.getElementById('answer10').innerHTML=question10[2];	}
	if (document.getElementById('environmental').checked)
	{	document.getElementById('answer10').innerHTML=question10[3];	}
	if (document.getElementById('greenbuilding').checked)
	{	document.getElementById('answer10').innerHTML=question10[4];	}
	}	
	