var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "AllPlay 2 User\'s Guide", "allplayusersguide.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.1", "Copyright", "copyright.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.2", "Software License Agreement", "licenseagreement.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.3", "What is AllPlay?", "whatisallplay_2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.4", "About LearningWare", "aboutlearningware.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.5", "Technical Support", "technicalsupport.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.6", "About This Manual", "aboutthismanual.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2", "Installing &amp; Registering AllPlay", "installingregisteringallplay.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.1", "System Requirements", "systemrequirements.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.2", "Installing AllPlay", "installingallplay.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.1", "Windows Users", "windowsusers.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.2.2", "Macintosh Users", "macintoshusers.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.3", "Registering AllPlay", "registeringallplay.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3", "An Overview of AllPlay", "overviewofallplay.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.1", "The AllPlay 2 Game Cycle", "allplay2gamecycle.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.1.1", "Create a Game", "createagame.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.1.2", "Play the Game", "playthegame.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.1.3", "Review Game Results", "reviewgameresults.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.2", "Definition of AllPlay Terms", "definitionofallplayterms.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.3", "Entering Text", "enteringtext.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.4", "Editing Text", "editingtext.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5", "AllPlay 2 Starting Screen", "allplay2startingscreen.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.5.1", "Create New Game", "creatinganewgame.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5.2", "Play Game", "playgame.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5.3", "Play Game in Progress", "playgameinprogress.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5.4", "Edit Game", "editgame.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5.5", "Main Menu", "mainmenu.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.5.5.1", "File Menu", "filemenu.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5.5.2", "Edit Menu", "editmenu.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5.5.3", "Play Menu", "playmenu.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5.5.4", "Results Menu", "resultsmenu.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5.5.5", "Help Menu", "helpmenu.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5.6", "Saving and Naming Your Game", "savingandnamingyourgame.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4", "Creating a Game: Setup Screens", "creatingagamesetupscreens.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.1", "Game Setup", "gamesetup.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.1.1", "Gameshow Logo", "gameshowlogomusic.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.1.2", "Gameshow Music", "gameshowmusic.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.1.3", "Administration Options", "administrationoptions.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.1.3.1", "Game Leader", "gameleader.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.1.3.2", "Onscreen Buttons", "onscreenbuttons.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.1.3.3", "Recording Results", "recordingresults.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2", "Round Setup", "roundsetup.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.2.1", "Display and Feedback Options", "displayandfeedbackoptions.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2.2", "Timers", "timers.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2.3", "Round Options", "roundoptions.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.2.3.1", "Selecting Questions", "selectingquestions.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2.3.2", "Question Order", "questionorder.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2.3.3", "Round Timer", "roundtimer.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2.4", "Final Round Options", "finalroundoptions.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2.5", "Survey Round Options", "surveyroundoptions.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3", "Team &amp; Transmitter Setup", "teamtransmittersetup.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.3.1", "Number of Teams", "numberofteams.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.2", "Team Names", "teamnames.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.3", "Teams &amp; Players Wizard", "teamsplayerswizard.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.3.3.1", "Identify players by name", "identifyplayersbyname.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.3.2", "Keep it anonymous", "keepitanonymous.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.4", "Selecting a Transmitter System", "selectingatransmittersystem.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.3.4.1", "iClicker Transmitter Setup", "iclickertransmittersetup.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.4.2", "LearningWare Gameshow Pro 3 Setup", "learningwaregameshowpro3se.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.4.3", "Current Works Sidekeys Setup", "currentworkssidekeyssetup.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.4.4", "Fleetwood Reply keypads Setup", "fleetwoodreplykeypadssetup.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.5", "Edit Class Lists", "editclasslists.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.3.5.1", "Edit Player Names", "editplayernames.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.5.2", "Map Players to Transmitters", "mapplayerstotransmitters.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3.5.3", "Assign Players to Teams", "assignplayerstoteams.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5", "Creating a Game: Question &amp; Answers", "creatingagamequestionan.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5.1", "Question Overview Screen", "questionoverviewscreen.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5.1.1", "Navigating Your Questions", "navigatingyourquestions.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.1.2", "Question Buttons", "questionbuttons.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.1.3", "Question Points", "questionpoints.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2", "Question Input Screen", "questioninputscreen.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5.2.1", "Navigation Options", "questionpointsljh.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.2", "Question Point Value", "questionpointvalue.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.3", "Survey Questions", "surveyquestions.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.4", "Revert Question Option", "revertquestion.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.5", "Q&amp;A Options", "qa.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.6", "Layout &amp; Text Size Options", "layouttextsizeoptions.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5.2.6.1", "Layout Styles", "layoutstyles.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.6.2", "Question Size", "questionsize.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.6.3", "Answer Size", "answersize.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.6.4", "Maximizing Question &amp; Answer Text", "maximizingquestionanswert.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.7", "Checking Spelling", "checkingspelling.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.8", "Answer Count", "answercount.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.9", "Importing Media", "importingmedia.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5.2.9.1", "Importing Pictures", "importingpictures.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.9.2", "Importing Sounds", "importingsounds.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.9.3", "Importing Movies", "importingmovies.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2.10", "Question Info", "questioninfo.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6", "Playing a Game", "playingagame.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("6.1", "Starting a Game", "startingagame.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.2", "Playing the Opening Round", "playingtheopeninground.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.3", "Playing a Question", "playingaquestion.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("6.3.1", "Displaying a Question", "displayingaquestion.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.3.2", "Revealing Answers &amp; Infos", "displayinganswersinfos.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.3.3", "Displaying Team Results", "displayingteamresults.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.3.4", "Revealing Survey Results", "revealingsurveyresults.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.3.5", "Determining a Winner", "determiningawinner.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.3.6", "Scoring Points", "scoringpoints.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.4", "Playing the Final Round", "playingthefinalround.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.5", "Playing the Survey Round", "playingthesurveyround.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.6", "Instructor Commands", "instructorcommands.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("6.6.1", "Using iClicker Leader Transmitter", "usingiclickerleadertransmit.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.6.2", "Using Sidekeys Host Keypad", "usingsidekeyshostkeypad.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("6.6.2.1", "Lock Out Function", "lockoutfunction.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.6.2.2", "SWAP Function", "swapfunction.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.6.3", "Using Fleetwood Leader Keypad", "usingfleetwoodreplykeypads.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.7", "Editing Scores", "editingscores.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.8", "Editing Team Names", "editingteamnames.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.9", "Playing Self-Administered Games", "playingself_administeredgame.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7", "Reviewing Game Results", "reviewinggameresults.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("7.1", "Team Reports", "teamreports.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.2", "Individual Reports", "individualreports.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8", "Using AllPlay 2 Runtime Licensing", "usingallplay2runtimelicens.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("8.1", "Creating Games for Runtime Distribution", "creatinggamesforruntimedis.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.2", "Preparing Games for Runtime Distribution", "preparinggamesforruntimedi.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.3", "Installing and Configuring Games", "installingandconfiguringgam.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.4", "Distributing Runtime Games", "distributingruntimegames.htm", "", "cicon9.gif", "cicon9.gif");
isContent = true,
isIndex = false,
showNumbers = false,
tocBehaviour = new Array(1,1),
tocScroll=true,
tocLinks = new Array(0,0);
var oldOnError = null;
var isDyn = navigator.userAgent.toLowerCase().indexOf("opera") == -1;
var isIE = navigator.appName.toLowerCase().indexOf("explorer") > -1;
var oldCurrentNumber = "", oldLastVisitNumber = "";
var toDisplay = new Array();
for (ir=0; ir<tocTab.length; ir++) {
toDisplay[ir] = tocTab[ir][0].split(".").length==1;
}
function windowErr() {
isDyn = false;
hmtoc.location.href = "ap2manual_content.htm";
window.onerror = oldOnError;
}
function reDisplay(currentNumber,tocChange,noLink,e) {
if (isIndex && (hmtoc.location.href.substring(hmtoc.location.href.lastIndexOf("/")+1,hmtoc.location.href.length) != "ap2manual_kwindex.htm")) { isIndex=false; isContent=true; }
if (currentNumber == "navIndex") { isContent=false; }
if (currentNumber == "navContent") { isIndex=false; isContent=true; }
if (e) {
ctrlKeyDown = (isIE) ? e.ctrlKey : (e.modifiers==2);
if (tocChange && ctrlKeyDown) tocChange = 2;
}
var currentNumArray = currentNumber.split(".");
var currentLevel = currentNumArray.length-1;
var currentIndex = 0;
var currentHash = "";
if ((currentNumber == "") && (top.location.href.lastIndexOf("?") > 0)) {
currentNumber = top.location.href.substring(top.location.href.lastIndexOf("?")+1,top.location.href.length);
if (currentNumber.lastIndexOf(",") > 0) {
currentHash = "#" + currentNumber.substring(currentNumber.lastIndexOf(",")+1, currentNumber.length);
currentNumber = currentNumber.substring(0, currentNumber.lastIndexOf(","));
}
}
for (i=0; i<tocTab.length; i++) {
if ((tocTab[i][0] == currentNumber) || (tocTab[i][2] == currentNumber && tocTab[i][2] != "")) {
currentIndex = i;
currentNumber = tocTab[i][0];
currentNumArray = currentNumber.split(".");
currentLevel = currentNumArray.length-1;
break;
}
}
if (currentIndex < tocTab.length-1) {
nextLevel = tocTab[currentIndex+1][0].split(".").length-1;
currentIsExpanded = nextLevel > currentLevel && toDisplay[currentIndex+1];
}
else currentIsExpanded = false;
theHref = (noLink) ? "" : tocTab[currentIndex][2] + currentHash;
theTarget = tocTab[currentIndex][3];
for (i=1; i<tocTab.length; i++) {
if (tocChange) {
thisNumber = tocTab[i][0];
thisNumArray = thisNumber.split(".");
thisLevel = thisNumArray.length-1;
isOnPath = true;
if (thisLevel > 0) {
for (j=0; j<thisLevel; j++) {
isOnPath = (j>currentLevel) ? false : isOnPath && (thisNumArray[j] == currentNumArray[j]);
}
}
toDisplay[i] = (tocChange == 1) ? isOnPath : (isOnPath || toDisplay[i]);
if (thisNumber.indexOf(currentNumber+".")==0 && thisLevel > currentLevel) {
if (currentIsExpanded) toDisplay[i] = false;
else toDisplay[i] = (thisLevel == currentLevel+1);
}
}
}
if (!isContent && !isIndex) {
hmtoc.location.href = "ap2manual_kwindex.htm";
isIndex = true;
}
hasSelection = false;
if (isContent) {
if (!isDyn) {
if (hmtoc.location.href.substring(hmtoc.location.href.lastIndexOf("/")+1,hmtoc.location.href.length) != "ap2manual_content.htm") hmtoc.location.href = "ap2manual_content.htm";
}
else {
oldOnError = window.onerror;
window.onerror = windowErr;
hmtoc.document.clear();
hmtoc.document.write("<html>\n\r<head></head>\n\r<style type=\"text/css\">\n\r       SPAN.heading1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 10pt; color: #000000; text-decoration: none }\n\r       SPAN.heading2 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #000000; text-decoration: none }\n\r       SPAN.heading3 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r       SPAN.heading4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r       SPAN.heading5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r       SPAN.heading6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r\n\r       SPAN.hilight1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 10pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight2 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight3 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r</style>\n\r<body bgcolor=\"#FFFFFF\">\n\r<font face=\"Arial,Helvetica\" size=\"4\"><b>AllPlay 2 User\'s Guide</b></font><br>\n\r<font face=\"Arial,Helvetica\" size=\"2\">\n\r<a href=\"javaScript:parent.reDisplay(\'navIndex\',0,0);\">Keyword Index</a>\n\r</font><br><br><br>\n\r\n\r  <!-- Place holder for the TOC, do not delete the line below -->\n\r  ");
for (i=0; i<tocTab.length; i++) {
if (toDisplay[i]) {
thisNumber = tocTab[i][0];
thisNumArray = thisNumber.split(".");
thisLevel = thisNumArray.length-1;
isCurrent = (i == currentIndex);
if (i < tocTab.length-1) {
nextLevel = tocTab[i+1][0].split(".").length-1;
img = (thisLevel >= nextLevel) ? tocTab[i][4] : ((toDisplay[i+1]) ? tocTab[i][5] : tocTab[i][4]);
}
else img = tocTab[i][4];
thisTextClass = ((thisNumber==currentNumber)?("hilight"):("heading"));
thisNode = ((thisNumber==currentNumber)?("<div id=currentNode></div>"):(""));
if (thisNumber==currentNumber) hasSelection = true;
hmtoc.document.write(thisNode);
hmtoc.document.write("<table border=0 cellspacing=0 cellpadding=2>");
if (img!="") {
hmtoc.document.write("<tr><td width=" + ((thisLevel+1) * 20) + " align=right valign=top>");
hmtoc.document.write("<a href=\"javaScript:history.go(0)\" onMouseDown=\"parent.reDisplay('" + thisNumber + "'," + tocBehaviour[0] + "," + tocLinks[0] + ",event)\">");
hmtoc.document.write("<img src=\"" + img + "\" border=0></a>");
}
else hmtoc.document.write("<tr><td width=" + (thisLevel * 20) + " align=right valign=top>");
hmtoc.document.write("</td><td align=left>");
hmtoc.document.write("<a href=\"javaScript:history.go(0)\" onMouseDown=\"parent.reDisplay('" + thisNumber + "'," + tocBehaviour[1] + "," + tocLinks[1] + ",event)\">");
hmtoc.document.write("<span class=\""  + thisTextClass + ((thisLevel>5) ? 6 : thisLevel+1) + "\">");
hmtoc.document.write( ((showNumbers)?(thisNumber+" "):"") + tocTab[i][1]);
hmtoc.document.write("</span></a>");
hmtoc.document.writeln("</td></tr></table>");
window.onerror = oldOnError;
} //isDyn
} //isContent
}
}
if (!noLink) {
oldLastVisitNumber = oldCurrentNumber;
oldCurrentNumber = currentNumber;
}
if (isContent && isDyn) {
hmtoc.document.write("\n\r\n\r<hr><font face=\"Arial,Helvetica\" size=\"1\">&copy; 2007 ... LearningWare, Inc.</font>\n\r</body>\n\r</html>\n\r");
hmtoc.document.close();
}
if (theHref)
if (theTarget=="top") top.location.href = theHref;
else if (theTarget=="parent") parent.location.href = theHref;
else if (theTarget=="blank") open(theHref,"");
else {
hmcontent.location.href = theHref;
if ((tocScroll) && (hasSelection)) hmtoc.document.all["currentNode"].scrollIntoView();
}
}

