var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

questions[0] = "1) What does a carburettor do?";
choices[0] = new Array();
choices[0][0] = "Put petrol in the engine";
choices[0][1] = "Clean exhaust gasses";
choices[0][2] = "Filter the air coming in to the engine";
choices[0][3] = "Feed oil to the crankshaft";
answers[0] = choices[0][0];

questions[1] = "2) What does antifreeze do?";
choices[1] = new Array();
choices[1][0] = "Keeps air conditioning running";
choices[1][1] = "Nothing, it's just a sales con";
choices[1][2] = "Avoids overheating problems";
choices[1][3] = "Stops the engine coolant freezing";
answers[1] = choices[1][3];

questions[2] = "3)  What is the maximum price for an MOT?";
choices[2] = new Array();
choices[2][0] = "£50.38";
choices[2][1] = "No maximum, the garage can charge what they want.";
choices[2][2] = "£40";
choices[2][3] = "£45.25";
answers[2] = choices[2][0];

questions[3] = "4) Do you have to pass the Theory Test before you take the Practical?";
choices[3] = new Array();
choices[3][0] = "No";
choices[3][1] = "Only if you are under 21";
choices[3][2] = "Yes, if you haven't got a passport";
choices[3][3] = "It's completely optional, you can do the tests in any order.";
choices[3][4] = "Yes";
answers[3] = choices[3][4];

questions[4] = "5) You can safely put diesel in a petrol engined car?";
choices[4] = new Array();
choices[4][0] = "True";
choices[4][1] = "False";
answers[4] = choices[4][1];

questions[5] = "6) If you have a dog in the front seat of a car it must wear a seat belt";
choices[5] = new Array();
choices[5][0] = "True";
choices[5][1] = "False";
answers[5] = choices[5][1];

questions[6] = "7) Which of the following is true?";
choices[6] = new Array();
choices[6][0] = "Girls have less accidents than boys.";
choices[6][1] = "Boys have less accidents, but their claims are higher.";
choices[6][2] = "Boys and girls have about the same number of accidents.";
answers[6] = choices[6][1];

questions[7] = "8) Using a mobile phone whilst driving is now an offence.";
choices[7] = new Array();
choices[7][0] = "True";
choices[7][1] = "False";
answers[7] = choices[7][0];



// response for getting 100%
response[0] = "Great, top marks!";
// response for getting 90% or more
response[1] = "Excellent, try again to get 100%!"
// response for getting 70% or more
response[2] = "Well done, pretty good, try again?";
// response for getting over 50%
response[3] = "Great, 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 MUST be able to do better!";
// response for getting 20% or more
response[5] = "OOPS! you didn't do too well, why not try again!?";
// response for getting 10% or more
response[6] = "UM!!!!  Try again to improve!";
// response for getting 9% or less
response[7] = "NO, NO, NOOOOOO   comment!";