Greetings,
Is it possible to randonly load a XML file from a group of several XML files
I use javascript to load a single XML file into a HTML page.
This is the javascript I use:

var pArray = unescape(location.search.substring(1)).split("&");
pArray = ["xml=quiz_1","tracking=scorm"];

if (pArray.length < 2)
alert("Missing parameters");
else
{
var args=pArray[1].split("=")[1];
g_oAssessment.setPassingScore(passingScore);
g_onCompleteAssessment.bSendScore=true;
initialize(args);
if(DATA_getStatus()=="not attempted")
{
DATA_setStatus("incomplete");
}
var sXMLFile = pArray[0].split("=")[1] + ".xml";
var sTrackingMethod = pArray[1].split("=")[1];
openerWindow = window;
loadXML(sXMLFile);
CreateQuestions(sTrackingMethod);

}

This loads "quiz_1.xml" into the HTML page. I'd like to have several versions
of "quiz_1.html (quiz_1, quiz_2, quiz_3, etc.)

The XML file would have the same structure, just slightly different content.
I?d like the script to randomly select from the group/pool, one of the xml
files and load it.

Is this possible? If so, how? Any documentation as to how to do this?

Thank you,

TPK