[inclScorm1.2] //JMATCH-SPECIFIC SCORM-RELATED JAVASCRIPT CODE function SetScormBrowseTime(){ if (API != null){ API.LMSSetValue('cmi.core.session_time', MillisecondsToTime((new Date()).getTime() - ScormStartTime)); API.LMSCommit(''); } } [/inclScorm1.2] //JMATCH-SPECIFIC CORE JAVASCRIPT CODE var CurrItem = null; var Stage = 2; var QList = new Array(); var ShuffleQs = [boolShuffleQs]; function SetUpItems(){ var i; var Row = null; //Remove all the table rows and put them in an array for processing var Qs = document.getElementById('Questions'); //Remove the table rows to an array while (Qs.getElementsByTagName('tr').length > 0){ Row = Qs.getElementsByTagName('tr')[0]; Row.getElementsByTagName('td')[0].className = 'Hidden'; Row.getElementsByTagName('td')[1].className = 'Hidden'; QList.push(Qs.removeChild(Row)); } //Shuffle the rows if (ShuffleQs == true){ QList = Shuffle(QList); } //Write the rows back to the table body for (i=0; i