var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Introducing Power Clock", "", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("1.1", "About Power Clock", "aboutpowerclock.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("1.2", "How to Order", "howtoorder.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("1.3", "Technical Support", "support.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("1.4", "License", "license.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2", "Setting up Power Clock", "", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("2.1", "Getting Started", "gettingstarted.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.2", "Fingerprint Scanner Setup", "fingerprintscannersetup.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("2.2.1", "Supported Scanners", "supportedscanners.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.2.2", "Fingerprint Scanner - 7.50 and later", "fingerprintscanner_7_50and.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.2.3", "Fingerprint Scanner - 7.01 and earlier", "fingerprintscanner.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.3", "Data Location", "serversettings.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("2.3.1", "Multi-user setup", "multi_usersetup.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("2.3.1.1", "Installing the server as a Service in Windows NT or XP", "installingtheserverasawin.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.3.1.2", "Automatic Windows Login", "automaticwindowslogin.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.3.2", "Single-user setup", "single_usermode.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.4", "Workstation Configuration", "workstationconfiguration.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5", "Location Configuration", "locationconfiguration.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("2.5.1", "Address Page", "addresspage.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5.2", "Clock In Options", "clockinoptions.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5.3", "Clock Out Options", "clockoutoptions.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5.4", "Automatic Options", "automaticoptions.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5.5", "Report &amp; Display Options", "reportdisplayoptions.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5.6", "Time Rounding", "timerounding.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5.7", "Backup", "backup.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5.8", "Remote Data Sync", "remotedatasync.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5.9", "Location Server", "remotedatasyncserver.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.5.10", "Other Options", "otheroptions.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.6", "Security Profiles", "security.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("2.6.1", "File &amp; Report Security", "filereportsecurity.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.6.2", "Menu Commands", "menucommands.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.6.3", "Built-in Profiles", "built_inprofiles.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.7", "Departments", "departments.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.8", "Jobs &amp; Phases", "jobsphases.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.9", "Employees", "employees.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("2.9.1", "Address / Phone Numbers", "addressphonenumbers.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.9.2", "Overtime / Rounding", "overtimerounding.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.9.3", "Clock Out Options", "clockoutoptions2.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.9.4", "Automatic Options", "automaticoptions2.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.9.5", "Pay Rates", "payrates.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.10", "Upgrading from previous versions", "upgrading.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("2.11", "Command Line Parameters", "commandline.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3", "Working with Power Clock", "", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("3.1", "Explaining the user interface", "", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("3.1.1", "Tiny Toolbar", "tinytoolbar.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.1.2", "File Browser", "filebrowser.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("3.1.2.1", "Update Info", "updateinfo.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.1.3", "Lookup Fields", "lookupfields.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.1.4", "Shortcut Keys", "shortcuts.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.2", "Main Screen", "mainscreen.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("3.2.1", "Customize", "customize.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.3", "Log In", "login.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.4", "Clock In", "clockin.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.5", "Log Out", "logout.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.6", "Clock Out", "clockout.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.7", "Switch Jobs", "switchjobs.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.8", "Pause / Resume", "pause.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.9", "Check Lunches and Breaks", "automaticlunchdeduction.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.10", "Time Records", "timerecords.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.11", "Reports", "reports.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("3.11.1", "Report Preview Window", "reportpreview.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.11.2", "Report Script Commands", "reportscript.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.11.3", "Printer Setup", "printersetup.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.12", "Email", "email.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("3.12.1", "Sending Email", "sendingemail.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.13", "System Log", "systemlog.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.14", "Change Password", "changepassword.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15", "Importing and exporting data", "importingandexportingdata.htm", "", "button_closedbook.gif", "button_openbook.gif");
tocTab[ir++] = new Array ("3.15.1", "Backup All Data", "backupdata.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15.2", "Update Data from Remote Server", "updatedatafromremoteserver.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15.3", "Export Data", "exportdata.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15.4", "Import Data", "importdata.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15.5", "Export / Import Changed Data", "exportchanged.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15.6", "Import &amp; Export to Quickbooks Pro", "exportqb.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15.7", "ADP Export", "adpexport.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15.8", "Paychex Export", "paychexexport.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15.9", "Millennium Export", "sharppayrollexport.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("3.15.10", "Pack/Rebuild Files", "packrebuild.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("4", "Frequently asked questions (FAQ)", "frequentlyaskedquestions(fa.htm", "", "button_topic.gif", "");
tocTab[ir++] = new Array ("5", "Version History", "versionhistory.htm", "", "button_topic.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 = "pclock_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) != "pclock_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 = 1;
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 = "pclock_kwindex.htm";
isIndex = true;
}
hasSelection = false;
if (isContent) {
if (!isDyn) {
if ($hmtoc.location.href.substring($hmtoc.location.href.lastIndexOf("/")+1,$hmtoc.location.href.length) != "pclock_content.htm") $hmtoc.location.href = "pclock_content.htm";
}
else {
oldOnError = window.onerror;
window.onerror = windowErr;
$hmtoc.document.clear();
$hmtoc.document.write("<html>\n\r<head></head>\n\r<link rel=\"stylesheet\" type=\"text/css\">\n\r<style type=\"text/css\">\n\r       SPAN.heading1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; 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: 7pt; color: #000000; text-decoration: none }\n\r       SPAN.heading4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 7pt; color: #000000; text-decoration: none }\n\r       SPAN.heading5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 7pt; color: #000000; text-decoration: none }\n\r       SPAN.heading6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 7pt; color: #000000; text-decoration: none }\n\r\n\r       SPAN.hilight1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; 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: 7pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 7pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 7pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 7pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r</style>\n\r<body bgcolor=\"#FFFFFF\">\n\r  <span class=\"h2\">Power Clock Online Help</span><br><br>\n\r  <span class=\"fsmall\"><b>Contents</b>&nbsp;|&nbsp;<a href=\"javaScript:parent.reDisplay(\'navIndex\',0,0);\">Index</a></span>\n\r  <hr>\n\r  <br>\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  <hr>\n\r  <span class=\"fnote\">\n\r  &copy; 2006 Rob Fletcher.<br>\n\r  </span>\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();
}
}
