var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

questions[0] = "1a) Which member of the Nazi party parachuted into a field near Eaglesham in 1941?";
choices[0] = new Array();
choices[0][0] = "Adolf Hitler";
choices[0][1] = "Mussolini";
choices[0][2] = "Rudolf Hess";
answers[0] = choices[0][2];

questions[1] = "1b) Which famous football manager is a native of Barrhead?";
choices[1] = new Array();
choices[1][0] = "Alex McLeish";
choices[1][1] = "Gordon Strachan";
choices[1][2] = "Jose Mourihno";
answers[1] = choices[1][0];

questions[2] = "1c) Which town is East Renfrewshire twinned with?";
choices[2] = new Array();
choices[2][0] = "Perth, Australia";
choices[2][1] = "Albertslund, a town on the outskirts of Copenhagen in Denmark";
choices[2][2] = "Volvic, a town in France";
answers[2] = choices[2][1];

questions[3] = "2a) Which town in West Lothian witnesses an annual procession though the streets known as The Marches?";
choices[3] = new Array();
choices[3][0] = "Bathgate";
choices[3][1] = "Linlithgow";
choices[3][2] = "Livingston";
answers[3] = choices[3][1];

questions[4] = "2b) Who lives in Hopetoun House, 'the finest stately home in Scotland'?";
choices[4] = new Array();
choices[4][0] = "The Hope family";
choices[4][1] = "Alex Salmond";
choices[4][2] = "A very rich footballer and his pop star wife";
answers[4] = choices[4][0];

questions[5] = "2c) Which Mel Gibson movie included scenes filmed in West Lothian?";
choices[5] = new Array();
choices[5][0] = "Mad Max";
choices[5][1] = "Hamlet";
choices[5][2] = "Braveheart";
answers[5] = choices[5][1];

questions[6] = "3a) Which famous conservationist was born in Dunbar?";
choices[6] = new Array();
choices[6][0] = "John Muir";
choices[6][1] = "David Bellamy";
choices[6][2] = "David Attenborough";
answers[6] = choices[6][0];

questions[7] = "3b) What historic topic does the Prestongrange Museum focus on?";
choices[7] = new Array();
choices[7][0] = "The French Revolution";
choices[7][1] = "Flight";
choices[7][2] = "Industrial Revolution";
answers[7] = choices[7][2];

questions[8] = "3c) Which famous rock can be seen from Tantallon Castle?";
choices[8] = new Array();
choices[8][0] = "Bass Rock";
choices[8][1] = "Old Man of Hoy";
choices[8][2] = "Devil’s Causeway";
answers[8] = choices[8][0];

questions[9] = "4a) Which queen spent much of her childhood at Stirling Castle?";
choices[9] = new Array();
choices[9][0] = "Mary Queen of Scots";
choices[9][1] = "Queen Elizabeth 1 of England";
choices[9][2] = "Queen Elizabeth, the Queen Mother";
answers[9] = choices[9][0];

questions[10] = "4b) Who does the Wallace Monument commemorate?";
choices[10] = new Array();
choices[10][0] = "Rob Roy";
choices[10][1] = "William The Lionheart";
choices[10][2] = "Sir William Wallace";
answers[10] = choices[10][2];

questions[11] = "4c) The minister of which Stirlingshire town was captured by the fairies?";
choices[11] = new Array();
choices[11][0] = "Aberfoyle";
choices[11][1] = "Alva";
choices[11][2] = "Falkirk";
answers[11] = choices[11][0];

questions[12] = "5a) What is the proper name for the town often known as The Lang Toun?";
choices[12] = new Array();
choices[12][0] = "Dunfermline";
choices[12][1] = "Kinglassie";
choices[12][2] = "Kirkcaldy";
answers[12] = choices[12][2];

questions[13] = "5b) Which Fife town is Scotland’s oldest university town?";
choices[13] = new Array();
choices[13][0] = "St Andrews";
choices[13][1] = "Cupar";
choices[13][2] = "Glenrothes";
answers[13] = choices[13][0];

questions[14] = "5c) Which island off the Fife coast is home to vast numbers of puffins?";
choices[14] = new Array();
choices[14][0] = "Inchcolm";
choices[14][1] = "Inchkeith";
choices[14][2] = "Isle of May";
answers[14] = choices[14][2];

questions[15] = "6a) Which castle in Perth & Kinross was Mary Queen of Scots imprisoned in?";
choices[15] = new Array();
choices[15][0] = "Loch Leven Castle";
choices[15][1] = "Blair Castle";
choices[15][2] = "Scone Palace";
answers[15] = choices[15][0];

questions[16] = "6b) If you visit the Crannog Centre on Loch Tay, which time in history will you be taken back to?";
choices[16] = new Array();
choices[16][0] = "Victorian days";
choices[16][1] = "The Iron Age";
choices[16][2] = "The Stone Age";
answers[16] = choices[16][1];

questions[17] = "6c) What is the name of Perth’s football team?";
choices[17] = new Array();
choices[17][0] = "St Michael’s";
choices[17][1] = "St Johnstone";
choices[17][2] = "Perth United";
answers[17] = choices[17][1];

questions[18] = "7a) What is the name of Dundee’s most famous family?";
choices[18] = new Array();
choices[18][0] = "The Broons";
choices[18][1] = "The MacDonalds";
choices[18][2] = "The Greens";
answers[18] = choices[18][0];

questions[19] = "7b) What is the name of Dundee’s famous ship?";
choices[19] = new Array();
choices[19][0] = "The Golden Hind";
choices[19][1] = "RRS Discovery";
choices[19][2] = "Titanic";
answers[19] = choices[19][1];

questions[20] = "7c) Which of these authors is from Dundee?";
choices[20] = new Array();
choices[20][0] = "Rosamunde Pilcher";
choices[20][1] = "Robert Louis Stevenson";
choices[20][2] = "Ian Rankin";
answers[20] = choices[20][0];

questions[21] = "8a) Which famous playwright was born in Kirriemuir?";
choices[21] = new Array();
choices[21][0] = "William Shakespeare";
choices[21][1] = "JM Barrie";
choices[21][2] = "Samuel Beckett";
answers[21] = choices[21][1];

questions[22] = "8b) Which of these Scottish delicacies is from Forfar?";
choices[22] = new Array();
choices[22][0] = "Bridie";
choices[22][1] = "Smokie";
choices[22][2] = "Black Bun";
answers[22] = choices[22][0];

questions[23] = "8c) What happened in Arbroath on April 6, 1320?";
choices[23] = new Array();
choices[23][0] = "Arbroath beat Aberdeen Bon Accord 52-0";
choices[23][1] = "Declaration of Arbroath was signed";
choices[23][2] = "The Stone of Destiny was stolen";
answers[23] = choices[23][1];


// response for getting 100%
response[0] = "Excellent, top marks!";
// response for getting 90% or more
response[1] = "Excellent, try again to get 100%!"
// response for getting 70% or more
response[2] = "Well done, that is a good score, can you do better?";
// response for getting over 50%
response[3] = "Nice one, you got more than half of the questions right, can you do better?";
// response for getting 40% or more
response[4] = "You got some questions right, you can do better!";
// response for getting 20% or more
response[5] = "You didn't do too well, why not try again!?";
// response for getting 10% or more
response[6] = "That was pretty poor!  Try again to improve!";
// response for getting 9% or less
response[7] = "Oh dear, I think you need to go back to school (or try again)!";
