var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Overview", "introduction.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2", "License agreement", "disclaimer.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3", "Managing leagues", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.1", "Overview", "overview.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.2", "Opening a league", "openingaleaguefile.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.3", "Creating a new league", "creatinganewleague.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.4", "Configuring a league", "leagueconfiguration.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5", "Downloading league files", "downloadingleaguefiles.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.6", "Compacting league files", "compactingleaguefiles.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4", "Managing teams, players and referees", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.1", "Overview", "overview2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2", "Creating and modifying teams", "creatingandmodifyingteams.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3", "Importing teams", "importingteams.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.4", "Creating and modifying players", "creatingandmodifyingplayers.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.5", "Creating and modifying referees", "creatingandmodifyingreferee.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.6", "Creating and modifying locations", "creatingandmodifyinglocatio.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5", "Managing matches", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5.1", "Overview", "overview3.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2", "Entering a match as a fixture (match to be played)", "enteringamatchasafixture.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.3", "Entering a result (matches played)", "enteringaresult(matchespla.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.4", "Match data", "matchdata.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.5", "Saving match data", "savingmatchdata.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.6", "Tracking matches won by forfeit", "trackingmatcheswonbyforfei.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.7", "Tracking postponed matches", "trackingpostponedmatches.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.8", "Tracking match groups", "trackingmatchgroups.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.9", "Tracking cup (knock-out) competitions", "trackingcup(knock_out)compe.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.10", "Tracking matches played on neutral field", "trackingmatchesplayedonneu.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.11", "Editing a match", "editingamatch.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.12", "Deleting a match", "deletingamatch.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.13", "Entering scores only", "enteringscoresonly.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.14", "Importing fixtures", "importingfixtures.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6", "Managing events", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("6.1", "Overview", "overview4.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.2", "Adding events", "addingevents.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.3", "Deleting events", "eventsinaddedtime.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.4", "Modifying the minute of an event", "modifytheminuteofanevent.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7", "Viewing league statistics", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("7.1", "Overview", "overview5.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.2", "Current stats", "currentstats.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.3", "Match lists", "matchlists.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.4", "Streaks", "streaks.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.5", "Team stats", "teamstats.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.6", "Influences", "influences.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.7", "Team squads", "teamsquads.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.8", "League overview", "leagueoverview.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.9", "Scoring", "scoring.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.10", "Player stats", "playerstats.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.11", "Match queries", "matchqueries.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.12", "Player queries", "playerqueries.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.13", "Event queries", "eventqueries.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.14", "Points evolution", "pointsevolution.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.15", "Result predictions", "resultpredictions(forecast).htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8", "Publishing data", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("8.1", "Overview", "overview6.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.2", "Printing tables", "printingtables.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.3", "Exporting tables", "exportingtables.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.4", "Exporting to HTML", "exportingtohtml.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.5", "Customizing HTML export", "customizinghtmlexport.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.6", "Exporting to CSV/Excel", "exportingtocsvexcel.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.7", "Exporting to TAB-delimited text", "exportingtotab_delimitedtex.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.8", "Exporting to Clipboard", "exportingtoclipboard.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.9", "Creating a league Web site", "creatingaleaguewebsite.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9", "Customizing table, list and program appearance", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("9.1", "Overview", "overview7.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.2", "League table appearance", "leaguetableappearance.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.3", "Match list appearance", "matchlistappearance.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.4", "Player list appearance", "playerlistappearance.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.5", "Program skin", "programskins.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10", "How Do I ...?", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("10.1", "How do I track competitions for other sports?", "howdoitrackcompetitionsof.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.2", "How do I track cups and group competitions?", "howdoitrackcompetitionsof2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.3", "How do I track penalties?", "howdoitrackpenalties.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.4", "How do I track player line-ups and appearances?", "howdoitrackplayerline_ups.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.5", "How do I start a new season?", "howdoistartanewseason.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.6", "How do I deal with special match outcomes?", "howdoidealwithspecialmat.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.7", "How do I deal with players transferred to another club?", "howdoidealwithplayerstra.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("11", "About LeaguePad", "author.htm", "", "cicon9.gif", "cicon9.gif");
isContent = true,
isIndex = false,
showNumbers = false,
tocBehaviour = new Array(1,1),
tocScroll=false,
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 = "$leaguepad_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) != "$leaguepad_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;
if (currentNumber == "") currentNumber = top.location.href.substring(top.location.href.lastIndexOf("?")+1,top.location.href.length);
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];
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 = "$leaguepad_kwindex.htm";
isIndex = true;
}
if (isContent) {
if (!isDyn) {
if ($hmtoc.location.href.substring($hmtoc.location.href.lastIndexOf("/")+1,$hmtoc.location.href.length) != "$leaguepad_content.htm") $hmtoc.location.href = "$leaguepad_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>LeaguePad 4.5</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>"):(""));
$hmtoc.document.write(thisNode);
$hmtoc.document.write("<table border=0 cellspacing=0 cellpadding=2>");
$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>");
$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; 1992-2007 Christophe Bouscaut</font>\n\r</body>\n\r</html>\n\r");
$hmtoc.document.close();
if ((tocScroll) && (thisNode)) $hmtoc.document.all["currentNode"].scrollIntoView();
}
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;
}
