//---------------------------------------------------------------------------
// 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", "Fundamentos do SimuPLC", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.1", "O Que &eacute; o SimuPLC?", "fundamentos.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.2", "O SimuPLC 2.0.0", "osimuplc2_0_0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.3", "O SimuPLC 2.1.0", "simuplc2_1_0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.4", "O SimuPLC 2.1.1", "osimuplc2_1_1.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.5", "O SimuPLC 3.0.0", "osimuplc3_0_0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.6", "O SimuPLC 3.1.0", "osimuplc3_1_0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.7", "O SimuPLC 3.2.0", "osimuplc3_2_0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.8", "O SimuPLC 3.3.0", "osimuplc3_3_0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.9", "O SimuPLC 4.0.0", "osimuplc4_0_0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.10", "O SimuPLC 4.1.0", "osimuplc4_1_0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.11", "Linguagem de Comandos El&eacute;tricos - LCE", "lce.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.12", "Lista de Instru&ccedil;&otilde;es - IL", "listadeinstruções.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.13", "Instru&ccedil;&otilde;es L&oacute;gicas de Bits B&aacute;sicas", "instruçõeslógicasdebitsbás.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("1.14", "Vari&aacute;veis e Tipos", "var_e_tipos.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2", "Opera&ccedil;&atilde;o do Simulador", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.1", "Vis&atilde;o Geral", "menu.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2", "Menu", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.1", "Arquivo", "arquivo.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.1.1", "Novo", "novo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.2", "Abrir", "abrir.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.3", "Salvar", "salvar.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.4", "Salvar Como", "salvarcomo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.5", "Salvar IL Gerada", "salvarilgerada.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.6", "Compilar", "compilar.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.7", "Checar Vari&aacute;veis N&atilde;o Associadas", "checarvariávelnãoassociada.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.8", "Limpar Entradas", "limparentradas.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.9", "Mostrar Programa-Fonte LCE", "mostrarprograma_fontelce.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.10", "Visualizar IL", "visualizaril.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.11", "Imprimir", "imprimir.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.12", "Sair", "sair.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.1.13", "ArqRecentes", "arqrecentes.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2", "Edi&ccedil;&atilde;o", "edição.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.2.1", "Desfaz Altera&ccedil;&atilde;o", "desfazalteração.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.2", "Localiza/Substitui Texto ...", "localizatexto___.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.3", "Substitui Texto...", "substituitexto___.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.4", "Copia", "copia.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.5", "Recorta", "recorta.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.6", "Cola", "cola.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.7", "Copia Tudo", "copiatudo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.8", "Cola Tudo", "colatudo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.9", "Formata Texto-Fonte", "formata_texto_fonte.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.10", "Altera Fonte do Texto Selecionado ...", "alterafontedotextoselecion.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.11", "Personaliza Fontes/Cores", "personalizafontescores.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.12", "Salva/Abre Configura&ccedil;&atilde;o", "salvaabreconfiguração.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.13", "Configura&ccedil;&otilde;es Padr&atilde;o", "configuraçõespadrão.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.14", "Oculta Barra de Ferramentas", "ocultabarradeferramentas.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.15", "Cores LEDs", "coresleds.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.16", "Traduz C&oacute;digo-Fonte", "traduzcódigo_fonte.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.2.17", "AIW16-AIW31", "aiw16_aiw31.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.3", "Run Modo", "runmodo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.4", "M&uacute;ltiplos Ciclos", "múltiplosciclos.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.5", "Passo a Passo", "passoapasso.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.6", "Inicia", "inicia.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.7", "Tela Maior", "telamaior.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.8", "V&ecirc; Ciclo", "vêciclo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.9", "Var. Programa", "varprograma.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10", "Comandos El&eacute;tricos", "comandoselétricos.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.10.1", "Rede", "rede.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.2", "Se", "se.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.3", "Atribui&ccedil;&atilde;o de Valor &Uacute;nico", "atribuiçãodevariáveis.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.4", "Atribui&ccedil;&atilde;o de Express&atilde;o", "atribuiçãodeexpressão.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.5", "Opera&ccedil;&otilde;es de Comutadores", "operaçõesdecomutadores.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.6", "Opera&ccedil;&otilde;es Matem&aacute;ticas", "operaçõesmatemáticas.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.7", "Opera&ccedil;&otilde;es L&oacute;gicas", "operaçõeslógicas.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.8", "Controle da Execu&ccedil;&atilde;o", "controledaexecução.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.9", "Temporizadores", "temporizadores.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.10", "Contadores", "contadores.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.11", "Contadores R&aacute;pidos", "contadoresrápidos.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12", "Comandos em Linguagem IL", "comandosemlinguagemil.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.10.12.1", "NETWORK", "network.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.2", "LD", "ld.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.3", "AENO e AOVFLOW", "aenoeaovflow.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.4", "AND e OR", "andeor.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.5", "ST", "st.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.6", "Timers - TON, TOF, TONR e TOFR", "timers_tontoftonretofr.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.7", "Counters - CU, CD e CUD", "counters_ctu_ctd_ctud.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.8", "LPS, LRD e LPP", "lpslrdelpp.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.9", "ALD e OLD", "aldeold.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.10", "EU e ED", "eueed.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.11", "NOT", "not.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.12", "JMP e LBL", "jmpelbl.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.13", "FOR e NEXT", "forenext.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.14", "CALL, SBR E CRET", "callsbrecret.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.15", "LSCR, SCRT e SCRE", "lscrscrtescre.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.16", "STOP e END", "stopeend.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.17", "SWAP", "swap.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.18", "TRUNC e ROUND", "trunceround.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.19", "MUL e DIV", "mulediv.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.20", "BCDI e IBCD", "bcdieibcd.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.21", "SDirTipo e RDirTipo", "sdirtipoerdirtipo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.22", "opTipo", "optipo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.23", "MOVTipo", "movtipo.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.24", "Tipo1TTipo2", "tipo1ttipo2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.25", "AND, OR e XOR", "andorexor.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.26", "INV", "inv.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.27", "INC e DEC", "incedec.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.28", "DECO e ENCO", "decoeenco.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.29", "SEG", "seg.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.30", "SPID1, SPID2, SPID3 e PID", "spid1spid2spid3epid.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.31", "SQRT", "sqrt.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.32", "SIN", "sin.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.33", "COS", "cos.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.34", "TAN", "tan.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.35", "LN", "ln.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.36", "RAND", "rand.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.37", "EXP", "exp.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.38", "MOD", "mod.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.39", "NOP", "nop.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.40", "Var.Significativa", "var_significativa.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.41", "ENI e DISI", "eniedisi.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.42", "ATCH e DTCH", "atchedtch.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.43", "INT e CRETI", "intcreti.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.44", "RCV e XMT", "xmtercv.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.45", "WDR", "wdr.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.46", "O_COM", "o_com.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.47", "S_COM", "s_com.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.48", "B.COM", "b_com.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.12.49", "C_COM", "c_com.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.13", "Tipos de Condi&ccedil;&atilde;o", "tiposdecondição.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.14", "PID - Controles em Loop", "pid_controlesemloop.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.15", "Vari&aacute;veis Cronol&oacute;gicas", "variáveiscronológicas.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.16", "Tratamento de Interrup&ccedil;&otilde;es", "tratamentodeinterrupções.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.10.16.1", "Habilita Interrup&ccedil;&otilde;es", "habilitainterrupções.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.16.2", "Desabilita Interrup&ccedil;&otilde;es", "desabilitainterrupções.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.16.3", "Vincula Tratador de Interrup&ccedil;&atilde;o a Evento", "vinculaeventoatratadordei.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.16.4", "Desvincula Evento", "desvinculaevento.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.16.5", "Eventos de Interrup&ccedil;&atilde;o", "eventosdeinterrupção.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.16.6", "Defini&ccedil;&atilde;o de Tratador de Interrup&ccedil;&atilde;o", "definiçãodetratadordeinter.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.17", "Comunica&ccedil;&atilde;o pelos Ports Virtuais", "comunicaçãopelosports.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.10.17.1", "Recebe Byte do Port 0 ou 1", "recebebytedoport0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.17.2", "Transmite Byte no Port 0 ou 1", "transmitebytenoport0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.18", "Erro WatchDog", "watchdog_timer_error.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.10.18.1", "WatchDog Reset", "watchdog_timer_reset.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.18.2", "Tempo M&aacute;ximo do Ciclo de Varredura ...", "tempomáximodociclodevarre.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19", "SoftPLC - E/S Real nos Ports COM e LPT1", "softplc_esrealnosportsc.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.10.19.1", "Abre Port COM (RS-232C)", "abreportcom(rs_232c).htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.2", "Ajusta Baud Rate de Port COM", "ajustabaudratedeportcom.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.3", "Transmite Byte em Port COM", "transmitebyteemportcom.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.4", "Fecha Port COM", "fechaportcom(rs_232c).htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.5", "Eventos de Interrup&ccedil;&atilde;o do SoftPLC", "eventosdeinterrupçãodosoft.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.10.19.5.1", "Recep&ccedil;&atilde;o de Byte em Port COM", "recepcaodebyteemcom.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.5.2", "Transmiss&atilde;o Finalizada em Port COM", "transmissãofinalizadaemcom.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.5.3", "Ocorreu Erro em Port COM", "ocorreuerroemportcom.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.6", "Vari&aacute;veis Referentes aos Ports COM1 a COM4", "variáveisreferentesaosports.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.10.19.6.1", "Port COM Est&aacute; Aberto", "portestáaberto.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.6.2", "Chegou Byte em Port COM", "chegoubyteemport.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.6.3", "Byte Recebido em Port COM", "byterecebidoemport.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.6.4", "Bits Recebidos em Port COM", "bitrecebidoemport(apenasd.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.6.5", "Transmiss&atilde;o Terminada em Port COM", "transmissãoterminadaemport.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.6.6", "Ocorreu Erro em Port COM", "ocorreuerroemport.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.7", "Vari&aacute;veis Referentes ao Port LPT1", "variáveisreferentesaoport.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.10.19.7.1", "Pinos de Sa&iacute;da", "pinosdesaída.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.7.2", "Pinos de Entrada", "pinosdeentrada.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.7.3", "Byte de Sa&iacute;da", "bytedesaída.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.10.19.7.4", "Valor de Entrada (5 bits)", "valordeentrada(5bits).htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.11", "Plantas Virtuais", "plantasvirtuais.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.12", "E/S", "io.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.13", "SoftPLC", "softplc.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.2.13.1", "Configura&ccedil;&atilde;o Manual dos Ports de Comunica&ccedil;&atilde;o", "configuraçãomanualdosports.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.13.2", "Abre Manualmente Port", "abremanualmenteport.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.13.3", "Fecha Manualmente Port", "fechamanualmenteport.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.13.4", "Envia Manualmente Byte IB0", "enviamanualmentebyteib0.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.13.5", "Ativa/Desativa Port LPT1", "ativadesativaportlpt1.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.14", "Ajuda?", "ajuda.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.2.15", "English/Portugu&ecirc;s", "english_português.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.3", "Entradas e Sa&iacute;das de Bit", "entradasesaídasdebit.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.4", "Entradas e Sa&iacute;das Anal&oacute;gicas", "entsaianalógicas.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.5", "Ciclo de Varredura Corrente", "ciclodescancorrente.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.6", "Barras de Rolagem do Diagrama", "barrasderolagemdodiagrama.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.7", "Dura&ccedil;&atilde;o do Ciclo de Scan", "duraçãodociclodescan.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.8", "clp e var", "clpevar.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.9", "Coment&aacute;rios na LCE", "comentárioslce.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("2.10", "Coment&aacute;rios na IL", "comentáriosnail.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("3", "Palavras Reservadas", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.1", "Palavras Reservadas e Sin&ocirc;nimos - LCE", "palavrasreservadas_lce.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("3.2", "Palavras Reservadas - IL", "palavrasreservadas_il.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4", "Plantas Virtuais", "plantassimuladas.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.1", "Tanques de L&iacute;quidos Simulados", "tanquesdelíquidossimulados.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.1.1", "V&aacute;lvulas de Alimenta&ccedil;&atilde;o", "válvulasdealimentação.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.2", "V&aacute;lvulas de Escoamento", "válvulasdeescoamento.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.3", "Agitador ou Misturador", "misturador.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.4", "Aquecedor/Resfriador", "aquecedorresfriador.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.5", "Term&ocirc;metro", "termômetro.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.6", "Sensor de N&iacute;vel", "sensordenível.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.7", "B&oacute;ias", "bóias.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.8", "Menu Principal dos Tanques", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.1.8.1", "Liga/Desliga SimuPLC", "ligasimuplc.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.8.2", "Configura&ccedil;&atilde;o", "configuração.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.8.3", "Cores dos L&iacute;quidos", "coresdoslíquidos.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.8.4", "ReInicia Planta", "reiniciaaplanta.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.8.5", "Reset Planta", "resetaaplanta.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.8.6", "Oculta Planta", "ocultaaplanta.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.8.7", "ReDesenha a Planta", "redesenhaaplanta.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.8.8", "Ajuda?", "ajuda2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.1.8.9", "English/Portugu&ecirc;s", "english.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2", "Elevador Simulado", "elevadorsimulado.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.2.1", "Controles da Cabine", "controlesdacabine.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.2", "A&ccedil;&otilde;es dos Usu&aacute;rios", "açõesdosusuários.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.3", "Sinaliza&ccedil;&atilde;o nos Andares", "sinalizaçãonosandares.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.4", "Comandos Sobre a Cabine", "comandossobreacabine.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.5", "Chamando a Cabine", "chamandoacabine.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6", "Menu Principal do Elevador", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.2.6.1", "Liga/Desliga SimuPLC", "ligadesligasimuplc.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6.2", "Reset Erro/Emerg&ecirc;ncia", "resetaerro.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6.3", "Configura&ccedil;&atilde;o", "configuração2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6.4", "ReInicia Planta", "reiniciaaplanta2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6.5", "Reset Planta", "resetaaplanta2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6.6", "Oculta Planta", "ocultaaplanta2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6.7", "ReDesenha a Planta", "redesenhaaplanta2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6.8", "Velocidade da Cabine", "velocidadedacabine.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6.9", "Ajuda?", "ajuda3.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.2.6.10", "English/Portugu&ecirc;s", "englishportuguês.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3", "Rob&ocirc;s Cooperativos Simulados", "robôscooperativossimulados.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.3.1", "Manufatura Robotizada Simulada", "manufaturarobotizadasimulada.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.2", "Defini&ccedil;&atilde;o da Pe&ccedil;a a Ser Montada", "definiçãodapeçaasermontad.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.3", "Defini&ccedil;&atilde;o da Origem e Destino da Pe&ccedil;a", "defineorigemedestinodapeç.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.4", "Coloca&ccedil;&atilde;o na Planta Virtual da Pe&ccedil;a a Ser Montada", "colocapeçaasermontada.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.5", "Controles de Movimento dos Rob&ocirc;s", "controlesdemovimento.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.6", "Sensoreamento da Pe&ccedil;a e dos Rob&ocirc;s", "sensoreamentodapeçaedosro.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.7", "Menu Principal dos Rob&ocirc;s Cooperativos", "", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.8", "Liga/Desliga SimuPLC", "ligadesligasimuplc2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.9", "Configura&ccedil;&atilde;o", "configuração3.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.10", "ReInicia Planta", "reiniciaplanta.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.11", "Reset Planta", "resetplanta.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.12", "Oculta Planta", "ocultaplanta.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.13", "ReDesenha a Planta", "redesenhaaplanta3.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.14", "Rastro Vis&iacute;vel / Invis&iacute;vel", "rastrovisível.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.15", "Apaga Rastro", "apagarastro.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.16", "Ajuda?", "ajuda4.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.3.17", "English/Portugu&ecirc;s", "englishportuguês2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4", "Mini-Esteira com Motor de Passos Simulada", "esteiracommotordepassosim.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.4.1", "Enchimento Autom&aacute;tico de Garrafas", "enchimentodegarrafas.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.2", "Defini&ccedil;&atilde;o do Motor de Passo", "definiçãodomotordepasso.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.3", "Defini&ccedil;&atilde;o da Garrafa", "definiçãodagarrafa.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.4", "Coloca&ccedil;&atilde;o e Remo&ccedil;&atilde;o de Garrafa na Esteira Virtual", "colocaçãodegarrafanaesteir.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.5", "Controle do Movimento da Esteira", "controlesdemovimentodaeste.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.6", "Controle do Alimentador de L&iacute;quidos", "alimentadordelíquidos.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.7", "Sensoreamento da Esteira e da Garrafa a Ser ou Sendo Enchida", "sensoreamentodaesteiraeda.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.8", "Menu Principal da Mini-Esteira", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.4.8.1", "Liga/Desliga SimuPLC", "ligadesligasimuplc3.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.8.2", "Reset Erro de Comando", "reseterrodecomando.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.8.3", "Configura&ccedil;&atilde;o", "configuração4.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.8.4", "ReInicia Planta", "reiniciaplanta2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.8.5", "Reset Planta", "resetplanta2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.8.6", "Oculta Planta", "ocultaplanta2.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.8.7", "ReDesenha a Planta", "redesenhaaplanta4.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.8.8", "Ajuda?", "ajuda5.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("4.4.8.9", "English/Portugu&ecirc;s", "englishportuguês3.htm", "", "cicon9.gif", "");
tocTab[ir++] = new Array ("5", "SoftPLC - Conceito", "softplc2.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5.1", "SoftPLC", "softplc3.htm", "", "cicon9.gif", "");
showNumbers = false,
textSizes = new Array(1, 1, 0.7, 0.7),
tocBehaviour = new Array(1,1),
tocScroll=true,
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\rSimulador de PLC - SimuPLC 4.1.0\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 = 1;
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\rCopyright &copy; 2002 Andr&eacute; Luiz Barbosa<br><br>Registro INPI n&ordm; 00044692<br><br>Web Site: www.andrebarbosa.eti.br\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;
}

