/* 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 many poppies were made last year?";
choices[0] = new Array();
choices[0][0] = "more than 300,000";
choices[0][1] = "more than 3 million";
choices[0][2] = "more than 36 million";
answers[0] = choices[0][2];

questions[1] = "2. Which of these African countries is the largest?";
choices[1] = new Array();
choices[1][0] = "Ethiopia";
choices[1][1] = "Rwanda";
choices[1][2] = "Malawi";
answers[1] = choices[1][0];

questions[2] = "3. Sugar gliders are becoming popular as pets. Where would you find them in the wild?";
choices[2] = new Array();
choices[2][0] = "Australia";
choices[2][1] = "Canada";
choices[2][2] = "South Africa";
answers[2] = choices[2][0];

questions[3] = "4. How many Famous Five novels did Enid Blyton write?";
choices[3] = new Array();
choices[3][0] = "5";
choices[3][1] = "11";
choices[3][2] = "21";
answers[3] = choices[3][2];

questions[4] = "5. Which of these is not an Olympic Sport at the moment?";
choices[4] = new Array();
choices[4][0] = "archery";
choices[4][1] = "netball";
choices[4][2] = "taekwondo";
answers[4] = choices[4][1];

questions[5] = "6. Where will next year's European Women's football Championship be held?";
choices[5] = new Array();
choices[5][0] = "Denmark";
choices[5][1] = "Finland";
choices[5][2] = "Norway";
answers[5] = choices[5][1];

questions[6] = "7. Which county cricket team does batsman Alastair Cook play for?";
choices[6] = new Array();
choices[6][0] = "Essex";
choices[6][1] = "Somerset";
choices[6][2] = "Sussex";
answers[6] = choices[6][0];

questions[7] = "8. When was the sale of elephant tusks and ivory made illegal all over the world?";
choices[7] = new Array();
choices[7][0] = "1976";
choices[7][1] = "1989";
choices[7][2] = "1999";
answers[7] = choices[7][1];

questions[8] = "9. Who was the first man in space?";
choices[8] = new Array();
choices[8][0] = "Neil Armstrong";
choices[8][1] = "Uri Gagarin";
choices[8][2] = "John Glenn";
answers[8] = choices[8][1];

questions[9] = "10. Where did Barack Obama's parents meet?";
choices[9] = new Array();
choices[9][0] = "Hawaii";
choices[9][1] = "Kenya";
choices[9][2] = "Chicago";
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.";



