/* 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 */

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) In 'I Love Lisa' as Ralph walks Lisa Simpson home on Valentine's Day, he asks her is she likes what?";
choices[0] = new Array();
choices[0][0] = "Stuff";
choices[0][1] = "TV Wrestling";
choices[0][2] = "Wax Lips";
choices[0][3] = "His new training pants";
answers[0] = choices[0][0];

questions[1] = "2) In 'Fear of Flying', what is Homer's favourite record in Moe's jukebox?";
choices[1] = new Array();
choices[1][0] = "My Ding-A-Ling";
choices[1][1] = "Baywatch Theme Tune";
choices[1][2] = "It's Raining Men";
choices[1][3] = "Hot! Hot! Hot!";
answers[1] = choices[1][2];

questions[2] = "3) In 'Homer the Great', what is the slogan of Stern Lecture Plumbing?";
choices[2] = new Array();
choices[2][0] = "'Never, ever try to fix it yourself'";
choices[2][1] = "'I told you not to flush that'";
choices[2][2] = "'Why did you wait so long?'";
choices[2][3] = "'Home many times have I recommended a new boiler?'";
answers[2] = choices[2][1];

questions[3] = "4) What is the name of Homer's four piece vocal group?";
choices[3] = new Array();
choices[3][0] = "B-Quartet";
choices[3][1] = "Homer and the Other Three";
choices[3][2] = "B-Flats";
choices[3][3] = "B-Sharps";
answers[3] = choices[3][3];

questions[4] = "5) Which villain is always trying to kill Bart?";
choices[4] = new Array();
choices[4][0] = "Sideshow Bob";
choices[4][1] = "Sideshow Mel";
choices[4][2] = "Crusty the Clown";
choices[4][3] = "Mr Burns";
answers[4] = choices[4][0];

questions[5] = "6) In 'A Fish Called Selma', as a DMV employee, Selma thinks she is getting reprtitive stress disorder from doing what?";
choices[5] = new Array();
choices[5][0] = "Voiding Licenses";
choices[5][1] = "Laminating IDs";
choices[5][2] = "Scratching her butt all day";
choices[5][3] = "Taking too many smoking breaks";
answers[5] = choices[5][2];

// response for getting 100%
response[0] = "Excellent, top marks - you are a Simpsons Genius!";
// response for getting 90% or more
response[1] = "Excellent, try again to get 100%!"
// response for getting 70% or more
response[2] = "Well done, that is a good score, can you do better?";
// response for getting over 50%
response[3] = "Nice one, you got more than half of the questions right, can you do better?";
// response for getting 40% or more
response[4] = "You got some questions right, you can do better!";
// response for getting 20% or more
response[5] = "You didn't do too well, why not try again!?";
// response for getting 10% or more
response[6] = "That was pretty poor!  Try again to improve!";
// response for getting 9% or less
response[7] = "Oh dear, I think you need to go back to school (or try again)!";

