var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

questions[0] = "1) What is belaying for?";
choices[0] = new Array();
choices[0][0] = "a)&nbsp;&nbsp;To protect the belayer";
choices[0][1] = "b)&nbsp;&nbsp;To pull a climber up a climb";
choices[0][2] = "c)&nbsp;&nbsp;To protect a climber";
answers[0] = choices[0][2];

questions[1] = "2) What do you use to belay?";
choices[1] = new Array();
choices[1][0] = "a)&nbsp;&nbsp;A carabiner";
choices[1][1] = "b)&nbsp;&nbsp;A ground anchor";
choices[1][2] = "c)&nbsp;&nbsp;A belay device";
choices[1][3] = "d)&nbsp;&nbsp;All the above";
answers[1] = choices[1][3];

questions[2] = "3) You should hold the belay rope...";
choices[2] = new Array();
choices[2][0] = "a)&nbsp;&nbsp;Lightly";
choices[2][1] = "b)&nbsp;&nbsp;Firmly";
choices[2][2] = "c)&nbsp;&nbsp;Not at all";
answers[2] = choices[2][1];

questions[3] = "4) When belaying you must...";
choices[3] = new Array();
choices[3][0] = "a)&nbsp;&nbsp;Look at your belay device often";
choices[3][1] = "b)&nbsp;&nbsp;Watch other climbers often";
choices[3][2] = "c)&nbsp;&nbsp;Watch the climber at all times";
answers[3] = choices[3][2];

questions[4] = "5) You can let go of the belay rope...";
choices[4] = new Array();
choices[4][0] = "a)&nbsp;&nbsp;Sometimes";
choices[4][1] = "b)&nbsp;&nbsp;Never";
choices[4][2] = "c)&nbsp;&nbsp;Only when the climber is abseiling";
answers[4] = choices[4][1];

questions[5] = "6) Wearing a helmet is a good idea because...";
choices[5] = new Array();
choices[5][0] = "a)&nbsp;&nbsp;It keeps your head warm";
choices[5][1] = "b)&nbsp;&nbsp;It looks cool";
choices[5][2] = "c)&nbsp;&nbsp;It can protect you from injury";
answers[5] = choices[5][2];

questions[6] = "7) When climbing it's a good idea to...";
choices[6] = new Array();
choices[6][0] = "a)&nbsp;&nbsp;Pull yourself up by your arms mainly";
choices[6][1] = "b)&nbsp;&nbsp;Use your feet and legs to take your weight";
choices[6][2] = "c)&nbsp;&nbsp;Lean well back from the wall";
answers[6] = choices[6][1];

questions[7] = "8) On a bouldering wall you should...";
choices[7] = new Array();
choices[7][0] = "a)&nbsp;&nbsp;Climb above another climber";
choices[7][1] = "b)&nbsp;&nbsp;Climb beneath another climber";
choices[7][2] = "c)&nbsp;&nbsp;Wait until the climb is clear";
answers[7] = choices[7][2];

questions[8] = "9) Your harness straps should be...";
choices[8] = new Array();
choices[8][0] = "a)&nbsp;&nbsp;Doubled back on the buckle";
choices[8][1] = "b)&nbsp;&nbsp;Loose";
choices[8][2] = "c)&nbsp;&nbsp;Tied in a secure knot";
answers[8] = choices[8][0];

questions[9] = "10) You should attach yourself to the rope with..";
choices[9] = new Array();
choices[9][0] = "a)&nbsp;&nbsp;An overhand knot";
choices[9][1] = "b)&nbsp;&nbsp;Any knot you like";
choices[9][2] = "c)&nbsp;&nbsp;A figure of eight knot";
answers[9] = choices[9][2];


// 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 learn some more about climbing (or try again)!";
