var AllQ=20; //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]="What was Napoleon's father's occupation?";
choice1[1]="Mayor";
choice1[2]="Sailor";
choice1[3]="Doctor";
choice1[4]="Lawyer";
myS[1]="d"; //use lower case

myQ[2]="At what age did Napoleon join the French Army?";
choice2[1]="14";
choice2[2]="15";
choice2[3]="16";
choice2[4]="17";
myS[2]="c";

myQ[3]="What was Napoleon's rank when he joined the army in 1785?";
choice3[1]="Admiral";
choice3[2]="General";
choice3[3]="Lieutenant";
choice3[4]="Second lieutenant";
myS[3]="d";

myQ[4]="Which radical group did Napoleon join that brought him\n   into conflict with the governor of Corsica?";
choice4[1]="Jacobins";
choice4[2]="Royalists";
choice4[3]="Nationalists";
choice4[4]="Mountain";
myS[4]="a";

myQ[5]="When was Louis XVI executed?";
choice5[1]="1791";
choice5[2]="1792";
choice5[3]="1793";
choice5[4]="1794";
myS[5]="c";

myQ[6]="When was the Directory formed?";
choice6[1]="1794";
choice6[2]="1796";
choice6[3]="1798";
choice6[4]="1800";
myS[6]="b";

myQ[7]="Which of the following nations did Napoleon NOT fight\n   during his Egyptian Campaign?";
choice7[1]="Ottomon Empire";
choice7[2]="Austria";
choice7[3]="Russia";
choice7[4]="Great Britain";
myS[7]="b";

myQ[8]="After Napoleon's coup d'Etat, what replaced the\n   Directory?";
choice8[1]="a Consulate";
choice8[2]="an Emperor";
choice8[3]="a Convention";
choice8[4]="a Monarchy";
myS[8]="a";

myQ[9]="What did the Concordat of 1801 do?";
choice9[1]="Nothing";
choice9[2]="It established the Bank of France";
choice9[3]="It gave Catholics the right of free practice";
choice9[4]="It gave Napoleon control of the Consulate";
myS[9]="c";

myQ[10]="When did Napoleon acquire the Louisiana Territories\n    from Spain?";
choice10[1]="1797";
choice10[2]="1798";
choice10[3]="1799";
choice10[4]="1800";
myS[10]="d";

myQ[11]="What did the Civil Code of 1804 do?";
choice11[1]="Nothing";
choice11[2]="It secured the gains of peaseants and the middle class";
choice11[3]="It expanded free speech";
choice11[4]="It gave women more rights";
myS[11]="b";

myQ[12]="What was the Continental System?";
choice12[1]="A bill to secure trade between all European powers";
choice12[2]="A law that allowed the French to impress sailors";
choice12[3]="A boycott of all trade with Britain";
choice12[4]="A military plan to move troops rapidly";
myS[12]="c";

myQ[13]="Who did Napoleon put on the throne of Westphalia?";
choice13[1]="Helen";
choice13[2]="Alexander";
choice13[3]="Nelson";
choice13[4]="Jerome";
myS[13]="d";

myQ[14]="What is known as the ulcer of the French Empire?";
choice14[1]="Austria";
choice14[2]="Spanish Peninsula";
choice14[3]="United States";
choice14[4]="Great Britain";
myS[14]="b";

myQ[15]="Who did Napoleon blame for the failure of the\n    Continental System?";
choice15[1]="Alexander I";
choice15[2]="Himself";
choice15[3]="Duke Wellington";
choice15[4]="No one";
myS[15]="a";

myQ[16]="How many troops did Napoleon have at the start of\n    his attack on Russia in 1812?";
choice16[1]="30,000";
choice16[2]="100,000";
choice16[3]="300,000";
choice16[4]="600,000";
myS[16]="d";

myQ[17]="How many troops did Napoleon have at the end of\n    his attack on Russia?";
choice17[1]="30,000";
choice17[2]="100,000";
choice17[3]="300,000";
choice17[4]="600,000";
myS[17]="a";

myQ[18]="What was the 29th Bulletin?";
choice18[1]="Napoleon's admition of his defeat in Russia";
choice18[2]="A draft for more troops";
choice18[3]="His surrender at the Battle of Waterloo";
choice18[4]="The proposal for the Continental System";
myS[18]="a";

myQ[19]="Who was the foreign minister to Austria that played a\n    major role in forming the principle of balance of\n    power in Europe?";
choice19[1]="Drake";
choice19[2]="Murich";
choice19[3]="Meternich";
choice19[4]="Napoleon";
myS[19]="c";

myQ[20]="After Napoleon escaped from Elba, what happened to\n    the army that Louis XVIII sent to stop Napoleon?";
choice20[1]="It was crushed";
choice20[2]="It joined him";
choice20[3]="It never caught up to Napoleon's forces";
choice20[4]="It stopped because it couldn't cross the Seine River";
myS[20]="b";
