//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 Japanese hard. Good job!"
compliments[3]="Right on."
compliments[4]="Correct!"
compliments[5]="Great Job!"
compliments[6]="Good work!"
compliments[7]="Cool!"


/*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://wsabstract.com/script/script2/comboquiz.htm for more info
*/

question[1]="Which is the correct combination of vowels (v) and consonants (c) of the word 'inu'(dog) ?"
choice1[1]="v-v-c"
choice1[2]="v-c-c"
choice1[3]="c-v-c"
choice1[4]="v-c-v"


question[2]="Which is the correct combination of vowels (v) and consonants (c) of the word 'neko'(cat) ?"
choice2[1]="c-c-v-v"
choice2[2]="c-v-v-v"
choice2[3]="c-v-c-v"
choice2[4]="c-v-c-c"


question[3]="Which is the correct combination of vowels (v) and consonants (c) of the word 'Ohha'(Good morning)?"
choice3[1]="v-c-v-v"
choice3[2]="v-c-c-v"
choice3[3]="v-v-c-v"
choice3[4]="v-c-v-c"

question[4]="Which is the correct combination of vowels (v) and consonants (c) of the word 'Genki'(Are you fine) ?"
choice4[1]="c-v-c-c-v"
choice4[2]="c-v-c-v-v"
choice4[3]="c-v-c-c-c"
choice4[4]="c-v-v-c-v"

question[5]="Which is the correct combination of vowels (v) and consonants (c) of the word 'Konnichiwa'(Hello)?"
choice5[1]="c-v-c-v-c-v-c-v-v-c"
choice5[2]="c-c-v-c-v-c-c-v-c-v"
choice5[3]="c-v-c-c-v-c-c-v-c-v"
choice5[4]="c-v-c-v-v-c-c-v-c-v"

question[6]="Which is the correct combination of vowels (v) and consonants (c) of the word 'Ohayoogozaimasu' (Good morning)?"
choice6[1]="v-c-v-c-v-v-c-v-c-c-v-c-v-c-v"
choice6[2]="v-c-v-c-v-c-c-v-c-v-v-c-v-c-v"
choice6[3]="v-c-c-v-c-v-c-v-c-v-v-c-v-c-v"
choice6[4]="v-c-v-c-v-v-c-v-c-v-v-c-v-c-v"


question[7]="Which is the correct combination of vowels (v) and consonants (c) of the word 'Tookyoo'?"
choice7[1]="c-v-v-v-c-v-v"
choice7[2]="c-v-v-c-c-c-v"
choice7[3]="c-v-v-c-c-v-c"
choice7[4]="c-v-v-c-c-v-v"


question[8]="Which is the correct combination of vowels (v) and consonants (c) of the word 'Nihon'(Japan)? "
choice8[1]="c-v-c-c-n"
choice8[2]="c-c-v-v-n"
choice8[3]="c-v-c-v-n"
choice8[4]="c-c-c-v-n"


question[9]="Which is the correct combination of vowels (v) and consonants (c) of the word 'ue'(above)? "

choice9[1]="v-v"
choice9[2]="c-c"
choice9[3]="c-v"
choice9[4]="v-c"


question[10]="Which is the correct combination of vowels (v) and consonants (c) of the word 'ie'(house)? "

choice10[1]="c-c"
choice10[2]="c-v"
choice10[3]="v-v"
choice10[4]="v-c"




solution[1]="d"
solution[2]="c"
solution[3]="b"
solution[4]="a"
solution[5]="c"
solution[6]="d"
solution[7]="d"
solution[8]="c"
solution[9]="a"
solution[10]="c"


