var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Components Overview", "overview.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("2", "Installation Instructions", "installationinstructions.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("3", "Registration Information", "registrationinformation.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("4", "License Agreement", "licenseagreement.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5", "auAutoUpgrader", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("5.1", "TauAutoUpgrader", "tauautoupgrader.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2", "Properties", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("5.2.1", "AutoCheck", "autoupgraderautocheck.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.2", "AutoCheckDelay", "autoupgraderautocheckdelay.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.3", "CacheOptions", "autoupgradercacheoptions.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.4", "HTTPPassword", "autoupgraderhttppassword.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.5", "HTTPUsername", "autoupgraderhttpusername.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.6", "InfoFile", "autoupgraderinfofile.htm", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("5.2.6.1", "Files", "autoupgraderinfofilefiles.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.6.2", "UpgradeMethod", "autoupgraderinfofileupgrademet.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.6.3", "UpgradeMsg", "autoupgraderinfofileupgrademsg.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.7", "InfoFileURL", "autoupgraderinfofileurl.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.8", "InternetOptions", "autoupgraderinternetoptions.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.9", "MiscFilesUpgrade", "autoupgradermiscfilesupgrade.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.10", "Proxy", "autoupgraderproxy.htm", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("5.2.10.1", "AccessType", "autoupgraderproxyaccesstype.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.10.2", "ProxyBypass", "autoupgraderproxyproxybypass.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.10.3", "ProxyPassword", "autoupgraderproxyproxypassword.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.10.4", "ProxyPort", "autoupgraderproxyproxyport.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.10.5", "ProxyServer", "autoupgraderproxyproxyserver.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.10.6", "ProxyUsername", "autoupgraderproxyproxyusername.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.11", "RestartParams", "autoupgraderrestartparams.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.12", "ShowMessages", "autoupgradershowmessages.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.13", "ThreadPriority", "autoupgraderthreadpriority.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.14", "TransferBufferSize", "autoupgradertransferbuffersize.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.15", "VersionControl", "autoupgraderversioncontrol.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.16", "VersionDate", "autoupgraderversiondate.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.17", "VersionDateAutoSet", "autoupgraderversiondateautoset.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.18", "VersionNumber", "autoupgraderversionnumber.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.19", "Wizard", "autoupgraderwizard.htm", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("5.2.19.1", "Enabled", "autoupgraderwizardenabled.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.19.2", "HideFileLocation", "autoupgraderwizardhidefileloca.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.19.3", "Language", "autoupgraderwizardlanguage.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.19.4", "Pic118x218", "autoupgraderwizardpic118x218.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.2.19.5", "StayOnTop", "autoupgraderwizardstayontop.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.3", "Methods", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("5.3.1", "Abort", "autoupgraderabort.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.3.2", "CheckUpdate", "autoupgradercheckupdate.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.3.3", "RestartApplication", "autoupgraderrestartapplication.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4", "Events", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("5.4.1", "OnAborted", "autoupgraderonaborted.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.2", "OnAfterRestart", "autoupgraderonafterrestart.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.3", "OnBeginUpgrade", "autoupgraderonbeginupgrade.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.4", "OnConnLost", "autoupgraderonconnlost.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.5", "OnDoOwnCloseAppMethod", "autoupgraderondoowncloseapp.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.6", "OnEndUpgrade", "autoupgraderonendupgrade.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.7", "OnFileDone", "autoupgraderonfiledone.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.8", "OnFileStart", "autoupgraderonfilestart.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.9", "OnHostUnreachable", "autoupgraderonhostunreachable.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.10", "OnLaterUpgrade", "autoupgraderonlaterupgrade.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.11", "OnLostFile", "autoupgraderonlostfile.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.12", "OnNoInfoFile", "autoupgraderonnoinfofile.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.13", "OnNoUpdateAvailable", "autoupgraderonnoupdateavailabl.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.14", "OnPasswordRequest", "autoupgraderonpasswordrequest.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.15", "OnProgress", "autoupgraderonprogress.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.4.16", "OnProxyAuthenticationRequest", "autoupgraderonproxyauthenticat.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.5", "Upgrade Information File", "autoupgraderinfofileexample.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.6", "Self-upgrading mechanism", "autoupgraderselfupgrading.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.7", "Calculation of upgrades", "autoupgradercgiexample.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.8", "Screenshots", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("5.8.1", "Application update wizard", "autoupgraderscreenshot1.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.8.2", "Multi-language support", "autoupgraderscreenshot2.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.8.3", "Access to protected area", "autoupgraderscreenshot3.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("5.8.4", "Info-file designer", "autoupgraderscreenshot4.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6", "auHTTP", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("6.1", "TauHTTP", "tauhttp.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2", "Properties", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("6.2.1", "AcceptTypes", "httpaccepttypes.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.2", "AddHeaders", "httpaddheaders.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.3", "Agent", "httpagent.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.4", "Busy", "httpbusy.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.5", "CacheOptions", "httpcacheoptions.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.6", "FileName", "httpfilename.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.7", "HideOutputFile", "httphideoutputfile.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.8", "HostName", "httphostname.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.9", "InternetOptions", "httpinternetoptions.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.10", "OutputFileAttributes", "httpoutputfileattributes.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.11", "OutputFileName", "httpoutputfilename.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.12", "Password", "httppassword.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.13", "POSTData", "httppostdata.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.14", "Proxy", "httpproxy.htm", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("6.2.14.1", "AccessType", "httpproxyaccesstype.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.14.2", "ProxyBypass", "httpproxyproxybypass.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.14.3", "ProxyPassword", "httpproxyproxypassword.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.14.4", "ProxyPort", "httpproxyproxyport.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.14.5", "ProxyServer", "httpproxyproxyserver.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.14.6", "ProxyUsername", "httpproxyproxyusername.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.15", "Range", "httprange.htm", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("6.2.15.1", "EndRange", "httprangeendrange.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.15.2", "StartRange", "httprangestartrange.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.16", "Referer", "httpreferer.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.17", "RequestMethod", "httprequestmethod.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.18", "ShowGoOfflineMessage", "httpshowgoonlinemessage.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.19", "Suspended", "httpsuspended.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.20", "Timeouts", "httptimeouts.htm", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("6.2.20.1", "ConnectTimeout", "httptimeoutsconnecttimeout.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.20.2", "ReceiveTimeout", "httptimeoutsreceivetimeout.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.20.3", "SendTimeout", "httptimeoutssendtimeout.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.21", "Thread", "httpthread.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.22", "ThreadPriority", "httpthreadpriority.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.23", "TransferBufferSize", "httptransferbuffersize.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.24", "URL", "httpurl.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.25", "Username", "httpusername.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.26", "WaitThread", "httpwaitthread.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.27", "WaitTimeout", "httpwaittimeout.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.2.28", "WorkOffline", "httpworkoffline.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.3", "Methods", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("6.3.1", "Abort", "httpabort.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.3.2", "IsGlobalOffline", "httpisglobaloffline.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.3.3", "Pause", "httppause.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.3.4", "Read", "httpread.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.3.5", "Resume", "httpresume.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.3.6", "ReadRange", "httpreadrange.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.3.7", "Upload", "httpupload.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.3.8", "UploadByFieldNames", "httpuploadbyfieldnames.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4", "Events", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("6.4.1", "OnAborted", "httponaborted.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.2", "OnAnyError", "httponanyerror.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.3", "OnBeforeSendRequest", "httponbeforesendrequest.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.4", "OnConnLost", "httponconnlost.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.5", "OnDone", "httpondone.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.6", "OnDoneInterrupted", "httpondoneinterrupted.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.7", "OnHeaderInfo", "httponheaderinfo.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.8", "OnHostUnreachable", "httponhostunreachable.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.9", "OnHTTPError", "httponhttperror.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.10", "OnOutputFileError", "httponoutputfileerror.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.11", "OnPasswordRequest", "httponpasswordrequest.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.12", "OnProgress", "httponprogress.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.13", "OnProxyAuthenticationRequest", "httponproxyauthenticationreq.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.14", "OnRedirected", "httponredirected.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.15", "OnUploadCGITimeoutFailed", "httponuploadcgitimeoutfailed.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.16", "OnUploadFieldRequest", "httponuploadfieldrequest.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.17", "OnUploadProgress", "httponuploadprogress.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.4.18", "OnWaitTimeoutExpired", "httponwaittimeoutexpired.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.5", "Appendix: HTTP status codes", "httpstatuscodes.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("6.6", "HTTPReadString", "httpreadstring.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7", "auThread", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("7.1", "TauThread", "tauthread.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2", "Properties", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("7.2.1", "Handle", "threadhandle.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2.2", "HandleExceptions", "threadhandleexceptions.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2.3", "Priority", "threadpriority.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2.4", "ReturnValue", "threadreturnvalue.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2.5", "Running", "threadrunning.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2.6", "Suspended", "threadsuspended.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2.7", "Terminated", "threadterminated.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2.8", "ThreadID", "threadthreadid.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2.9", "WaitThread", "threadwaitthread.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.2.10", "WaitTimeout", "threadwaittimeout.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.3", "Methods", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("7.3.1", "Execute", "threadexecute.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.3.2", "Resume", "threadresume.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.3.3", "Suspend", "threadsuspend.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.3.4", "Synchronize", "threadsynchronize.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.3.5", "SynchronizeEx", "threadsynchronizeex.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.3.6", "Terminate", "threadterminate.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.3.7", "WaitFor", "threadwaitfor.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.4", "Events", "", "", "c.gif", "o.gif");
tocTab[ir++] = new Array ("7.4.1", "OnException", "threadonexception.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.4.2", "OnExecute", "threadonexecute.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.4.3", "OnTerminate", "threadonterminate.htm", "", "t.gif", "");
tocTab[ir++] = new Array ("7.4.4", "OnWaitTimeoutExpired", "threadonwaittimeoutexpired.htm", "", "t.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 = "autoupgraderpro_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) != "autoupgraderpro_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 = "autoupgraderpro_kwindex.htm";
isIndex = true;
}
hasSelection = false;
if (isContent) {
if (!isDyn) {
if (hmtoc.location.href.substring(hmtoc.location.href.lastIndexOf("/")+1,hmtoc.location.href.length) != "autoupgraderpro_content.htm") hmtoc.location.href = "autoupgraderpro_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  <p align=center><font face=\"Arial,Helvetica\" size=\"4\"><b><i>\n\rAutoUpgrader Pro\n\r  </i></b></font></p><hr>\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>\n\r  <font face=\"Arial,Helvetica\" size=1>\n\r&copy; 1999-2004, Utilmind Solutions\n\r  </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();
}
}

