/* 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 
Adapted by Phil Wood */

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. How much does a kilo of Italian white truffles cost?";
choices[0] = new Array();
choices[0][0] = "£40";
choices[0][1] = "£400";
choices[0][2] = "£4,000";
answers[0] = choices[0][2];

questions[1] = "2. What did the school leaving age change to in 1899?";
choices[1] = new Array();
choices[1][0] = "10";
choices[1][1] = "12";
choices[1][2] = "14";
answers[1] = choices[1][1];

questions[2] = "3. How many freerunners are there in the UK?";
choices[2] = new Array();
choices[2][0] = "10,000";
choices[2][1] = "15,000";
choices[2][2] = "20,000";
answers[2] = choices[2][1];

questions[3] = "4. If you have arachnophobia what are you scred of?";
choices[3] = new Array();
choices[3][0] = "spiders";
choices[3][1] = "heights";
choices[3][2] = "the dark";
answers[3] = choices[3][0];

questions[4] = "5. In which country was a man arrested for stealing 2,865 bikes?";
choices[4] = new Array();
choices[4][0] = "Australia";
choices[4][1] = "Canada";
choices[4][2] = "South Africa";
answers[4] = choices[4][1];

questions[5] = "6. The CERN laboratory is on the border between Switzerland and which other country?";
choices[5] = new Array();
choices[5][0] = "France";
choices[5][1] = "Germany";
choices[5][2] = "Italy";
answers[5] = choices[5][0];

questions[6] = "7. What did Roald Dahl use to write his books?";
choices[6] = new Array();
choices[6][0] = "a fountain pen";
choices[6][1] = "a pencil";
choices[6][2] = "a computer";
answers[6] = choices[6][1];

questions[7] = "8. The Ryder Cup is a competition for players in which sport?";
choices[7] = new Array();
choices[7][0] = "Tennis";
choices[7][1] = "Golf";
choices[7][2] = "Rugby";
answers[7] = choices[7][1];

questions[8] = "9. Rebecca Adlington won two olympic gold medals in which sport?";
choices[8] = new Array();
choices[8][0] = "Cycling";
choices[8][1] = "Rowing";
choices[8][2] = "Swimming";
answers[8] = choices[8][2];

questions[9] = "10. In which city will the 2008 Horse of the year Show be held?";
choices[9] = new Array();
choices[9][0] = "Birmingham";
choices[9][1] = "London";
choices[9][2] = "Manchester";
answers[9] = choices[9][0];





// response for getting 100%
response[0] = "Congratulations!\nYou've certainly read your Newspaper.";
// response for getting 70% or more
response[1] = "A good try.\nHave another read of The Newspaper and see if you can get them all right next time.";
// response for getting 40% or more
response[2] = "It's time to get out your copy of The Newspaper and read it again.";
// response for getting less than 40%
response[3] = "Have you read The Newspaper?\nMaybe you should read it again.";



