// JavaScript Document
<!-- Paste this code into an external JavaScript file named: quiz_config.js  -->

/* 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) Following a Type 2 survey, which action is recommended ?...";
choices[0] = new Array();
choices[0][0] = "Compilation of an asbestos register?";
choices[0][1] = "Monitor the deterioration of the asbestos materials?";
choices[0][2] = "Repair/label and re-inspect in 6 months?";
choices[0][3] = "All of the above?";
answers[0] = choices[0][3];

questions[1] = "2) Inorder to keep the management plan uptodate and dynamic. What must be done ? ...";
choices[1] = new Array();
choices[1][0] = "The Dutyholder given adequate training? i.e awareness course";
choices[1][1] = "Employees who are or who are liable to be exposed to asbestos, or who supervise .... are given adequate training? i.e awareness course";
choices[1][2] = "Any changes to the building be reflected within the management plan";
choices[1][3] = "All of the above";
answers[1] = choices[1][3];

questions[2] = "3) A contractor comes to carry out works to your site. What do you do before he starts work ? ...";
choices[2] = new Array();
choices[2][0] = "check his I.D. & sign-in";
choices[2][1] = "check he has uptodate asbestos awareness training";
choices[2][2] = "give him your asbestos register to read, sign and declare he understands";
choices[2][3] = "all of the above";
answers[2] = choices[2][3];

questions[3] = "4) After a survey has been carried out I have met my dutyholder obligations ? ...";
choices[3] = new Array();
choices[3][0] = "True";
choices[3][1] = "False";
answers[3] = choices[3][1];

questions[4] = "5) A contractor has broken through asbestos and contaminated the canteen. He says he'll sweep it up and take it with him. Do you let him ? ...";
choices[4] = new Array();
choices[4][0] = "Yes";
choices[4][1] = "No";
answers[4] = choices[4][1];


// response for getting 100%
response[0] = "Excellent, 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, 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)!";




