//change 5 to the total number of questions
var total=20
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]="That's right!"
compliments[2]="Good job!"
compliments[3]="Right on."
compliments[4]="Correct!"
compliments[5]="Great Job!"
compliments[6]="Good work!"


/*Below lists the questions, its choices, and finally, the solution to each question. Follow 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]="10% of 120 ="
choice1[1]="120"
choice1[2]="12"
choice1[3]="10"
choice1[4]="8"

question[2]="50% of 600 ="
choice2[1]="200"
choice2[2]="400"
choice2[3]="50"
choice2[4]="300"

question[3]="25% of 200 ="
choice3[1]="50"
choice3[2]="25"
choice3[3]="75"
choice3[4]="100"

question[4]="20% of 150 ="
choice4[1]="75"
choice4[2]="25"
choice4[3]="50"
choice4[4]="30"

question[5]="200% of 18 ="
choice5[1]="9"
choice5[2]="18"
choice5[3]="36"
choice5[4]="27"

question[6]="50% of 84 ="
choice6[1]="44"
choice6[2]="42"
choice6[3]="48"
choice6[4]="52"

question[7]="150% of 24 ="
choice7[1]="36"
choice7[2]="48"
choice7[3]="30"
choice7[4]="32"

question[8]="20% of 75 ="
choice8[1]="35"
choice8[2]="20"
choice8[3]="25"
choice8[4]="15"

question[9]="10% of 18.4 ="
choice9[1]="0.184"
choice9[2]="184"
choice9[3]="1.84"
choice9[4]="18"

question[10]="75% of 100 ="
choice10[1]="80"
choice10[2]="75"
choice10[3]="25"
choice10[4]="125"

question[11]="100% of 17.13 ="
choice11[1]="0.1713"
choice11[2]="17.13"
choice11[3]="171.3"
choice11[4]="1.713"

question[12]="75% of 24 ="
choice12[1]="18"
choice12[2]="20"
choice12[3]="16"
choice12[4]="15"

question[13]="20% of 520 ="
choice13[1]="175"
choice13[2]="150"
choice13[3]="140"
choice13[4]="104"

question[14]="25% of 60 ="
choice14[1]="20"
choice14[2]="18"
choice14[3]="15"
choice14[4]="24"

question[15]="1% of 180 ="
choice15[1]="1.8"
choice15[2]="18"
choice15[3]="0.18"
choice15[4]="0.018"

question[16]="150% of 60 ="
choice16[1]="80"
choice16[2]="90"
choice16[3]="120"
choice16[4]="100"

question[17]="300% of 16 ="
choice17[1]="32"
choice17[2]="48"
choice17[3]="24"
choice17[4]="30"

question[18]="1% of 100 ="
choice18[1]="110"
choice18[2]="10"
choice18[3]="1"
choice18[4]="0.1"

question[19]="50% of 50 ="
choice19[1]="100"
choice19[2]="50"
choice19[3]="25"
choice19[4]="20"

question[20]="75% of 4 ="
choice20[1]="3.75"
choice20[2]="3.0"
choice20[3]="3.5"
choice20[4]="2.5"

solution[1]="b"
solution[2]="d"
solution[3]="a"
solution[4]="d"
solution[5]="c"
solution[6]="b"
solution[7]="a"
solution[8]="d"
solution[9]="c"
solution[10]="b"
solution[11]="b"
solution[12]="a"
solution[13]="d"
solution[14]="c"
solution[15]="a"
solution[16]="b"
solution[17]="b"
solution[18]="c"
solution[19]="c"
solution[20]="b"

