You answered ', Math.round((numRight / answers.length) * 100),'% of the questions correctly.
');
if (numRight != answers.length){
tstWindow.document.writeln('
The following were not correct:
');
for (loop = 0; loop < answers.length; loop++){
if (!document.test.elements[answers[loop] + acc].checked)
tstWindow.document.writeln('number ', loop+1, '
');
acc = acc + numAnswers[loop];}
tstWindow.document.writeln('
Look over the questions you missed. Then, try testing yourself again and see if you can improve your score.
');}
else
tstWindow.document.writeln('