/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: James Crooke :: http://www.cj-design.com */

var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

// To add more questions, just follow the format below.

questions[0] = "1) With which country is St. Patricks Day associated?";
choices[0] = new Array();
choices[0][0] = "Ireland";
choices[0][1] = "England";
choices[0][2] = "Wales";
choices[0][3] = "Scotland";
answers[0] = choices[0][0];

questions[1] = "2) Where was the world's first St. Patrick's Day parade held?";
choices[1] = new Array();
choices[1][0] = "Dublin 1761";
choices[1][1] = "Boston 1761";
choices[1][2] = "London 1761";
choices[1][3] = "Galway 1761";
answers[1] = choices[1][1];

questions[2] = "3) What colour is typically worn in celebration of St. Patrick's Day?";
choices[2] = new Array();
choices[2][0] = "Red";
choices[2][1] = "Yellow";
choices[2][2] = "Orange";
choices[2][3] = "Green";
answers[2] = choices[2][3];

questions[3] = "4) Why is St. Patrick's Day normally acknowledged on the 17th March?";
choices[3] = new Array();
choices[3][0] = "It is believed to be his death day";
choices[3][1] = "It is believed to be his birth day";
choices[3][2] = "It is believed to be the date he was captured";
choices[3][3] = "It is believed to be the date he escaped captivity";
answers[3] = choices[3][0];

questions[4] = "5) How many years of slavery did St. Patrick endure when he was 16?";
choices[4] = new Array();
choices[4][0] = "10 years";
choices[4][1] = "8 Years";
choices[4][2] = "6 Years";
choices[4][3] = "3 Years";
answers[4] = choices[4][2];

questions[5] = "6) St. Patrick banished all snakes from Ireland?";
choices[5] = new Array();
choices[5][0] = "True";
choices[5][1] = "False";
answers[5] = choices[5][1];

// response for getting 100%
response[0] = "Excellent, top marks - you are a Genius!";
// 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)!";

