/* 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. What is the maximum prison sentence for carrying a knife?";
choices[0] = new Array();
choices[0][0] = "One year";
choices[0][1] = "Two years";
choices[0][2] = "Four years";
answers[0] = choices[0][2];

questions[1] = "2. In what year did the National Health Service start?";
choices[1] = new Array();
choices[1][0] = "1936";
choices[1][1] = "1948";
choices[1][2] = "1972";
answers[1] = choices[1][1];

questions[2] = "3. The most dangerous strip of sea in world is off the coast of which country?";
choices[2] = new Array();
choices[2][0] = "Egypt";
choices[2][1] = "Nigeria";
choices[2][2] = "Somalia";
answers[2] = choices[2][2];

questions[3] = "4. A trial had to be halted in Australia because the jury were doing what?";
choices[3] = new Array();
choices[3][0] = "Doing puzzles";
choices[3][1] = "Reading books";
choices[3][2] = "Watching TV";
answers[3] = choices[3][0];

questions[4] = "5. What is the legal age for smoking in Japan?";
choices[4] = new Array();
choices[4][0] = "16";
choices[4][1] = "18";
choices[4][2] = "20";
answers[4] = choices[4][2];

questions[5] = "6. The worlds fastest computer uses some of the same chip as which games console?";
choices[5] = new Array();
choices[5][0] = "Playstation 3";
choices[5][1] = "Nintendo WII";
choices[5][2] = "XBox 360";
answers[5] = choices[5][0];

questions[6] = "7. Which country was devastated by Cyclone Nargis in May?";
choices[6] = new Array();
choices[6][0] = "China";
choices[6][1] = "Burma";
choices[6][2] = "Vietnam";
answers[6] = choices[6][1];

questions[7] = "8. What is the name of the family who adopted Paddington Bear?";
choices[7] = new Array();
choices[7][0] = "Blair";
choices[7][1] = "Bond";
choices[7][2] = "Brown";
answers[7] = choices[7][2];

questions[8] = "9. When do the Olympic games start in Beijing?";
choices[8] = new Array();
choices[8][0] = "8 August";
choices[8][1] = "18 August";
choices[8][2] = "24 August";
answers[8] = choices[8][0];

questions[9] = "10. Sarah Stevenson is representing Great Britain at the Olympics in which sport?";
choices[9] = new Array();
choices[9][0] = "Gymnastics";
choices[9][1] = "Sailing";
choices[9][2] = "Taekwondo";
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.";



