/* 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. Which of these animals is no longer 'Critically Endangered'?";
choices[0] = new Array();
choices[0][0] = "Western lowland gorilla";
choices[0][1] = "Mauritius echo parakeet";
choices[0][2] = "Cardinal fish";
answers[0] = choices[0][1];

questions[1] = "2. In which continent is Uganda?";
choices[1] = new Array();
choices[1][0] = "Africa";
choices[1][1] = "Asia";
choices[1][2] = "South America";
answers[1] = choices[1][0];

questions[2] = "3. Where will the Commonwealth Games be held in 2014?";
choices[2] = new Array();
choices[2][0] = "Australia";
choices[2][1] = "Canada";
choices[2][2] = "Scotland";
answers[2] = choices[2][2];

questions[3] = "4. What was the name of the first man-made satellite to orbit the Earth?";
choices[3] = new Array();
choices[3][0] = "Sputnik 1";
choices[3][1] = "Apollo 1";
choices[3][2] = "Telstar";
answers[3] = choices[3][0];

questions[4] = "5. What is the maximum number of passengers the new Airbus A380 can carry?";
choices[4] = new Array();
choices[4][0] = "512";
choices[4][1] = "624";
choices[4][2] = "853";
answers[4] = choices[4][2];

questions[5] = "6. What type of animal is causing a nuisance in Delhi at the moment?";
choices[5] = new Array();
choices[5][0] = "dog";
choices[5][1] = "monkey";
choices[5][2] = "rat";
answers[5] = choices[5][1];

questions[6] = "7. In which historical period does Caroline Lawrence set many of her novels?";
choices[6] = new Array();
choices[6][0] = "Ancient Egypt";
choices[6][1] = "Classical Greece";
choices[6][2] = "The Roman Empire";
answers[6] = choices[6][2];

questions[7] = "8. Which English county does the runner Emily Pidgeon come from?";
choices[7] = new Array();
choices[7][0] = "Gloucestershire";
choices[7][1] = "Somerset";
choices[7][2] = "Yorkshire";
answers[7] = choices[7][0];

questions[8] = "9. In what sport is Paul Drinkhall ranked England's number one?";
choices[8] = new Array();
choices[8][0] = "badminton";
choices[8][1] = "table tennis";
choices[8][2] = "squash";
answers[8] = choices[8][1];

questions[9] = "10. Where do manatees live?";
choices[9] = new Array();
choices[9][0] = "in trees";
choices[9][1] = "in the desert";
choices[9][2] = "in the water";
answers[9] = choices[9][2];





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


