function setUpPage(){ randomorder = randomize(questionArray.length); AnswerKey = new Array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"); Answerorder = new Array(questionArray.length); for(suindex = 0;suindex" + (suindex+1) + "."); document.write(""); document.write(""); document.write("" + questionArray[suindex][0] + ""); document.write("" + AnswerKey[suindex] + "" + questionArray[randomorder[suindex]][1] + "

"); Answerorder[randomorder[suindex]]=suindex; } document.write("

 

"); answerArray = new Array(document.form1.ans1,document.form1.ans2,document.form1.ans3,document.form1.ans4,document.form1.ans5,document.form1.ans6,document.form1.ans7,document.form1.ans8); imageArray = new Array(document.images.im1,document.images.im2,document.images.im3,document.images.im4,document.images.im5,document.images.im6,document.images.im7,document.images.im8); } //answerArray = new Array(document.form1.ans1,document.form1.ans2,document.form1.ans3,document.form1.ans4,document.form1.ans5,document.form1.ans6,document.form1.ans7,document.form1.ans8); function checkScore() { answerArray = new Array(document.form1.ans1,document.form1.ans2,document.form1.ans3,document.form1.ans4,document.form1.ans5,document.form1.ans6,document.form1.ans7,document.form1.ans8); var imageArray = new Array(document.images.im1,document.images.im2,document.images.im3,document.images.im4,document.images.im5,document.images.im6,document.images.im7,document.images.im8); if(cheat){ alert("Please press Start again to have another go.") }else{ var score = 0; for(csindex = 0;csindex