Hi

How to make a javascript quiz to choose 10 random questions from 100 questions?

I have this javascript quiz with 10 questions but i want to add 90 questions so will be 100 questions in total.

When i start the quiz i want to display me random 10 questions from the 100.

Thank You!

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<script LANGUAGE="JavaScript">
function scoreme()
{
<!--
 
var total=10                
var correct=total;         
 
 sa01 = document.FXY1.NA01.value.toUpperCase(); sb01 = document.FXY1.NB01.value.toUpperCase();
 
 if(sa01!=sb01) { document.FXY1.NB01.value="INCORRECT!"; correct=correct-1;}
 
 sa02 = document.FXY1.NA02.value.toUpperCase(); sb02 = document.FXY1.NB02.value.toUpperCase();
 if(sa02!=sb02) { document.FXY1.NB02.value="INCORRECT!"; correct=correct-1;}
 
 sa03 = document.FXY1.NA03.value.toUpperCase(); sb03 = document.FXY1.NB03.value.toUpperCase();
 if(sa03!=sb03) { document.FXY1.NB03.value="INCORRECT!"; correct=correct-1;}
 
 sa04 = document.FXY1.NA04.value.toUpperCase(); sb04 = document.FXY1.NB04.value.toUpperCase();
 if(sa04!=sb04) { document.FXY1.NB04.value="INCORRECT!"; correct=correct-1;}
 
 sa05 = document.FXY1.NA05.value.toUpperCase(); sb05 = document.FXY1.NB05.value.toUpperCase();
 if(sa05!=sb05) { document.FXY1.NB05.value="INCORRECT!"; correct=correct-1;}
 
 sa06 = document.FXY1.NA06.value.toUpperCase(); sb06 = document.FXY1.NB06.value.toUpperCase();
 if(sa06!=sb06) { document.FXY1.NB06.value="INCORRECT!"; correct=correct-1;}
 
 sa07 = document.FXY1.NA07.value.toUpperCase(); sb07 = document.FXY1.NB07.value.toUpperCase();
 if(sa07!=sb07) { document.FXY1.NB07.value="INCORRECT!"; correct=correct-1;}
 
 sa08 = document.FXY1.NA08.value.toUpperCase(); sb08 = document.FXY1.NB08.value.toUpperCase();
 if(sa08!=sb08) { document.FXY1.NB08.value="INCORRECT!"; correct=correct-1;}
 
 sa09 = document.FXY1.NA09.value.toUpperCase(); sb09 = document.FXY1.NB09.value.toUpperCase();
 if(sa09!=sb09) { document.FXY1.NB09.value="INCORRECT!"; correct=correct-1;}
 
 sa10 = document.FXY1.NA10.value.toUpperCase(); sb10 = document.FXY1.NB10.value.toUpperCase();
 if(sa10!=sb10) { document.FXY1.NB10.value="INCORRECT!"; correct=correct-1;}
 
 document.FXY1.ovrXX.value="You got " + correct + " out of " + total + " correct.";
 
-->
}
</script>

</head>

<body>

<FONT face=arial>
 

<BR><BR><hr>
<FORM name=FXY1>
 
Question 1
<INPUT value="answer1" name=NA01 type=hidden><INPUT class=ipxa value="" name=NB01 type=text size=15>
<BR><BR>

Question 2

<INPUT value="answer2" name=NA02 type=hidden><INPUT class=ipxa value="" name=NB02 type=text size=15>
 <BR><BR>

Question 3
 
<INPUT value="answer3" name=NA03 type=hidden><INPUT class=ipxa value="" name=NB03 type=text size=15>
 <BR><BR>

Question 4
 
<INPUT value="answer4" name=NA04 type=hidden><INPUT class=ipxa value="" name=NB04 type=text size=15>
<BR><BR>

Question 5

<INPUT value="answer5" name=NA05 type=hidden><INPUT class=ipxa value="" name=NB05 type=text size=15>
 <BR><BR>

Question 6
 
<INPUT value="answer6" name=NA06 type=hidden><INPUT class=ipxa value="" name=NB06 type=text size=15>
 <BR><BR>

Question 7
 
<INPUT value="answer7" name=NA07 type=hidden><INPUT class=ipxa value="" name=NB07 type=text size=15>,
 <BR><BR>

Question 8
 
<INPUT value="answer8" name=NA08 type=hidden><INPUT class=ipxa value="" name=NB08 type=text size=15>
 <BR><BR>

Question 9
 
<INPUT value="answer9" name=NA09 type=hidden><INPUT class=ipxa value="" name=NB09 type=text size=15>
<BR><BR>

Question 10

<INPUT value="answer10" name=NA10 type=hidden><INPUT class=ipxa value="" name=NB10 type=text size=15>.
  
<BR><BR>
 
<INPUT value="CHECK ALL" name=check type=button onclick=scoreme()> <INPUT class=ipxx value name=ovrXX type=text size=28>
</FORM>
 
<br></font>

</body>
</html>