/* 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. What is the second most commonly spoken language in the world?";
choices[0] = new Array();
choices[0][0] = "English";
choices[0][1] = "Mandarin";
choices[0][2] = "Spanish";
answers[0] = choices[0][2];

questions[1] = "2. How long ago did the Communist Party take over power in China?";
choices[1] = new Array();
choices[1][0] = "40 years";
choices[1][1] = "60 years";
choices[1][2] = "80 years";
answers[1] = choices[1][1];

questions[2] = "3. How many languages does Heurelho Games speak?";
choices[2] = new Array();
choices[2][0] = "2";
choices[2][1] = "3";
choices[2][2] = "4";
answers[2] = choices[2][2];

questions[3] = "4. Which Olympic event is shown on Florence Jackson's 50 pence coin?";
choices[3] = new Array();
choices[3][0] = "High jump";
choices[3][1] = "Long jump";
choices[3][2] = "Triple jump";
answers[3] = choices[3][0];

questions[4] = "5. How long did each person spend on the Fourth Plinth as part of the living art project?";
choices[4] = new Array();
choices[4][0] = "15 minutes";
choices[4][1] = "30 minutes";
choices[4][2] = "one hour";
answers[4] = choices[4][2];

questions[5] = "6. Who was the first actor to play Dr Who?";
choices[5] = new Array();
choices[5][0] = "Tom Baker";
choices[5][1] = "William Hartnell";
choices[5][2] = "Jon Pertwee";
answers[5] = choices[5][1];

questions[6] = "7. Which country had the plane carrying the painted grasshopper arrived from?";
choices[6] = new Array();
choices[6][0] = "Australia";
choices[6][1] = "Brazil";
choices[6][2] = "India";
answers[6] = choices[6][2];

questions[7] = "8. How many children in the UK are blind or partially sighted?";
choices[7] = new Array();
choices[7][0] = "10,000";
choices[7][1] = "20,000";
choices[7][2] = "40,000";
answers[7] = choices[7][1];

questions[8] = "9. In which South American country did the Nazca people live?";
choices[8] = new Array();
choices[8][0] = "Bolivia";
choices[8][1] = "Colombia";
choices[8][2] = "Peru";
answers[8] = choices[8][2];

questions[9] = "10. In which US state is the Wizarding World of Harry Potter going to open in 2010?";
choices[9] = new Array();
choices[9][0] = "California";
choices[9][1] = "Florida";
choices[9][2] = "Texas";
answers[9] = choices[9][1];





// 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.";




