var AllQ=15; //number of questions. Created by Yi-Tao
var myQ=new Array();
for (i=1;i<=AllQ+1;i++) //makes answer choice for each question
{ temp="choice"+i+"=new Array()";
  eval(temp);
}
var myS=new Array();

//Questions and Answers are below. Pretty simple to figure out
myQ[1]="Where was Napoleon born?";
choice1[1]="Corsica";
choice1[2]="Toulon";
choice1[3]="Paris";
choice1[4]="Orleans";
myS[1]="a"; //use lower case

myQ[2]="In what year was Napoleon born?";
choice2[1]="1768";
choice2[2]="1769";
choice2[3]="1770";
choice2[4]="1771";
myS[2]="b";

myQ[3]="Who did Napoleon lose to in the Battle of the Nile?";
choice3[1]="Admiral Nelson";
choice3[2]="Emmanuel Sieyes";
choice3[3]="Alexander I";
choice3[4]="Duke of Wellington";
myS[3]="a";

myQ[4]="When was Napoleon's coup d'Etat?";
choice4[1]="November 9, 1799";
choice4[2]="April 3, 1801";
choice4[3]="August 10, 1798";
choice4[4]="January 26, 1794";
myS[4]="a";

myQ[5]="The Treaty of Amiens was between France and who?";
choice5[1]="Austria";
choice5[2]="Prussia";
choice5[3]="Russia";
choice5[4]="Great Britian";
myS[5]="d";

myQ[6]="In what year was the Civil Code formed?";
choice6[1]="1802";
choice6[2]="1803";
choice6[3]="1804";
choice6[4]="1805";
myS[6]="c";

myQ[7]="Where did Napoleon's Coronation take place?";
choice7[1]="Eiffel Tower";
choice7[2]="National Bank";
choice7[3]="Notre Dame Cathedral";
choice7[4]="Mont Saint Michel";
myS[7]="c";

myQ[8]="Prussia lost half its land in which treaty?";
choice8[1]="Treaty of Tilsit";
choice8[2]="Treaty of Campoformio";
choice8[3]="Treaty of Paris";
choice8[4]="Treaty of Prague";
myS[8]="a";

myQ[9]="In what year did Napoleon divorce Josephine?";
choice9[1]="1808";
choice9[2]="1809";
choice9[3]="1810";
choice9[4]="1811";
myS[9]="b";

myQ[10]="Where was Napoleon banished to after he abdicated the\n    first time?";
choice10[1]="Elba";
choice10[2]="St Helena";
choice10[3]="Corsica";
choice10[4]="London";
myS[10]="a";

myQ[11]="Which dynasty was restored by the Fourth Coalition\n    in France?";
choice11[1]="Bonaparte";
choice11[2]="Ming";
choice11[3]="Bourbon";
choice11[4]="Ferdinand";
myS[11]="c";

myQ[12]="In what year did Napoleon escape from Elba?";
choice12[1]="1812";
choice12[2]="1813";
choice12[3]="1814";
choice12[4]="1815";
myS[12]="d";

myQ[13]="Which battle ended the Hundred Days?";
choice13[1]="Waterloo";
choice13[2]="Trafalgar";
choice13[3]="Ulm";
choice13[4]="Austerlitz";
myS[13]="a";

myQ[14]="Who did Napoleon lose to in the Battle of Waterloo?";
choice14[1]="Admiral Nelson";
choice14[2]="Emmanuel Sieyes";
choice14[3]="Alexander I";
choice14[4]="Duke of Wellington";
myS[14]="d";

myQ[15]="Where did Napoleon die?";
choice15[1]="Elba";
choice15[2]="St Helena";
choice15[3]="Corsica";
choice15[4]="London";
myS[15]="b";


