//---------------------------------------------------------------------------
// This script is based on the work of Dieter Bungers - http://www.infovation.de
// The original example for the "Cross Browser Expanding and Collapsing TOC"
// was published on http://www.siteexperts.com/tips/techniques/ts03/index.htm
//---------------------------------------------------------------------------

var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Main", "main.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.1", "How to...", "howto___.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.1.1", "Transfer data between objects", "transferdatabetweenobjects.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.1.2", "Handle unexpected error during sequence execution", "handleunexpectederrorduring.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2", "Basic Tutorial", "basictutorial.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.2.1", "My first sequence", "myfirstsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.2", "Relational operators", "relationaloperators.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.3", "Logical (bitwise) operators", "logical(bitwise)operators.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.4", "Arithmetic operators", "arithmeticoperators.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.5", "Boolean Operators", "booleanoperators.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.6", "Case", "case.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.7", "else", "else.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.8", "If then", "ifthen.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.9", "while do", "whiledo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.10", "for do", "fordo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.11", "repeat", "repeat.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.12", "until", "until.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.13", "Begin", "begin.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2.14", "End", "end.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.3", "General", "general.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4", "Users Guide", "usersguide.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.1", "AutoCompletion", "autocompletion.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.2", "Sequence modes", "sequencemodes.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.2.1", "Normal mode", "normalmode.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.2.2", "Simulation mode", "simulationmode.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.2.2.1", "Toggle Simulation mode", "togglesimulationmode.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.3", "File Routines popup", "fileroutinespopup.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.3.1", "SaveToFile", "savetofile.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.3.2", "Chdir", "chdir.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.3.3", "DeleteFile", "deletefile.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.3.4", "Dir", "dir.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.3.5", "FileExist", "fileexist.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4", "Visual Object Creation", "visualobjectcreation.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.1", "Examples", "examples.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.1.1", "Create Form and Memo And Buttons Example", "createformandmemoandbutto.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.2", "ComboBox", "combobox.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.2.1", "Text", "comboboxtext.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.2.2", "Clear", "comboboxclear.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.2.3", "AddStrings", "comboboxaddstrings.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.2.4", "Add", "comboboxadd.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.2.5", "Create", "comboboxcreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.3", "Visual Object Example2", "visualobjectexample2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.4", "Visual Object Example1", "visualobjectexample1.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.5", "BitButton", "bitbutton.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.5.1", "Create", "bitbuttoncreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.5.2", "ModalResult", "modalresult.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.5.3", "Kind", "kind.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6", "Form", "form.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.6.1", "Create", "formcreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6.2", "BorderStyle", "borderstyle.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6.3", "Font", "font.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.6.3.1", "Height", "fontheight.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6.3.2", "Style", "style.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6.3.3", "Name", "name.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6.4", "Caption", "caption.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6.5", "Height", "heigth.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6.6", "Left", "left.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6.7", "Top", "top.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.6.8", "Width", "width.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.7", "CheckBox", "checkbox.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.7.1", "Create", "checkboxcreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.7.2", "Checked", "checkboxchecked.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.8", "EditField", "editfield.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.8.1", "Text", "editfieldtext.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.8.2", "Create", "editcreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.9", "Label", "label.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.9.1", "Create", "labelcreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.10", "ListBox", "listbox.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.10.1", "Clear", "listboxclear.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.10.2", "Create", "listboxcreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.10.3", "GetSelLineIndex", "listboxgetsellineindex.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.10.4", "GetSelLine", "listboxgetselline.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.10.5", "AddStrings", "listboxaddstrings.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.10.6", "Add", "listboxadd.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.11", "Memo", "memo.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.11.1", "Clear", "memoclear.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.11.2", "Create", "memocreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.11.3", "Add", "memoadd.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.11.4", "AddStrings", "memoaddstrings.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.11.5", "GetMemoText", "getmemotext.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.11.6", "GetSelText", "memogetseltext.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.4.12", "RadioButton", "radiobutton.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.4.12.1", "Create", "radiobuttoncreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.5", "Navigate trough sequence", "navigatetroughsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.6", "AutoConnection", "autoconnection.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.7", "New Sequence", "newsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.8", "Save sequence", "savesequence2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.9", "Open sequence", "opensequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.10", "Winsis modes", "winsismodes.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.11", "Run Sequenses", "runsequenses.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.11.1", "Run Sequence", "runsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.11.2", "Run Sequence From Selected Object", "runsequencefromselectedobj.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12", "Creating sequences", "ind80b7ok.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.12.1", "MouseCode Function", "mousecode.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.12.1.1", "FuncDir", "funcdir.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.12.1.1.1", "Add FuncDir", "addfuncdir.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.1.1.2", "Rem FuncDir", "remfuncdir.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.1.1.3", "Create a New FuncDir", "createanewfuncdir.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.1.2", "Calling functions / procedures", "callingfunctionsprocedures.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.1.3", "Delete Function/Procedure from MouseCode", "deletefunctionprocedurefrom.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.1.4", "Addind new Function/Procedure for MouseCode", "addindnewfunctionprocedure.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.1.5", "MouseCode", "mousecode2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.2", "Creating sequence  from ClipBoard", "creatingsequencefromclipbo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.3", "Creating sequence  from Winfiol Log file or Winfiol Cmd file", "creatingsequencefromwinfio.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.4", "Creating sequence by mouse", "_4cif_.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.5", "Record sequence from Winfiol", "lg9839.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.12.5.1", "Record to Existing Sequence", "recordtoexistingsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.12.5.2", "Record to New Sequence", "recordtonewsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13", "Main window", "mainwindow.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.1", "Flow Chart window", "flowchartwindow.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.1.1", "Add Object to Flow Chart Window", "addobjecttoflowchartwindo.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.1.1.1", "Using Copy Paste", "usingcopypaste.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.1.1.2", "Insert object when AutoCon is on", "insertobjectwhenautoinsert.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.1.1.3", "Insert object when AutoCon is off", "insertobjectwhenautoinsert2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.1.2", "Disconnect Objects", "disconnectobjects.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.1.3", "Connect Objects", "_e1jna.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.1.4", "Connection types", "id_j9tqpt.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.2", "Main Window menus", "mainwindowmenus.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.2.1", "Setup", "setup.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.2.2", "Sequence Path", "sequencepath.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.2.3", "Add Sequence", "addsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.2.4", "Delete Selected Sequence", "deleteselectedsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.2.5", "Insert Sequence", "insertsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.2.6", "Copy Objects", "copyobjects.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.2.7", "Paste Objects", "pasteobjects.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.2.8", "Select Objects", "selectobjects.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3", "Main window Buttons and Menus", "buttonsandmenus.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.3.1", "Favourite Directorys", "favouritedirectorys.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.3.1.1", "Remove Favourite Directory", "removefavouritedirectory.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.1.2", "Add Favourite Directory", "addfavouritedirectory.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.3.1.2.1", "Create a new directory and select that one", "createanewdirectoryandsel.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.3.1.2.1.1", "Create a new SubDirectory", "createanewsudirectory.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.1.2.2", "Select the favourite directory from existing ones", "selectthefavouritedirectory.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.1.3", "Check the path of Favourite directory", "checkthepathoffavouritedi.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.1.4", "Change Favourite Directory", "changefavouritedirectory.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.2", "Save Sequence", "savesequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.3", "Edit Script Mode", "editscriptmode.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.4", "Edit Script Window", "editscriptwindow.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.3.4.1", "Command with selectable result handling", "commandwithselectableresult.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.4.2", "Script Description", "scriptdescription.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.4.3", "Edit Script menus", "editscriptmenus.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.3.4.3.1", "Syntax check", "syntaxcheck.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.4.3.2", "From Clipboard to Object", "fromclipboardtoobject.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.4.3.3", "From Logfile To Object", "logfiletoobject.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.4.3.4", "Record to Object", "recordtoobject.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.4.3.5", "Edit Script Window Popups", "editscriptwindowpopups.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.4.3.6", "CreateVar", "createvar.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.4.3.7", "Debug Window", "debugwindow.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.5", "Connect / UnConnect Mode", "connectunconnectmode.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.6", "Delete Mode", "deletemode.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.7", "Move Object mode", "moveobjectmode.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.8", "Select Group Mode", "selectgroupmode.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.3.8.1", "Moving Group", "movinggroup.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.9", "Select Object mode", "selectobjectmode.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.3.10", "View Object note Mode", "editcommandmode.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.4.13.3.10.1", "Object Info Window", "objectinfowindow.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.4", "Connect to WinFiol", "connecttowinfiol.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.13.5", "Sequence db window", "fk0vjp.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4.14", "Implementation Instruction / Sequence", "id3qbxgr.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.5", "Sequence objects", "ind0ch_qp.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.5.1", "Receive Printout Object", "receiveprintoutobject.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.5.2", "Command Object", "idh2s9wli.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.5.3", "Sequence Object", "indhktye1.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.5.4", "Start / Stop Objects", "startstopobjects.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.6", "Examples", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.6.1", "Examples", "id_0_dgfd.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.6.2", "Read all rp states in exchange", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.6.2.1", "Read all rp states in exchange", "indgkgbus.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.6.2.2", "1object1", "ind5y4xft.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.6.2.3", "1Object2", "ind5y4xfu.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.6.2.4", "1object3", "ind5y4xfv.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7", "Pascal script help", "con0rgr8a.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.7.1", "WinFiol DDE Procedures", "winfiolddefunctions.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.7.1.1", "WFFindDoc", "wffinddoc.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.2", "WFLoadFile", "wfloadfile.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.3", "WFLogClose", "wflogclose.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.4", "WFLogAppend", "wflogappend.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.5", "WFLogCreate", "wflogcreate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.6", "WFTemplate", "wftemplate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.7", "WFTransmit", "wftransmit.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.8", "WFBreak", "wfbreak.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.9", "WFRelease", "wfrelease.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.10", "WFConnect", "wfconnect.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.11", "WFActivate", "wfactivate.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.12", "WFRestore", "wfrestore.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.13", "WFMaximize", "wfmaximize.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.14", "WFClose", "wfclose.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.1.15", "WFMinimize", "wfminimize.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2", "Procedures and Functions", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.7.2.1", "Procedures and Functions", "77f5gw.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.2", "Dec", "dec.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.3", "Inc", "inc.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.4", "Copy", "copy.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.5", "Delete", "delete.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.6", "Insert", "insert.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.7", "Pos", "pos.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.8", "Length", "length.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.9", "Uppercase", "conc0w4qy.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.10", "LowerCase", "_adoc5.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.11", "IntToStr", "aq44fa.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.12", "IntToHex", "aq3t7g.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.13", "StrToInt", "703mbh.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.14", "Beep", "beep.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.15", "Round", "round.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.16", "Trunc", "trunc.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.17", "CompareStr", "h1p0yv.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.18", "AnsiCompareText", "5stpjs.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.19", "AnsiUpperCase", "b75yp2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.20", "AnsiLowerCase", "conkarcvi.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.21", "AnsiCompareStr", "id_c14p7j.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.22", "CompareText", "ind12f_y8.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.23", "Trim", "trim.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.24", "TrimLeft", "85_9k0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.25", "TrimRight", "l20pzp.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.26", "IsValidIdent", "gv5f8j.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.27", "StrToIntDef", "cn84r05p.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.28", "FloatToStr", "eo__to.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.29", "FormatFloat", "con9mex77.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.30", "StrToFloat", "id_d4mccw.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.31", "EncodeDate", "indff_xmr.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.32", "DecodeDate", "gsrb9m.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.33", "EncodeTime", "indffm5fr.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.34", "DecodeTime", "gt7j2m.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.35", "DayOfWeek", "conavg6uf.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.36", "Date", "date.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.37", "Time", "time.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.38", "Now", "now.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.39", "IncMonth", "j3zf7.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.40", "IsLeapYear", "ind7_r81n.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.41", "DateToStr", "1a7ihb.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.42", "TimeToStr", "lrl2sh.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.43", "DateTimeToStr", "hqj4ht.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.44", "StrToDate", "bwq05q.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.45", "StrToDateTime", "indhl3hz9.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.46", "StrToTime", "bx6ayq.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.47", "FormatDateTime", "7imy_p.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.48", "VarIsNull", "id_f1tosw.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.2.49", "InputQuery", "indepamqu.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3", "Special Procedures and Functions", "datahandlingprocedures.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.7.3.1", "GetWinsisPath", "getwinsispath.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.2", "RowExistsOnSelRowOnList", "ifrowexistsonselrowonlist.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.3", "PauseSequence", "pausesequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.4", "StopSequence", "stopsequence.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.5", "GetMainWindowLeft", "getmainwindowleft.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.6", "GetMainWindowTop", "getmainwindowtop.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.7", "WriteListToFile", "writelisttofile.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.8", "DeleteAllRowsNotContain", "deleteallrowsnotcontain.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.9", "DeleteAllRowsContain", "deleteallrowscontain.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.10", "AddAllRowsContain", "addallrowscontain.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.11", "AddAllRowsNotContain", "addallrowsnotcontain.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.12", "WriteToList", "writetolist.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.13", "CreateBitBtn", "createbitbtn.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.14", "CreateCheckBox", "createcheckbox.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.15", "CreateEdit", "createedit.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.16", "CreateForm", "createform.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.17", "CreateLabel", "createlabel.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.18", "CreateListBox", "createlistbox.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.19", "CreateRadioButton", "createradiobutton.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.20", "ClearList", "b_5jnf.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.21", "Connect", "1cjrn2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.22", "ColumnFromList", "columnfromlist.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.23", "Columnize", "columnize.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.24", "FetchAllRowsContain", "fetchallrowscontain.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.25", "FetcAllRowsNotContain", "fetcallrowsnotcontain.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.26", "FetchPar", "fetchpar.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.27", "GetListCount", "getlistcount.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.28", "GetPar", "getpar.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.29", "HideView", "hideview.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.30", "ListOff", "2q67mv.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.31", "ListOn", "liston.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.32", "ListToList", "listtolist.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.33", "ReadList", "8azq_h.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.34", "ReadListfromfile", "23zjxu.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.35", "Release", "fugxkv.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.36", "RowExistsOnList", "rowexistsonlist.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.37", "RowFromList", "indhz_6_y.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.38", "SendCommand", "sendcommand.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.39", "RowToList", "indht3hf_.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.40", "SetNo", "setno.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.41", "SetPar", "6_hpub.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.42", "SetYes", "6_hyyc.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.43", "ShowMessage", "ind4rzcp.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.44", "ShowView", "showview.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.45", "UpdateRowInList", "updaterowinlist.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7.3.46", "ViewList", "_yqff8.htm", "", "cicon9.gif", "");
showNumbers = false,
textSizes = new Array(1, 1, 0.7, 0.7),
tocBehaviour = new Array(1,1),
tocScroll=false,
tocLinks = new Array(1,0);
var isIE = navigator.appName.toLowerCase().indexOf("explorer") > -1;
var mdi = (isIE) ? textSizes[1]:textSizes[3];
var sml = (isIE) ? textSizes[2]:textSizes[4];
var oldCurrentNumber = "", oldLastVisitNumber = "";
var toDisplay = new Array();
for (ir=0; ir<tocTab.length; ir++) {
toDisplay[ir] = tocTab[ir][0].split(".").length==1;
}
function reDisplay(currentNumber,tocChange,noLink,e) {
if (e) {
ctrlKeyDown = (isIE) ? e.ctrlKey : (e.modifiers==2);
if (tocChange && ctrlKeyDown) tocChange = 2;
}
toc.document.clear();
toc.document.write("<html>\n\r<head></head>\n\r<style type=\"text/css\">\n\r       SPAN.heading1 { font-family: Top; font-weight: normal; font-size: pt; color: #000000; text-decoration: none }\n\r       SPAN.heading2 { font-family: Previous; font-weight: normal; font-size: pt; color: #000000; text-decoration: none }\n\r       SPAN.heading3 { font-family: Next; font-weight: normal; font-size: pt; color: #000000; text-decoration: none }\n\r       SPAN.heading4 { font-family: Helvetica,Arial; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r       SPAN.heading5 { font-family: Helvetica,Arial; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r       SPAN.heading6 { font-family: Helvetica,Arial; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r\n\r       SPAN.hilight1 { font-family: Top; font-weight: normal; font-size: pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight2 { font-family: Previous; font-weight: normal; font-size: pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight3 { font-family: Next; font-weight: normal; font-size: pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight4 { font-family: Helvetica,Arial; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight5 { font-family: Helvetica,Arial; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight6 { font-family: Helvetica,Arial; 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=\"Top\" size=\"4\"><b>\n\rWinsis Studio\n\r  </b></font>\n\r  <br>\n\r  <br>\n\r\n\r  <!-- Place holder for the TOC, do not delete the line below -->\n\r  ");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][2] == currentNumber && tocTab[i][2] != "") {
currentIndex = i;
break;
}
if (tocTab[i][0] == currentNumber) {
currentIndex = i;
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);
}
}
}
var scrollY=0, addScroll=tocScroll;
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"));
if (addScroll) scrollY+=((thisLevel<2)?mdi:sml)*25;
if (isCurrent) addScroll=false;
toc.document.write("<table border=0 cellspacing=0 cellpadding=2>");
toc.document.write("<tr><td width=" + ((thisLevel+1) * 20) + " align=right valign=top>");
toc.document.write("<a href=\"javaScript:history.go(0)\" onMouseDown=\"parent.reDisplay('" + thisNumber + "'," + tocBehaviour[0] + "," + tocLinks[0] + ",event)\">");
toc.document.write("<img src=\"" + img + "\" border=0></a>");
toc.document.write("</td><td align=left>");
toc.document.write("<a href=\"javaScript:history.go(0)\" onMouseDown=\"parent.reDisplay('" + thisNumber + "'," + tocBehaviour[1] + "," + tocLinks[1] + ",event)\">");
toc.document.write("<span class=\""  + thisTextClass + ((thisLevel>5) ? 6 : thisLevel+1) + "\">");
toc.document.write( ((showNumbers)?(thisNumber+" "):"") + tocTab[i][1]);
toc.document.write("</span></a>");
toc.document.writeln("</td></tr></table>");
}
}
if (!noLink) {
oldLastVisitNumber = oldCurrentNumber;
oldCurrentNumber = currentNumber;
}
toc.document.write("\n\r\n\r  <br>\n\r  <hr>\n\r  <font face=\"Top\" size=\"1\">\n\r&copy; 2003 ... TLSoftware\n\r  </font>\n\r</body>\n\r</html>\n\r");
toc.document.close();
if (tocScroll) toc.scroll(0,scrollY);
if (theHref)
if (theTarget=="top") top.location.href = theHref;
else if (theTarget=="parent") parent.location.href = theHref;
else if (theTarget=="blank") open(theHref,"");
else content.location.href = theHref;
}

