//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]="Absolutely right!"
compliments[2]="You must have studied hard. Good job!"
compliments[3]="Right on."
compliments[4]="Correct!"
compliments[5]="Great Job!"
compliments[6]="Good work!"
compliments[7]="Well done!"
compliments[8]="Perfect!"
compliments[9]="Hai!"


/*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]=" Ok we'll try an easy one first. In what year did Nagamine Shoshin found Matsubayashi Ryu?"
choice1[1]="1941"
choice1[2]="1936"
choice1[3]="1947"
choice1[4]="1927"

question[2]=" Who composed Fukyugata ni?"
choice2[1]="Miyagi Chojun"
choice2[2]="Gichin Funakoshi"
choice2[3]="Nagamine Shoshin"
choice2[4]="Choshin Chibana"

question[3]=" Who composed the Pinan kata?"
choice3[1]="Choki Motobu"
choice3[2]="Anko Itosu"
choice3[3]="Nagamine Takayoshi"
choice3[4]="Nagamine Shoshin"

question[4]=" In what year were the Pinan kata composed?"
choice4[1]="1942"
choice4[2]="1907"
choice4[3]="1807"
choice4[4]="1936"

question[5]=" Nagamine Shoshin was born in Okinawa, in which village?"
choice5[1]="Shuri"
choice5[2]="Yomitan"
choice5[3]="Naha"
choice5[4]="Tomari"

question[6]=" Who created Fukyugata ichi?"
choice6[1]="Bruce lee"
choice6[2]="Kyan Chotoku"
choice6[3]="Kyan Chofu"
choice6[4]="Nagamine Shoshin"

question[7]=" One of the Precepts of Mastery says. Do not be dependant on ..... for your improvement.Which word below belongs in the space?"
choice7[1]="Books"
choice7[2]="Television"
choice7[3]="Others"
choice7[4]="Food"

question[8]=" How many kata are preserved in Matsubayashi karatedo?"
choice8[1]="30"
choice8[2]="16"
choice8[3]="18"
choice8[4]="5"

question[9]=" The Japanese phrase, Arigato gozaimasu, means?"
choice9[1]="Hello"
choice9[2]="Thank you very much"
choice9[3]="Come back tomorrow"
choice9[4]="Think quietly"

question[10]=" Why were the Fukyugata created?"
choice10[1]="Because they didn't have enough kata"
choice10[2]="To allow beginners to train in karate in an easier way. "
choice10[3]="To keep the other kata secret"
choice10[4]="No reason."

question[11]=" What does Matsubayashi Ryu Mean?"
choice11[1]="Pine Forest Style"
choice11[2]="Big Tree Style"
choice11[3]="Okinawa Style"
choice11[4]="Rain Forest Style"

question[12]=" Which Master's instruction and training inspired and helped Osensei Nagamine to develop the Matsubayashi Ryu yakusoku kumite?"
choice12[1]="Kosaku Matsumora"
choice12[2]="Ankichi Arakaki"
choice12[3]="Chotoku Kyan"
choice12[4]="Choki Motobu"

question[13]=" Shihan Kevin Plaisted is...?"
choice13[1]="President of Matsubayshi Ryu NZ"
choice13[2]="Chief Instructor for Okinawa Shorin Ryu NZ"
choice13[3]="A professional Acupuncturist"
choice13[4]="All of the above"

question[14]=" What famous Karate master from Okinawa travelled to mainland Japan to introduce karate and teach it there?"
choice14[1]="Gichin Funakoshi"
choice14[2]="Higaonna Kanryo"
choice14[3]="Itsou Anko"
choice14[4]="To-te Sakugawa"

question[15]=" In what year did this Okinawan Master, from the last question, first introduce karate to Japan?"
choice15[1]="1922"
choice15[2]="1855"
choice15[3]="between 1700-1750 BC"
choice15[4]="1926"

question[16]=" Osensei Nagamine Shoshin had several karate tutors. Who was the first Master that he studied under?"
choice16[1]="Tae Kwondo"
choice16[2]="Ankichi Arakaki"
choice16[3]="Shinpan Gusukuma"
choice16[4]="Kosaku Matsumora"

question[17]=" Osensei Nagamine Shoshin developed a number of yakusoku kumite. How many did he develop?"
choice17[1]="nine"
choice17[2]="eighteen"
choice17[3]="seven"
choice17[4]="three"

question[18]=" The Japanese phrase, Onegai shimasu, means?"
choice18[1]="Please teach me"
choice18[2]="I am tired"
choice18[3]="See you next time"
choice18[4]="I am hungry"

question[19]=" Which kobudo weapon is still used to cut grass in Okinawa today?"
choice19[1]="Bo"
choice19[2]="Nunchaku"
choice19[3]="Sai"
choice19[4]="Kama"

question[20]=" Who said? If there is no kata, there is no karate, just kicking and punching."
choice20[1]="Charlie Chan"
choice20[2]="Jugo Toma"
choice20[3]="Shoshin Nagamine"
choice20[4]="Chotoku Kyan"

solution[1]="C"
solution[2]="A"
solution[3]="B"
solution[4]="B"
solution[5]="D"
solution[6]="D"
solution[7]="C"
solution[8]="C"
solution[9]="B"
solution[10]="B"
solution[11]="A"
solution[12]="D"
solution[13]="D"
solution[14]="A"
solution[15]="A"
solution[16]="B"
solution[17]="C"
solution[18]="A"
solution[19]="D"
solution[20]="C"
