//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]="Wow, you're really rocking!" compliments[2]="You must have studied hard.?" compliments[3]="Right on." compliments[4]="Correct!" compliments[5]="Super Boff!" compliments[6]="Top Student!" compliments[7]="Excellent!" compliments[8]="Wow, you're really rocking!" compliments[9]="You must be next to someone good.?" compliments[10]="Top answer." compliments[11]="Correct again!" compliments[12]="Super dooper Boff!" compliments[13]="Help yourself to merits!" /*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]="Who discovered penicillin?" choice1[1]="Alexander Fleming." choice1[2]="Louis Pasteur." choice1[3]="Andreas Vesalius" choice1[4]="Edward Jenner." question[2]="Who invented the carbolic spray?" choice2[1]="Liston" choice2[2]="Lister" choice2[3]="Blister" choice2[4]="Pasteur" question[3]="Who allegedly invented the flushing toilet?" choice3[1]="Nye Bevan" choice3[2]="Thomas Splatter" choice3[3]="Thomas Crapper" choice3[4]="Thoams T Engine" question[4] ="Whose theory of the four elements inspired Hippocrates?" choice4[1]="Aristotle" choice4[2]="Avicenna" choice4[3]="Galen" choice4[4]="Imhotep" question[5]="Who tended to the soldiers needs during the Crimean War?" choice5[1]="Florence Git" choice5[2]="Florence Nightingale" choice5[3]="Florence Strange" choice5[4]="Mary Seaweed" question[6]="Who discovered the anaesthetic qualities of nitrous oxide?" choice6[1]="Humphrey Appleby" choice6[2]="Humphrey Cat" choice6[3]="Humphrey Butters" choice6[4]="Humphrey Davy" question[7]="Who was the Greek God of medicine?" choice7[1]="Imhotep" choice7[2]="Zeus" choice7[3]="Apollo" choice7[4]="Askelpios" question[8]="Who discovered X rays?" choice8[1]="Edward Jenner" choice8[2]="Florence Nightingale" choice8[3]="Wilhelm Roentgen" choice8[4]="Edwin Chadwick" question[9]="Who managed to get pencillin mass produced as a drug?" choice9[1]="Watson and Crick" choice9[2]="Holmes and Watson" choice9[3]="Jeeves and Wooster" choice9[4]="Florey and Chain" question[10]="Who carried out the first vaccination against smallpox?" choice10[1]="Louis Pasteur" choice10[2]="Edward Jenner" choice10[3]="Florence Nightingale" choice10[4]="Crawford Long" question[11]="Who discovered blood groups?" choice11[1]="Karl Landsteiner" choice11[2]="Karl Marx" choice11[3]="Mary Seacole" choice11[4]="Sahashiro Hata" question[12]="Who invented the first ever magic bullet?" choice12[1]="Wilhelm Roentgen" choice12[2]="Andreas Vesalius" choice12[3]="Paul Ehrlich" choice12[4]="Louis Pasteur" question[13]="Who wrote the Fabric of the Human Body in 1453?" choice13[1]="Andreas Vesalius" choice13[2]="Claudius Galen" choice13[3]="Edward Jenner" choice13[4]="William Harvey" question[14]="Who was known as the Black Nightingale during the Crimean War?" choice14[1]="Edward Jenner" choice14[2]="Florence Nightingale" choice14[3]="Tiger Woods" choice14[4]="Mary Seacole" question[15]="Who was able to identify bacteria using dye?" choice15[1]="Louis Pasteur" choice15[2]="Joseph Lister" choice15[3]="Aristotle" choice15[4]="Robert Koch" question[16]="Who was the Minister of Health who set up the NHS?" choice16[1]="Aneurin Bevan" choice16[2]="Florence Nightingale" choice16[3]="Tony Blair" choice16[4]="Margaret Thatcher" question[17]="Who treated gun shot wounds using a soothing balm during the French Wars of religion?" choice17[1]="Ambroise Pare" choice17[2]="Ambroise Pudding" choice17[3]="Claudius Galen" choice17[4]="Mary Seacole" question[18]="Who treated patients in Roman times using the theory of opposites?" choice18[1]="Horace Wells" choice18[2]="Florence Nightingale" choice18[3]="Claudius Galen" choice18[4]="Avicenna" question[19]="Who developed the first ever natural explanation of disease?" choice19[1]="Louis Pasteur" choice19[2]="Hippocrates" choice19[3]="William Morton" choice19[4]="Ernst Chain" question[20]="Who first developed the germ theory?" choice20[1]="Hippocrates" choice20[2]="Robert Koch" choice20[3]="Lady Montague" choice20[4]="Louis Pasteur" solution[1]="a" solution[2]="b" solution[3]="c" solution[4]="a" solution[5]="b" solution[6]="d" solution[7]="d" solution[8]="c" solution[9]="d" solution[10]="b" solution[11]="a" solution[12]="c" solution[13]="a" solution[14]="d" solution[15]="d" solution[16]="a" solution[17]="a" solution[18]="c" solution[19]="b" solution[20]="d"