var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Welcome to Simple Failover", "welcome.html", "", "cicon17.gif", "cicon17.gif");
tocTab[ir++] = new Array ("2", "End User License Agreement", "eula.html", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3", "Introduction", "intro.html", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("4", "Sample scenarios", "samplescenarios.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.1", "Basic web-server setup", "sscen_basic.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2", "Redundant setup", "sscen_redun.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3", "DNS Round Robin load balancing", "sscen_rr.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.4", "Internal failover router", "sscen_advrouter.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.5", "Dual WAN router", "sscen_dualwan.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.6", "Two WAN routers", "sscen_twowans.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5", "Basic setup example", "basic_setup_example.html", "", "cicon21.gif", "cicon21.gif");
tocTab[ir++] = new Array ("6", "How it works", "howitworks.html", "", "cicon21.gif", "cicon21.gif");
tocTab[ir++] = new Array ("7", "Server monitoring methods", "monm.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("7.1", "Monitoring HTTP servers", "monm_http.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.2", "Monitoring FTP servers", "monm_ftp.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.3", "Monitoring SMTP servers", "monm_smtp.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.4", "Monitoring POP3 servers", "monm_pop3.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.5", "Monitoring NNTP servers", "monm_nntp.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.6", "Monitoring IMAP servers", "monm_imap.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.7", "Monitoring other server types (Generic TCP connect)", "monm_tcp.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.8", "Monitoring other server types (PING)", "monm_ping.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8", "DNS update methods", "dnsud.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("8.1", "Standard Dynamic DNS update", "dnsud_std.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.2", "TSIG Signed Dynamic DNS update", "dnsud_tsig.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.3", "Update DNS via WMI", "dnsud_wmi.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.4", "Update DNS via HTTP", "dnsud_http.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.5", "Update DNS via scripting", "dnsud_script.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9", "User interface", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("9.1", "Main dialog", "gui_main.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("9.1.1", "Main dialog - Menu bar", "gui_main_menubar.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.1.2", "Main dialog - Toolbar", "gui_main_toolbar.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.1.3", "Main dialog - Server Sets tab", "gui_main_sstab.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.1.4", "Main dialog - Activity Log tab", "gui_main_logtab.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.1.5", "Main dialog - Problems tab", "gui_main_probtab.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.1.6", "Main dialog - Status bar", "gui_main_statusbar.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.1.7", "Main dialog - Keyboard shortcuts", "gui_main_keys.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.2", "Options dialog", "gui_opt.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("9.2.1", "Options dialog - General tab", "gui_opt_general.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.2.2", "Options dialog - Default DNS servers tab", "gui_opt_dns.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.2.3", "Options dialog - E-mail notification tab", "gui_opt_email.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.2.4", "Options dialog - Scripting tab", "gui_opt_script.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.3", "Server Set Properties dialog", "gui_ssprop.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("9.3.1", "Server Set Properties dialog - Servers tab", "gui_ssprop_servers.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.3.2", "Server Set Properties dialog - Update DNS tab", "gui_ssprop_ud.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.3.3", "Server Set Properties dialog - Notification tab", "gui_ssprop_notify.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.3.4", "Server Set Properties dialog - Notes tab", "gui_ssprop_notes.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.4", "DNS Server Properties dialog", "gui_dnsprop.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.5", "Tray Icon", "gui_tray.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10", "Specific DNS server software", "dnss.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("10.1", "Simple DNS Plus", "dnss_sdns.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("10.1.1", "Simple DNS Plus - Standard Dynamic DNS Updates", "dnss_sdns_std.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.1.2", "Simple DNS Plus - TSIG Signed Dynamic DNS Updates", "dnss_sdns_tsig.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.2", "BIND", "dnss_bind.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("10.2.1", "BIND - Standard Dynamic DNS Updates", "dnss_bind_std.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.2.2", "BIND - TSIG Signed Dynamic DNS Updates", "dnss_bind_tsig.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.3", "Microsoft DNS", "dnss_ms.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.4", "Novell DNS", "dnss_novell.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("11", "HTTP API functions", "httpfunctions.html", "", "cicon21.gif", "cicon21.gif");
tocTab[ir++] = new Array ("12", "Reference", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("12.1", "Configuration file", "xmlfile.html", "", "cicon21.gif", "cicon21.gif");
tocTab[ir++] = new Array ("12.2", "XML Elements", "xmlelements.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("12.2.1", "&lt;DefaultDNS&gt;", "xml_defaultdns.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.2", "&lt;DNSAlias&gt;", "http_dnsalias.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.3", "&lt;DNSServer&gt;", "xml_dnsserver.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.4", "&lt;DNSStatus&gt;", "http_dnsstatus.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.5", "&lt;DNSUpdate&gt;", "xml_dnsupdate.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.6", "&lt;EmailNotification&gt;", "xml_emailnotification.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.7", "&lt;EmailNotify&gt;", "xml_emailnotify.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.8", "&lt;Log&gt;", "http_log.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.9", "&lt;LogLine&gt;", "http_logline.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.10", "&lt;Notes&gt;", "xml_notes.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.11", "&lt;Options&gt;", "xml_options.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.12", "&lt;Problem&gt;", "http_problem.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.13", "&lt;ProblemList&gt;", "http_problemlist.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.14", "&lt;Scripting&gt;", "xml_scripting.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.15", "&lt;Server&gt;", "xml_server.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.16", "&lt;ServerSet&gt;", "xml_serverset.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.17", "&lt;ServerStatus&gt;", "http_serverstatus.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.18", "&lt;SimpleFailover&gt;", "xml_simplefailover.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.19", "&lt;SSList&gt;", "http_sslist.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.20", "&lt;SSListSS&gt;", "http_sslistss.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.21", "&lt;SSStatus&gt;", "http_ssstatus.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.22", "&lt;StatusList&gt;", "http_statuslist.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.23", "&lt;StatusListServer&gt;", "http_statuslistserver.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2.24", "&lt;StatusListSS&gt;", "http_statuslistss.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.3", "Problem Codes", "ref_pcodes.html", "", "cicon21.gif", "cicon21.gif");
tocTab[ir++] = new Array ("12.4", "Dynamic IP Internet services examples", "dynip_inet_samples.html", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("12.4.1", "DynDNS.org", "dyndns_org.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.4.2", "Web Reactor Networks", "webreactor_networks.html", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.5", "RFCs", "rfcs.html", "", "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 = "simplefailover_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) != "simplefailover_kwindex.html")) { 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 = "simplefailover_kwindex.html";
isIndex = true;
}
hasSelection = false;
if (isContent) {
if (!isDyn) {
if (hmtoc.location.href.substring(hmtoc.location.href.lastIndexOf("/")+1,hmtoc.location.href.length) != "simplefailover_content.htm") hmtoc.location.href = "simplefailover_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=\"#EAEAEA\" >\n\r<font face=\"Arial,Helvetica\" size=\"4\"><b>Simple Failover</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) * 15) + " 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 * 15) + " 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\">Copyright &copy; 2004-2005 JH Software - All rights reserved</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();
}
}
