setUpPage(); function setUpPage(){ for(suindex = 0;suindex" + (suindex+1) + " "); document.write(questionArray[suindex][0]); document.write(" "); document.write(questionArray[suindex][2]); document.write(" "); } { document.write("
"); } } var 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); function checkScore() { var 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 try again.") }else{ var score = 0; for(csindex = 0;csindex