//change 5 to the total number of questions
var total=5
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 be smart. 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]="If your HOME catch on fire"
choice1[1]="RUN THROUGH THE SMOKE AS FAST AS YOU CAN"
choice1[2]="STOP, DROP, and ROLL"
choice1[3]="GET LOW AND CRAWL UNDER THE SMOKE"
choice1[4]="ALL OF THE ABOVE"

question[2]="If your house catches on fire, follow your escape plan! After you get outside you should"
choice2[1]="PLAY BASEBALL IN THE YARD"
choice2[2]="GO BACK INSIDE"
choice2[3]="GO TO THE DESIGNATED MEETING PLACE"
choice2[4]="GO TO THE GROCERY STORE"

question[3]="If a fire starts at night, the best way to be prepared is..."
choice3[1]="HAVE A WORKING SMOKE DETECTOR OUTSIDE THE SLEEPING AREA OF YOUR HOUSE"
choice3[2]="KEEP A BUCKET OF WATER BESIDE YOUR BED"
choice3[3]="STAY AWAKE EVER NIGHT"
choice3[4]="DON'T WORRY YOU WILL SMELL THE SMOKE AND WAKE UP"

question[4]="If you get burned..."
choice4[1]="JUMP UP AND DOWN"
choice4[2]="RUN COOL WATER OVER THE BURN"
choice4[3]="PUT BUTTER ON THE BURN"
choice4[4]="PUT ICE ON THE BURN"

question[5]="Most dangerous fires start..."
choice5[1]="IN THE GARAGE"
choice5[2]="AT SCHOOL"
choice5[3]="UNDER WATER"
choice5[4]="AT NIGHT, WHEN YOU ARE ASLEEP"

solution[1]="c"
solution[2]="c"
solution[3]="a"
solution[4]="b"
solution[5]="d"


