//change 5 to the total number of questions
var total=11
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, You Just Earned 10 Points!"
compliments[1]="You Got It! Add 10 Points to Your Score."
compliments[2]="That's Right! Take Another 10 Points."
compliments[3]="Right On! You Get 10 Points for that."
compliments[4]="Correct, So You Earn 10 More Points!"
compliments[5]="Great Job! Boost your Score 10 Points."
compliments[6]="Good Work! Add 10 Points to the Total. "
compliments[7]="Way to Go! You Just Earned 10 Points."

/*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]="Which USA State Flag was designed by a 13 year old boy in a statewide school system design contest?"
choice1[1]="Alaska"
choice1[2]="California"
choice1[3]="Hawaii"
choice1[4]="New Mexico"

question[2]="Which USA State Flag includes these words: Don't Tread On Me?"
choice2[1]="Delaware"
choice2[2]="Rhode Island"
choice2[3]="South Carolina"
choice2[4]="None of the above"

question[3]="Which USA State Flag does NOT have a Star in its design?"
choice3[1]="California"
choice3[2]="Indiana"
choice3[3]="Oregon"
choice3[4]="Pennsylvania"

question[4]="Which USA State Flag has a Boat or Ship in its design?"
choice4[1]="Delaware"
choice4[2]="Florida"
choice4[3]="New Hampshire"
choice4[4]="All of the above"

question[5]="What is the only USA State Flag to includes a Red Star in its design?"
choice5[1]="Arkansas"
choice5[2]="California"
choice5[3]="Ohio"
choice5[4]="Tennessee"

question[6]="What is the only USA State Flag to include words in Spanish?"
choice6[1]="Arizona"
choice6[2]="Montana"
choice6[3]="New Mexico"
choice6[4]="Texas"

question[7]="Most State Flags are rectangular in shape. 2 are square. Which State flag has a unique shape?"
choice7[1]="New Hampshire"
choice7[2]="Ohio"
choice7[3]="Rhode Island"
choice7[4]="West Virginia"

question[8]="Which 2 State Flags are square in shape?"
choice8[1]="Alabama and Maryland"
choice8[2]="Connecticut and Rhode Island"
choice8[3]="Maryland and Connecticut"
choice8[4]="Rhode Island and Alabama"

question[9]="Over 25 USA State Flags have a Blue background. What is only USA State Flag with a Green background?"
choice9[1]="Idaho"
choice9[2]="New Hampshire"
choice9[3]="Oregon"
choice9[4]="Washington"

question[10]="What is only USA State Flag to include Roman numerals in its design?"
choice10[1]="Maine"
choice10[2]="Massachusetts"
choice10[3]="Missouri"
choice10[4]="Montana"

question[11]="BONUS Question: Which USA State Flag includes the words In God We Trust?"
choice11[1]="Florida"
choice11[2]="North Dakota"
choice11[3]="South Dakota"
choice11[4]="West Virginia"

solution[1]="A"
solution[2]="D"
solution[3]="D"
solution[4]="D"
solution[5]="B"
solution[6]="B"
solution[7]="B"
solution[8]="D"
solution[9]="D"
solution[10]="C"
solution[11]="A"