function GetSelectedButton(ButtonGroup)
{
for (var x=0; x < ButtonGroup.length; x++)
if (ButtonGroup[x].checked) return x
return 0
}中默认选第一个,正好第六题和第十题答案就是第一个,所以应该改为function GetSelectedButton(ButtonGroup)
{
for (var x=0; x < ButtonGroup.length; x++)
if (ButtonGroup[x].checked) return x
return -1
}还有下面的对应改为
if ((i>=0) && (form.q1[i].value == "1"))
{ correct++ } 
else 
{ wrong++
msg += "Question "+(number+1)+"."
+Solution[number]+"<BR>"
}