// copyright - Mike Capstick this is the generated js file // it initialises variables and adds the quiz questions and answers // total number of questions in this test totalnumber=4; title='Doug Adams'; // Initialise question and answer arrays and question number numletters=0 // initialise number of letters in answer questionnumber=0 //this global variable hold the question number stemarray=new Array(totalnumber); //initialise questions array answerarray=new Array(totalnumber); // initialise space for 3 answers bank=100; //starting bank amount // load arrays with a set of questions and answers stemarray[0]='What is the Meaning of Life' answerarray[0]='FORTY TWO' stemarray[1]='Doug Adams wrote' answerarray[1]='HITCHIKERS GUIDE' stemarray[2]='A translation device' answerarray[2]='BABEL FISH' stemarray[3]='Restaurant at the end of the Galaxy' answerarray[3]='MILLIWAYS'