/* 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 people were living on the Carteret Islands?";
choices[0] = new Array();
choices[0][0] = "1,500";
choices[0][1] = "15,000";
choices[0][2] = "150,000";
answers[0] = choices[0][0];

questions[1] = "2. Where was the worlds largest egg laid?";
choices[1] = new Array();
choices[1][0] = "Australia";
choices[1][1] = "Cyprus";
choices[1][2] = "Madagascar";
answers[1] = choices[1][2];

questions[2] = "3. How much of the UK's electricity is generated at gas or coal power stations?";
choices[2] = new Array();
choices[2][0] = "a quarter";
choices[2][1] = "a half";
choices[2][2] = "three quarters";
answers[2] = choices[2][2];

questions[3] = "4. How much money are the government going to spend on the Playgrounds of the Future project?";
choices[3] = new Array();
choices[3][0] = "£2 million";
choices[3][1] = "£23 million";
choices[3][2] = "£235 million";
answers[3] = choices[3][2];

questions[4] = "5. What does a primatologist study?";
choices[4] = new Array();
choices[4][0] = "Monkeys";
choices[4][1] = "Prime numbers";
choices[4][2] = "The weather";
answers[4] = choices[4][0];

questions[5] = "6. How many different types of apple are there?";
choices[5] = new Array();
choices[5][0] = "700";
choices[5][1] = "7,000";
choices[5][2] = "17,000";
answers[5] = choices[5][1];

questions[6] = "7. What disease kills a child in Africa every 30 seconds?";
choices[6] = new Array();
choices[6][0] = "Cholera";
choices[6][1] = "Malaria";
choices[6][2] = "Typhoid";
answers[6] = choices[6][1];

questions[7] = "8. Which season is Formula One celebrating this year?";
choices[7] = new Array();
choices[7][0] = "20th";
choices[7][1] = "60th";
choices[7][2] = "80th";
answers[7] = choices[7][1];

questions[8] = "9. Which country has just created its first National Park?";
choices[8] = new Array();
choices[8][0] = "Afghanistan";
choices[8][1] = "Iraq";
choices[8][2] = "Jordan";
answers[8] = choices[8][0];

questions[9] = "10. How old is the Universal Declaration of Human Rights?";
choices[9] = new Array();
choices[9][0] = "40 years";
choices[9][1] = "50 years";
choices[9][2] = "60 years";
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.";



