第一题选哪个都是对的 第2-4题选哪个都是错的,了解js的朋友帮忙看一下,问题出在哪 先谢谢了
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>测试题</title>
			<script type="text/javascript">
			var question=new Array();
			var answer=new Array();
			question[0]=new Array();//声明二维数组的方法
			question[0][0]="数字推理:3/7 ,5/8 ,5/9 ,8/11 ,7/11 ,______ ";
			question[0][1]="11/14";
			question[0][2]="10/13";
			question[0][3]="15/17 ";
			question[0][4]="11/12";
			answer[0]="A";			
			question[1]=new Array();
			question[1][0]="一个马克木留兵可以敌三个法兰西兵,一个马克木留营和一个法兰西营打个平手;一个法兰西军团可以敌五个马克木留军团。 以下哪项显然不能从上述断定中推出? ";
			question[1][1]="整体的力量不等于各部分力量的简单相加 ";
			question[1][2]="军事竞争不只是单个士兵战斗力和武器威力的竞争";
			question[1][3]="军事谋略在战争中起着举足轻重的作用";
			question[1][4]="整体的力量必然大于各部分力量简单相加";
			answer[1]="B";			
			question[2]=new Array();
			question[2][0]="如果李生喜欢表演,那么他报考戏剧学院,如果他不喜欢表演,那么他可以成为戏剧理论家。如果他不报考戏剧学院,那么不能成为戏剧理论家。 由此可推出李生:";
			question[2][1]="不喜欢表演";
			question[2][2]="成为戏剧理论家";
			question[2][3]="不报考戏剧学院 ";
			question[2][4]="报考戏剧学院";
			answer[2]="C";			
			question[3]=new Array();
			question[3][0]="一天有个年轻人来到王老板店里买了一件礼物,这件礼物成本18元,标价21元.结果这个年轻人掏出100元来买这件礼物,王老板当时没有零钱,用那100元向街坊换了100元的零钱,找给年轻人79元,但是街坊后来发现那100元是假钞,王老板无奈还了街坊100元,问题是:王老板在这次交易中到底损失了多少钱?";
			question[3][1]="118元";
			question[3][2]="197元";
			question[3][3]="97元";
			question[3][4]="100元";
			answer[3]="D";			
			var questionNumber;						
			//动态获得题目
			function getQuestion()
			{
				questionNumber=Math.floor(Math.random()*(question.length));
				var questionHTML="<p>"+question[questionNumber][0]+"</p>";
				var questionLength=question[questionNumber].length;
				for(var questionChoice=1;questionChoice<questionLength;questionChoice++)//questionLength的长度为5,choice从1开始
				{
					questionHTML=questionHTML+"<input type='radio' name='radioQChoice' "
					if(questionChoice==1)
					{
						questionHTML=questionHTML+" checked";
					}
					questionHTML=questionHTML+"/>" ;
					questionHTML=questionHTML+question[questionNumber][questionChoice];
					questionHTML=questionHTML+"<br/>" ;
				}
				document.questionForm.questionNum.value=questionNumber+1;
				return questionHTML;
			}
			//检查答案
			function checkQuestion()
			{
				var answer=0;
				while(document.questionForm.radioQChoice[answer].checked!=true)
				{
					answer++;
				}
				answer=String.fromCharCode(65+answer);
				if(answer==answer[questionNumber])
				{
					alert('You got it right!');
				}
				else
				{
					alert('Wrong!!!');
				}
				window.location.reload();
			}
		</script>
	</head>
	<body>
		<form name="questionForm">
			Question
			<input type="text" name="questionNum" size="1"/>
			<script type="text/javascript">
				document.write(getQuestion());
			</script>
			<br/>
			<input type="button" value="Check" name="questionCheck" onclick="checkQuestion()"/>
		</form>
	</body>
</html>
--