var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Welcome", "welcome.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.1", "Overview", "overview.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.2", "Getting Started", "gettingstarted.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.3", "History", "history.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2", "User Manual", "usermanual.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.1", "Installation", "installation.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.2", "MakeNetwork", "makenetwork.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.1", "Data sources", "datasources.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.2.3", "Attributes", "attributefile.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.2.5", "3D nodes", "3dnodes.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.2.6", "Encryption", "encryption.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.3", "General usage (important)", "generalusage.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4", "Server", "server.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.4.1", "Configuration file", "configfile.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4.2", "Starting / stopping", "startingstopping.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4.3", "Special time on links", "specialtimeonlinks.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4.4", "Persistent speed / time", "persistentspeedtime.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4.5", "Turn Restrictions", "turnrestrictions.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4.6", "POI lists", "poilists.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4.7", "Ignore links in spatial searches", "ignorelinksinspatialsearch.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4.8", "Statistics", "statistics.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4.9", "System Requirements", "sysrequirements.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4.10", "Performance", "performance.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5", "Clients", "clients.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.1", "Active-X (OCX)", "active_x.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.1.1", "Asp", "asp.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.1.2", "MS Excel", "excel.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.2", "C / C++", "ccpp.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3", "C#", "csharp.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.4", "Delphi / Kylix", "delphikylixcppbuilder.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.5", "Java SE", "javase.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.6", "PHP", "php.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7", "SOAP", "soap.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.6", "Routing topics", "routingtopics.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.6.1", "Network terminology", "terminology.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.6.3", "Coordinate units", "coordinateunits.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.6.5", "Alpha parameter", "alphaparameter.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.6.7", "Isochrones (polygon)", "isochrones.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.6.9", "Limits", "limits.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.6.11", "Hierarchical Routing", "hierarchy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.6.13", "Very large networks", "verylargenetworks.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.7", "Upgrading from 2.7x", "upgradingfrom2_7x.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3", "Error codes", "errorcodes.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5", "Reference", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5.1", "AddNodes", "addnodes.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2", "AirDistNode", "airdistnode.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.3", "AirDistPos", "airdistpos.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.4", "Alpha", "alpha.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.5", "BestNode", "bestnode.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.6", "CheckLink", "checklink.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.7", "CheckNode", "checknode.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.8", "CloseLink", "closelink.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.9", "Coordinate2Location", "coordinate2location.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.10", "Coordinate2LocationSimple", "coordinate2locationsimple.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.11", "Coordinate2Node", "coordinate2node.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.12", "CoordSys", "coordsys.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.13", "CostDist", "costdist.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.14", "CostTime", "costtime.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.15", "ErrorMsg", "errormsg.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.16", "ExternIDfindID", "externidfindid.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.17", "ExternIDfindIndex", "externidfindindex.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.18", "ExtraDist", "extradist.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.19", "ExtraTime", "extratime.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.20", "ExtraVarCreate", "extravarcreate.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.21", "GetLinkCost", "getlinkcost.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.22", "GetLinkCostDyn", "getlinkcostdyn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.23", "GetLinkDist", "getlinkdist.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.24", "GetLinkExtra", "getlinkextra.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.25", "GetLinkExtraDyn", "getlinkextradyn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.26", "GetLinkSpeed", "getlinkspeed.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.27", "GetLinkTime", "getlinktime.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.28", "GetNodeCost", "getnodecost.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.29", "GetNodeExtra", "getnodeextra.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.30", "GetOpenStatus", "getopenstatus.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.31", "GISformat", "gisformat.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.32", "IsoCost", "isocost.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.33", "IsoCostDyn", "isocostdyn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.34", "IsoCostDynLocationList", "isocostdynlocationlist.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.35", "IsoCostDynLocationListN", "isocostdynlocationlistn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.36", "IsoCostMulti", "isocostmulti.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.37", "IsoCostNodeList", "isocostnodelist.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.38", "IsoCostNodeListN", "isocostnodelistn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.39", "IsoCostOffSet", "isocostoffset.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.40", "IsoLink2", "isolink2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.41", "IsoLink2Dyn", "isolink2dyn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.42", "IsoLink4", "isolink4.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.43", "IsoPoly2", "isopoly2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.44", "IsoPoly2Fast", "isopoly2fast.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.45", "IsoPoly2Dyn", "isopoly2dyn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.46", "IsoPoly2DynFast", "isopoly2dynfast.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.47", "IsoPoly3", "isopoly3.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.48", "IsoPoly4", "isopoly4.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.49", "Link2FromNode", "link2fromnode.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.50", "Link2ToNode", "link2tonode.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.51", "LinkMax", "linkmax.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.52", "Location2Coordinate", "location2coordinate.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.53", "LocationListGet", "locationlistget.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.54", "LocationListGetNewPos", "locationlistgetnewpos.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.55", "LocationListGetOldPos", "locationlistgetoldpos.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.56", "LocationListLimit", "locationlistlimit.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.57", "LocationListSet", "locationlistset.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.58", "NearestLocation", "nearestlocation.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.59", "NearestNode", "nearestnode.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.60", "NearestOpen", "nearestopen.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.61", "NearestOpenDyn", "nearestopendyn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.62", "NetworkLength", "networklength.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.63", "NodeCoordX", "nodecoordx.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.64", "NodeCoordY", "nodecoordy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.65", "NodeListGet", "nodelistget.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.66", "NodeListGetNewPos", "nodelistgetnewpos.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.67", "NodeListGetOldPos", "nodelistgetoldpos.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.68", "NodeListLimit", "nodelistlimit.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.69", "NodeListSet", "nodelistset.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.70", "NodeMax", "nodemax.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.71", "NWloaded", "nwloaded.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.72", "OptimumAlpha", "optimumalpha.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.73", "POIadd", "poiadd.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.74", "POIadd2", "poiadd2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.75", "PositionListGet", "positionlistget.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.76", "PositionListSet", "positionlistset.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.77", "RoadName1_Get", "roadname1_get.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.78", "RoundAbout", "roundabout.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.79", "RoundAboutExitNode", "roundaboutexitnode.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.80", "Route", "route.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.81", "RouteDyn", "routedyn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.82", "RouteDyn_Approach", "routedyn_approach.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.83", "RouteFind", "routefind.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.84", "RouteFindDyn", "routefinddyn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.85", "RouteGetLink", "routegetlink.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.86", "RouteGetNode", "routegetnode.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.87", "RouteList", "routelist.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.88", "RouteMaxCost", "routemaxcost.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.89", "RouteReady", "routeready.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.90", "SetFastest", "setfastest.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.91", "SetLimit", "setlimit.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.92", "SetLinkResult", "setlinkresult.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.93", "SetLinkSpeed", "setlinkspeed.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.94", "SetLinkTime", "setlinktime.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.95", "SetNet", "setnet.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.96", "SetShortest", "setshortest.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.97", "SharpTurnDrivingDirections", "sharpturndrivingdirections.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.98", "StepsAdd", "stepsadd.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.99", "StepsClear", "stepsclear.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.100", "TSP2", "tsp2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.101", "TSP2dyn", "tsp2dyn.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.102", "TSP2extra", "tsp2extra.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.103", "UTurnAllowed", "uturnallowed.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.104", "Valency", "valency.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.105", "ViaListSet", "vialistset.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6", "Reference: Pro only", "rwnetpro.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("6.1", "ATSP", "atsp.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.2", "District", "district.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.3", "Hierarchy", "hierarchyprop.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.4", "HierarchyLevelSet", "hierarchylevelset.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.5", "NetworkCenter", "networkcenter.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.6", "NetworkCenter2", "networkcenter2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.7", "SetApproach", "setapproach.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8", "Reference: Server", "reference_server.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("8.1", "Array", "array.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.2", "CalcOptimumAlpha", "calcoptimumalpha.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.3", "GetFile", "getfile.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.4", "GetServerVersion", "getserverversion.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.5", "PutFile", "putfile.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.6", "UsePOILocationList", "usepoilocationlist.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.7", "UsePOINodeList", "usepoinodelist.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.8", "UsePOIList", "usepoilist.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 = "rwnetserver_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) != "rwnetserver_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 = "rwnetserver_kwindex.htm";
isIndex = true;
}
hasSelection = false;
if (isContent) {
if (!isDyn) {
if (hmtoc.location.href.substring(hmtoc.location.href.lastIndexOf("/")+1,hmtoc.location.href.length) != "rwnetserver_content.htm") hmtoc.location.href = "rwnetserver_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>RW NetServer</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; 2010 RouteWare / Uffe Kousgaard</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();
}
}
