var choice1, choice2, choice3, choice4, choice5, choice6, choice7, choice8, choice9, choice10, choice11, question, solution, i, temp

//change 5 to the total number of questions
var total=10
var question=new Array()
for (i=1;i<=total+1;i++){
temp="choice"+i+"=new Array()"
eval(temp)
}
var solution=new Array()

/*Below lists the phrases that will be randomly displayed if the user correctly answers the question. You may extend or shorten this list as desired*/
var compliments=new Array()
compliments[0]="Excellent!"
compliments[1]="Wow, you're really rocking!"
compliments[2]="You must have studied hard!"
compliments[3]="Right on."
compliments[4]="Correct!"
compliments[5]="You're a water genius!"
compliments[6]="Grrreat work!"


/*Below lists the questions, its choices, and finally, the solution to each question. Folow the exact format below when editing the questions. You may have as many questions as needed. Check doc at http://javascriptkit.com/script/script2/comboquiz.htm for more info
*/

question[1]="Water makes up how much of your brain?"
choice1[1]="40%"
choice1[2]="50%"
choice1[3]="60%"
choice1[4]="70%"

question[2]="An aquifer is an underground space where water collects. "
choice2[1]="True"
choice2[2]="False"
choice2[3]="Yes and no"
choice2[4]="I don't know"

question[3]="Which of these animals doesn't drink water?"
choice3[1]="Camel"
choice3[2]="Chicken"
choice3[3]="Koala bear"
choice3[4]="Horse"

question[4]="How many gallons of water do you use in a five minute shower?"
choice4[1]="10-20"
choice4[2]="25-50"
choice4[3]="50-75"
choice4[4]="75-100"

question[5]="Which of these devices can be purchased as low-flow to cut back on water use?"
choice5[1]="Toilet"
choice5[2]="Showerhead"
choice5[3]="Washer"
choice5[4]="All of the above"

question[6]="How long can a person live without water?"
choice6[1]="A day"
choice6[2]="A week"
choice6[3]="A month"
choice6[4]="A year"

question[7]="Which room in the house uses the most water?"
choice7[1]="Bathroom"
choice7[2]="Kitchen"
choice7[3]="Laundry room"
choice7[3]="Dining Room"

question[8]="How much water is wasted by running the water while you brush your teeth?"
choice8[1]="1 gallon"
choice8[2]="2 gallons"
choice8[3]="3 gallons"
choice8[4]="4 gallons"

question[9]="Flocculation is the stage in cleaning recycled water in which the dirty particles are filtered out."
choice9[1]="True"
choice9[2]="False"
choice9[3]="Maybe"
choice9[4]="I don't know"

question[10]="Which of these fruits and vegetables contains the highest percentage of water?"
choice10[1]="Corn"
choice10[2]="Pineapple"
choice10[3]="Tomato"
choice10[4]="Watermelon"

solution[1]="d"
solution[2]="a"
solution[3]="c"
solution[4]="b"
solution[5]="d"
solution[6]="b"
solution[7]="a"
solution[8]="b"
solution[9]="b"
solution[10]="c"

