/* 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 years will the Queen have been on the throne in 2012?";
choices[0] = new Array();
choices[0][0] = "50";
choices[0][1] = "60";
choices[0][2] = "70";
answers[0] = choices[0][1];

questions[1] = "2. Where is Nicaragua?";
choices[1] = new Array();
choices[1][0] = "Africa";
choices[1][1] = "Asia";
choices[1][2] = "Central America";
answers[1] = choices[1][2];

questions[2] = "3. How much money is it thought that 7 to 15 year olds receive in the UK each year?";
choices[2] = new Array();
choices[2][0] = "£1 billion";
choices[2][1] = "£5 billion";
choices[2][2] = "£10 billion";
answers[2] = choices[2][1];

questions[3] = "4. How many words can Betsy the dog understand?";
choices[3] = new Array();
choices[3][0] = "140";
choices[3][1] = "240";
choices[3][2] = "340";
answers[3] = choices[3][2];

questions[4] = "5. Which winter sport does Isabella Larkin compete in?";
choices[4] = new Array();
choices[4][0] = "Bobsleigh";
choices[4][1] = "Ice figure skating";
choices[4][2] = "Skiing";
answers[4] = choices[4][1];

questions[5] = "6. In which country is bluefin tuna mostly eaten?";
choices[5] = new Array();
choices[5][0] = "Japan";
choices[5][1] = "Norway";
choices[5][2] = "Sweden";
answers[5] = choices[5][0];

questions[6] = "7. What did Michael Jackson like with his fish and chips?";
choices[6] = new Array();
choices[6][0] = "Brown sauce";
choices[6][1] = "Mushy peas";
choices[6][2] = "Tomato Ketchup";
answers[6] = choices[6][1];

questions[7] = "8. How much exercise does the government recommend for 11 to 16 year olds?";
choices[7] = new Array();
choices[7][0] = "30 minutes";
choices[7][1] = "One hour";
choices[7][2] = "Two hours";
answers[7] = choices[7][1];

questions[8] = "9. In which country have they recently had the highest night-time temperatures for 100 years?";
choices[8] = new Array();
choices[8][0] = "Australia";
choices[8][1] = "China";
choices[8][2] = "South Korea";
answers[8] = choices[8][0];

questions[9] = "10. Which crop is now being grown in Nicaragua because the climate has changed?";
choices[9] = new Array();
choices[9][0] = "Cocoa";
choices[9][1] = "Coffee";
choices[9][2] = "Corn";
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.";



