/* 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. In which country is the cricket World Twenty20 being held this year?";
choices[0] = new Array();
choices[0][0] = "Australia";
choices[0][1] = "England";
choices[0][2] = "South Africa";
answers[0] = choices[0][1];

questions[1] = "2. How many simultaneous games of chess did Kiril Geogiev play?";
choices[1] = new Array();
choices[1][0] = "160";
choices[1][1] = "260";
choices[1][2] = "360";
answers[1] = choices[1][2];

questions[2] = "3. Which was the first Mr. Men book to be published?";
choices[2] = new Array();
choices[2][0] = "Mr. Tickle";
choices[2][1] = "Mr. Happy";
choices[2][2] = "Mr. Dizzy";
answers[2] = choices[2][0];

questions[3] = "4. Health Officials in Canada say teenagers should limit their mobile phone calls to how long?";
choices[3] = new Array();
choices[3][0] = "1 minute";
choices[3][1] = "10 minutes";
choices[3][2] = "30 minutes";
answers[3] = choices[3][1];

questions[4] = "5. Where is Colombia?";
choices[4] = new Array();
choices[4][0] = "Africa";
choices[4][1] = "Asia";
choices[4][2] = "South America";
answers[4] = choices[4][2];

questions[5] = "6. How old was Duffy when she started singing?";
choices[5] = new Array();
choices[5][0] = "6";
choices[5][1] = "12";
choices[5][2] = "14";
answers[5] = choices[5][0];

questions[6] = "7. Which one of these does the Queen have?";
choices[6] = new Array();
choices[6][0] = "An email address";
choices[6][1] = "A Facebook page";
choices[6][2] = "A website";
answers[6] = choices[6][2];

questions[7] = "8. How many runways are there at London's Heathrow Airport?";
choices[7] = new Array();
choices[7][0] = "One";
choices[7][1] = "Two";
choices[7][2] = "Three";
answers[7] = choices[7][1];

questions[8] = "9. In which American city has the skeleton of a Columbian Mammoth been dug up?";
choices[8] = new Array();
choices[8][0] = "Chicago";
choices[8][1] = "New York";
choices[8][2] = "Los Angeles";
answers[8] = choices[8][2];

questions[9] = "10. Which country recently had devastating bushfires?";
choices[9] = new Array();
choices[9][0] = "Australia";
choices[9][1] = "China";
choices[9][2] = "Tibet";
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.";



