");
document.writeln("Please answer all questions.");
document.writeln("
Back ");
}
else
{
if (thquiz.q1[1].checked)
{
right++;
}
if (thquiz.q2[2].checked)
{
right++;
}
if (thquiz.q3[1].checked)
{
right++;
}
if (thquiz.q4[0].checked)
{
right++;
}
if (thquiz.q5[1].checked)
{
right++;
}
if (thquiz.q6[0].checked)
{
right++;
}
if (thquiz.q7[1].checked)
{
right++;
}
if (thquiz.q8[2].checked)
{
right++;
}
if (thquiz.q9[1].checked)
{
right++;
}
if (thquiz.q10[0].checked)
{
right++;
}
document.writeln("
");
document.writeln(" Number of correct answers = "+ right + " ");
document.writeln("Number of incorrect answers = "+ (10-right) +" ");
if (right > 9)
{
document.writeln("Excellent, you got all correct!");
}
else if (right > 7)
{
document.writeln("Well done.");
}
else if (right > 4)
{
document.writeln("Average.");
}
else if (right > 0)
{
document.writeln("Em... you may read more information before answering.");
}
else
{
document.writeln("Sorry, perhaps you are really not interested in To Heart.");
}
document.writeln("