Vous êtes sur la page 1sur 29

<!-- template.

jsp -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Tribunal de Justia do Estado de So Paulo</title> <meta http-equiv="Content-Type" content="text/html; charset=iso8859-1"/> <meta http-equiv="Cache-Control" content="post-check=0, pre-chec k=0" /> <!-The "Cache-Control" http-equiv meta-tag was introduced in the HTTP/1.1 specification. The allowed "content" values include: * public - may be cached in public shared caches * private - may only be cached in private (client) cache * no-cache - may not be cached * no-store - may be cached but no archived Cache-Control modifiers include: * no-transform - proxy servers are not allowed to transform the cached data. * must-revalidate - proxy servers and other caching mechanisms must revalidate the original file each time the file is accessed. * proxy-revalidate - same as must-revalidate, but it only applies to proxy servers. * max-age=<seconds> - client/browser is willing to accept a page that is more recent than the number of seconds indicated. * s-maxage=<seconds> - same as max-age but applies to shared proxy servers and other shared caching mechanisms. The directive CACHE-CONTROL:NO-CACHE indicates cached information should not be used and instead requests should be forwarded to the origin server. This directive has the same semantics as the PRAGMA:NO-CACHE. Clients/Browsers SHOULD include both "pragma no-cache" and "cache-control no-cache" http-equiv meta-tags when used with a server not known to be HTTP/1.1 compliant. --> <meta http-equiv="cache-control" content="no-cache, must-revalid ate"/> <!-The "pragma no-cache" http-equiv meta-tag was introduced in the HTTP/1.1 specification. Not all browsers or proxy agents may support these operations. To be safe you may want to specify both expires and pragma in the file. --> <meta http-equiv="Pragma" content="no-cache"/> <!-The "expires" "http-equiv" meta-tag can be used to control the cacheing of pages with Netscape 3.0 and later browsers. The 'content="0"' form tells the browser to not cache the

page at all. --> <META HTTP-EQUIV="EXPIRES" CONTENT="0"/> <link href= "./include/theme/displayTag-estilo.css" rel="stylesh eet" type="text/css"> <link href= "./include/theme/estilo.css" rel="stylesheet" type=" text/css"> <script src="./include/script/vec_funcoes.js" type="text/javascr ipt" language="JavaScript"></script> <script src="./include/script/ajax/util.js" type="text/javascrip t" language="JavaScript"></script> <!-- commonxp include [js=./include/script/ajax/prototype.js] -><script type="text/javascript" language="JavaScript" src="./include/script/ajax /prototype.js"></script> <!-- commonxp include [js=./include/script/vec_funcoes_multa.js] --><script type="text/javascript" language="JavaScript" src="./include/script/v ec_funcoes_multa.js"></script> <!-- commonxp include [js=./include/script/mascaras.js] --><scri pt type="text/javascript" language="JavaScript" src="./include/script/mascaras.j s"></script>

<script language="JavaScript" src="./include/script/ajax/common. js"></script> <script language="JavaScript" src="./include/script/ajax/subModa l.js"></script> <link rel="stylesheet" type="text/css" href="./include/theme/sub Modal.css"/> <script> function doUnload() { if (window.event.clientX < 0 && window.event.cli entY < 0) { window.open("http://intinfo.tj.sp.gov.br :80/vec/logout.view"); } } </script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgco lor="#FFFFFF" onunload="doUnload()">

<link rel="stylesheet" href="./include/theme/jquery.dropdown.css" type="text/css " media="screen, projection"/> <!--[if lte IE 7]> <link rel="stylesheet" type="text/css" href="./include/theme/jquery.drop down.ie7.css" media="screen" />

<![endif]--> <!--[if IE]> <link rel="stylesheet" type="text/css" href="./include/theme/jquery.dropdown.ie. css" media="screen" /> <![endif]--> <script type="text/javascript" language="javascript" src="./include/script/jquer y/jquery.dropdownPlain.js"></script> <script type="text/javascript" language="JavaScript" > function rejeitaTecla(oEvent){ var oEvent = oEvent ? oEvent : window.event; var tecla = (oEvent.keyCode) ? oEvent.keyCode : oEvent.which; if(oEvent.type=="keydown"){ if (typeof(oEvent.keyCode)=='number' && oEvent.keyCode == 116){ if (typeof(oEvent.preventDefault)=='function'){ oEvent.preventDefault(); } else { oEvent.returnValue = false; oEvent.keyCode = 0; return false; } } if ( oEvent.ctrlKey ) { if (oEvent.keyCode == 78 ) { alert("Funo desabilitada!"); return false; } } } return true; } document.onkeydown = rejeitaTecla; function ajudaAbrirJanela() { window.open("manual/Index.PaginaInicial.html", "Online", "status=1,toolb ar=1,location=1,menubar=1,resizable=1,scrollbars=1"); } </script> <style type="text/css" media="print"> .dontprint { display: none; } </style> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="53%" height="70" background="./img/pt_BR/imgtopologo.gif"> <table width="379" border="0" cellpadding="0" cellspacing="0" background=" ./img/pt_BR/transp.gif"> <tr> <td width="101" height="50" align="left" class="textotopo">&nbsp;</td> <td width="278" align="left" class="textotopo"><b>Tribunal de Justia do Estado de So Paulo</b><br> </td> </tr> <tr> <td></td> <td height="20" class="titulopesquisa">VEC - Vara das Execu&ccedil;&ot ilde;es Criminais</td> </tr> </table>

</td> <td width="47%" align="right" background="./img/pt_BR/bgtopo.jpg"><img src=" ./img/pt_BR/imgtopomartelo.gif" width="378" height="70"></td> </tr> </table> <table width="100%"> <tr valign="top" bgcolor="#0A457F"> <td height="20" bgcolor="#0A457F" width="100%"></td> </tr> </table> <br> <div id="login" style="position:absolute; left:409px; top:33px; width:196px; hei ght:25px; z-index:2; visibility: visible;"> <table width="500" height="27" border="0" align="center" cellpadding="0" cell spacing="0"> <tr> <td class="textotopo" width="60">Login:</td> <td class="login" width="130">VEC0510005</td> </tr>

<tr> <td class="textotopo">Comarca:</td> <td class="login">Itapecerica da Serra

</td> </tr>

</table> </div> <script type="text/javascript" language="JavaScript" > function rejeitaTecla(oEvent){ var oEvent = oEvent ? oEvent : window.event; var tecla = (oEvent.keyCode) ? oEvent.keyCode : oEvent.which; if(oEvent.type=="keydown"){ if (typeof(oEvent.keyCode)=='number' && oEvent.keyCode == 116){ if (typeof(oEvent.preventDefault)=='function'){ oEvent.preventDefault();

} else { oEvent.returnValue = false; oEvent.keyCode = 0; return false; } } if ( oEvent.ctrlKey ) { if (oEvent.keyCode == 78 ) { alert("Funo desabilitada!"); return false; } } } return true; } document.onkeydown = rejeitaTecla; </script> <script type="text/javascript" language="JavaScript" > var indiceMenu; var menuAjuda; menuAjuda = ""; Menu1 = new Array("Cadastros","#","",12, 20, 80, true); Menu1_1 = new Array("Processo de Execuo","#","",2, 20, 170, true); Menu1_1_1 = new Array("Novo / Alterar / Excluir","./menu?op=./index.view","",0, 20, 160, true); Menu1_1_2 = new Array("Acervo","./menu?op=./acervo.view","",0, 20, 68, true); Menu1_2 = new Array("Execuo","./menu?op=./execucao.view","",0, 20, 0, true); Menu1_3 = new Array("Incidente","./menu?op=./incidente.view","",0, 20, 0, false) ; //Mantis 3623 Menu1_4 = new Array("Andamentos","./menu?op=./andamento.view","",0, 20, 0, true) ; Menu1_5 = new Array("Juntadas","./menu?op=./juntada.view","",0, 20, 0, true); Menu1_6 = new Array("Remessa de Documentos","./menu?op=./remessadocumento.view", "",0, 20, 0, true); Menu1_7 = new Array("Inf. Complementares","./menu?op=./infocomplementar.view","" ,0, 20, 0, true); Menu1_8 = new Array("RGs Provisrios","./menu?op=./pesquisa_rgprovisorios.view","" ,0, 20, 0, true); Menu1_9 = new Array("FAs em Lote","./menu?op=./exibir_lotesFA.do","",0, 20, 0, t rue); Menu1_10 = new Array("Internaes","./menu?op=./internacoes_lista.do","",0,20,0, fal se); Menu1_11 = new Array("Manuteno de Endereos","./menu?op=./varaAlterarEndereco.do","" ,0,20,0, true); Menu1_12 = new Array("Atualizar Qualificao","./menu?op=./buscaporrgprocesso.view", "",0,20,0, true); // Montagem menu Albergados Menu2 = new Array("Albergados","#","",6, 20, 90, true); Menu2_1 = new Array("Cadastros","./menu?op=./albergados_entrada.do","",0, 20, 0, true); Menu2_2 = new Array("Transferncias","./menu?op=./transferir_albergado_comarca_ent rada.do","",0, 20, 100, true);

Menu2_3 = new Array("Pesquisas","./menu?op=./albergados_pesq_entrada.do","",0, 2 0, 0, true); //Menu2_4 = new Array("Relatrio No Comparecimento","./menu?op=./rel_albergados_atr asos.do","",0, 20, 250, true); Menu2_4 = new Array("Relatrios No Comparecimento","./menu?op=./rel_albergados_atra sos_seleciona.do","",0, 20, 250, true); Menu2_5 = new Array("Relatrios Estatsticos","./menu?op=./relatorio_estatistico_com parecimento.do","",0, 20, 0, true); Menu2_6 = new Array("Rel. de Comparecimentos Previstos","./menu?op=./relatorio_c omparecimento_previsto.do","",0, 20, 250, true); //Menu2_7 = new Array("Imagens Cadastradas","./menu?op=./listaImgAlbergados.do", "",0, 20, 0, true); //submenu abaixo temporariamente suspenso //Menu2_7 = new Array("Imagens Rejeitadas","./menu?op=./listaAlbergadosImgRejeit ados.do","",0, 20, 0, true); Menu3 = new Array("Pesquisas","#","",7, 20, 80, true); Menu3_1 = new Array("Por Processo de Execuo","./menu?op=./pe_pesquisar_processo.vi ew","",0, 20, 190, true); Menu3_2 = new Array("Por Ru","#","",3, 20, 0, true); Menu3_2_1 = new Array("Por RG","./menu?op=./pfisica_rg.view","",0, 20, 100, true ); Menu3_2_2 = new Array("Por Nome","./menu?op=./pfisica_fonetica.view","",0, 20, 0 , true); Menu3_2_3 = new Array("Matricula SAP","./menu?op=./pfisica_matricula_sap.view"," ",0, 20, 0, true); Menu3_3 = new Array("Andamentos","./menu?op=./pandamento.view","",0, 20, 0, true ); Menu3_4 = new Array("Remessas","./menu?op=./pesquisa_remessa.do","",0, 20, 0, tr ue); Menu3_5 = new Array("Processos Criminais","./menu?op=./pesq_proc_criminal_entrad a.do","",0, 20, 0, true); Menu3_6 = new Array("Internaes", "./menu?op=./internacoes_pesquisa.do", "", 0, 20, 0, true); Menu3_7 = new Array("Expedientes", "./menu?op=./expediente_pesquisa.do", "", 0, 20, 0, true); // Menu3_8 = new Array("Consultas de Processos", "#","", 2, 20, 0, true); // Menu3_8_1 = new Array("1 Instncia", "./menu?op=./pesquisa_processo_ws.do", "", 0, 20, 100, true); // Menu3_8_2 = new Array("2 Instncia", "./menu?op=./pesquisa_processo_ws2.do", "", 0, 20, 100, true); Menu4 = new Array("Relatrios","#","",15, 20, 80, true); Menu4_1 = new Array("F.A.","./menu?op=./fa_procuradoc.view","",0, 20, 0, true); Menu4_2 = new Array("Livro dos Feitos","./menu?op=./registro_feitos_apresentar.d o","",0, 20, 0, true); Menu4_3 = new Array("Movimento Dirio","./menu?op=./rel_mov_diario_exibir.do","",0 , 20, 0, true); Menu4_4 = new Array("Vencimento de Penas","./menu?op=./rel_vencimento_pena_visua lizar.do","",0, 20, 150, true); Menu4_5 = new Array("RGs Provisrios","./menu?op=./rel_rgprovisorios.do","",0, 20, 0, true); Menu4_6 = new Array("Remessas","./menu?op=./rel_remessa.view","",0, 20, 0, true) ; Menu4_7 = new Array("Rel. Remessa de Documentos","./menu?op=./rel_remessa_doc.do ","",0, 20, 0, false); Menu4_8 = new Array("Certides","./menu?op=./emissao_certidao_apresentar.do","",0, 20, 0, true); Menu4_9 = new Array("FAs em Lote","./menu?op=./exibir_relatorio_lotesFA.do","",0

, 20, 0, true); //Menu3_9_3 = new Array("Ativos na Comarca","./menu?op=./rel_albergados_ativos_c omarca.do","",0, 20, 0, true); Menu4_10 = new Array("Internaes","./menu?op=./rel_internacoes_entrada.do", "", 0, 20, 0, true ); Menu4_11 = new Array("Rel. RDD","./menu?op=./relatorio_rdd_pesquisar.do","",0, 2 0, 0, true); Menu4_12 = new Array("Rel. de Lapso Penas","./menu?op=./relatorio_lapso_pena_pes quisar.do","",0, 20, 0, true); Menu4_13 = new Array("Rel. Penas Alternativas","./menu?op=./pesquisa_psc.view"," ",0, 20, 200, true); Menu4_14 = new Array("Expedientes","./menu?op=./expediente_relatorio.do","",0, 2 0, 0, true); //Menu4_15 = new Array("Expedientes SAP","#","",1, 20, 0, false); //Menu4_15_1 = new Array("Atestados de Penas","./menu?op=./exibirFiltrarAtestado sDePena.do","",0, 20, 130, false); Menu4_15 = new Array("Mandado de Priso","#","",2, 20, 0, true); Menu4_15_1 = new Array("Emisso Mandado","./menu?op=./emissao_mandado.do","",0, 20 , 130, true); Menu4_15_2 = new Array("Atualizar BNMP","#","",5, 20, 120, true); Menu4_15_2_1 = new Array("Mandados Pendentes","./menu?op=./atualizar_bnmp_mandad os.do?tipo=P","",0, 20, 200, true); Menu4_15_2_2 = new Array("Mandados Transmitidos","./menu?op=./entrada_mandados_t ransmitidos.do?entrouPeloMenu=S","",0, 20, 200, true); Menu4_15_2_3 = new Array("Mandados Cumprido(s)/Revogado(s)","./menu?op=./pesquis a_mandados_cumpr_revog.do","",0, 20, 250, true); Menu4_15_2_4 = new Array("Mandados Cancelados","./menu?op=./atualizar_bnmp_manda dos.do?tipo=C","",0, 20, 200, true); Menu4_15_2_5 = new Array("Mandados Restritos","./menu?op=./atualizar_bnmp_mandad os.do?tipo=R","",0, 20, 200, true); Menu5 = new Array("Clculos","#","",6, 20, 70, true); Menu5_1 = new Array("Clculo de Benefcios","./menu?op=./beneficioDispatcher.do?cal= gregoriano","",0, 20, 160, true); Menu5_2 = new Array("Calcular Prescries","./menu?op=./calculo_prescricao.view","", 0,20, 0, true); Menu5_3 = new Array("Calcular RDD","./menu?op=./rdd_entrada.view","",0, 20, 0, t rue); Menu5_4 = new Array("Calcular Multas","./menu?op=./calculo_multa_pe.view","",0,2 0, 0, true); Menu5_5 = new Array("Calcular Penas Alternativas","./menu?op=./detracao_pa_psc.v iew","",0,20, 200, true); Menu5_6 = new Array("Simular Benefcios","./menu?op=./simulacao_apresentar.do","", 0, 20, 0, true); indiceMenu = 6; eval("Menu" + new String(indiceMenu) + " = new Array('Demais Funcionalidades', '#','',9, 20, 180, true)"); eval("Menu" + new String(indiceMenu) + "_1 = new Array('Imprimir Etiquetas','#', '',2, 20, 180, true)"); eval("Menu" + new String(indiceMenu) + "_1_1 = new Array('Processo Execuo','./menu ?op=./imprimir_etiquetas.view','',0, 20, 180, true)"); eval("Menu" + new String(indiceMenu) + "_1_2 = new Array('Incidente','./menu?op= ./imprimir_etiquetas_inc.view','',0, 20, 180, true)"); eval("Menu" + new String(indiceMenu) + "_2 = new Array('Transferir Comarca','./m enu?op=./transferir_comarca_entrada.do','',0, 20, 0, true)"); eval("Menu" + new String(indiceMenu) + "_3 = new Array('Recuperar Processos','./ menu?op=./recuperar_processo.view','',0, 20, 0, true)"); eval("Menu" + new String(indiceMenu) + "_4 = new Array('Alterar Senha','./menu?o

p=./altera_senha_usuario.do','',0, 20, 0, true)"); //ndice Financeiro - ORTN eval("Menu" + new String(indiceMenu) + "_5 = new Array('ndices Financeiros','./me nu?op=./filtroIndiceFinanceiro.do','',0, 20, 0, false)"); eval("Menu" + new String(indiceMenu) + "_6 = new Array('Moedas','./menu?op=./con sultaMoeda.do','',0,20,0, false)"); eval("Menu" + new String(indiceMenu) + "_7 = new Array('rgos e Entidades','#','',2 ,20,170, true)"); eval("Menu" + new String(indiceMenu) + "_7_1 = new Array('Coordenadorias','./men u?op=./consultaCadastroCoordenadoria.do','',0,20,120, true)"); eval("Menu" + new String(indiceMenu) + "_7_2 = new Array('Unidades Prisionais',' ./menu?op=./consultaUnidadePrisional.do','',0,20,120, true)"); eval("Menu" + new String(indiceMenu) + "_8 = new Array('Manuteno de Tabelas','./me nu?op=./local_prisao_listar.do','',0, 20, 0, true)"); eval("Menu" + new String(indiceMenu) + "_9 = new Array('Faixa de Protocolos (CNJ )','#','',2,20,170, false)"); eval("Menu" + new String(indiceMenu) + "_9_1 = new Array('Configurar','./menu?op =./listaUnidadeJudiciaria.do','',0,20,120, false)"); eval("Menu" + new String(indiceMenu) + "_9_2 = new Array('Monitorar','./menu?op= ./monitorarFaixas.do','',0,20,120, false)"); eval("indiceMenu = " + new String(indiceMenu + 1)); //Montagem do Menu Novidades eval("Menu" + new String(indiceMenu) + " = 0, 100, true)"); eval("Menu" + new String(indiceMenu) + "_1 = dade.do','',0, 20, 120, false)"); eval("Menu" + new String(indiceMenu) + "_2 = ','',0, 20, 120, false)"); eval("indiceMenu = " + new String(indiceMenu new Array('Comunicados','#','',2, 2 new Array('Novidades','./listarNovi new Array('Popup','./editarPopup.do + 1));

eval("Menu" + new String(indiceMenu) + " = new Array('Ajuda','#','',2, 20, 57, true)"); eval("Menu" + new String(indiceMenu) + "_1 = new Array('Online','manual/Index.Pa ginaInicial.html','',0, 20, 60, true)"); eval("Menu" + new String(indiceMenu) + "_2 = new Array('Manual','./arquivo.do?pa sta=manual&arquivo=VEC_Cartorio_v5&extensao=pdf','',0, 20, 60, true)"); eval("menuAjuda = " + new String(indiceMenu)); eval("indiceMenu = " + new String(indiceMenu + 1)); eval("Menu" + new String(indiceMenu) + " ,0, 20, 80, true)"); //Set here number of first-level menus var NoOffFirstLineMenus = indiceMenu; function ajustarOpcaoAjuda() { var opcaoAjuda = document.getElementById('e_Menu' + menuAjuda + '_1'); opcaoAjuda.onclick = ajudaAbrirJanela; } /******** </MenuItems> *************/ /******* Menu Tools, don't touch! ****/ function Go() {return} = new Array('Sair','./logout.view',''

var var var var var var var var var var var var var var var var var var var

LowBgColor='0A457F'; LowSubBgColor='EDF3FB'; HighBgColor='0A457F'; HighSubBgColor='EDF3FB'; FontLowColor='FFFFFF'; FontSubLowColor='09377C'; FontHighColor='FFFFFF'; FontSubHighColor='E12221'; BorderColor='0A457F'; BorderSubColor='0A457F'; BorderWidth=1; BorderBtwnElmnts=1; FontFamily="Verdana"; FontSize=8; FontBold=1; FontItalic=0; MenuTextCentered='left'; MenuCentered='left'; MenuVerticalCentered='top';

var ChildOverlap=.15; var ChildVerticalOverlap=.9999; var DESLOCAMENTO = 20; var var var var var var var var var var var var var var var var var var var var var var var var var var var var var ; var var var var StartTop=72; StartLeft=0; VerCorrect=0; HorCorrect=0; LeftPaddng=1; TopPaddng=2; FirstLineHorizontal=1; MenuFramesVertical=1; DissapearDelay=1000; TakeOverBgColor=1; FirstLineFrame='navig'; SecLineFrame='space'; DocTargetFrame='space'; TargetLoc=''; HideTop=0; MenuWrap=1; RightToLeft=0; UnfoldsOnClick=0; WebMasterCheck=0; ShowArrow=1; KeepHilite=1; MenuHeight=18; MenuHeightSubMenu=17; MenuWidth=251; larguraIconeSeta = 20; separadorItensMenuPrincipal = " | "; AgntUsr=navigator.userAgent.toLowerCase(); DomYes=document.getElementById?1:0; NavYes=AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('compatible')==-1?1:0 ExpYes=AgntUsr.indexOf('msie')!=-1?1:0; Opr=AgntUsr.indexOf('opera')!=-1?1:0; Opr6orless=window.opera && navigator.userAgent.search(/opera.[1-6]/i)!=-1 DomNav = (DomYes && NavYes) ? 1 :0;

var var var var var var var var var var var var var var var var var var var var var var var var

DomExp=DomYes&&ExpYes?1:0; Nav4=NavYes&&!DomYes&&document.layers?1:0; Exp4=ExpYes&&!DomYes&&document.all?1:0; PosStrt=(NavYes||ExpYes)&&!Opr6orless?1:0; FrstLoc,ScLoc,DcLoc; ScWinWdth,ScWinHght,FrstWinWdth,FrstWinHght; ScLdAgainWin; FirstColPos,SecColPos,DocColPos; RcrsLvl=0,FrstCreat=1,Loadd=0,Creatd=0; IniFlg;AcrssFrms=1; FrstCntnr=null,CurrntOvr=null,CloseTmr=null; CntrTxt,TxtClose,ImgStr; Ztop=100; ShwFlg=0; M_StrtTp=StartTop,M_StrtLft=StartLeft; StaticPos=0; LftXtra=DomNav&&!Opr?LeftPaddng:0; TpXtra=DomNav?TopPaddng:0; M_Hide=Nav4?'hide':'hidden'; M_Show=Nav4?'show':'visible'; Par=parent.frames[0]&&FirstLineFrame!=SecLineFrame?parent:window; Doc=Par.document; Bod=Doc.body; Trigger=NavYes&&!Opr?Par:Bod;

MenuTextCentered=MenuTextCentered==1||MenuTextCentered=='center'?'center':MenuTe xtCentered==0||MenuTextCentered!='right'?'left':'right'; WbMstrAlrts=["Item not defined: ","Item needs height: ","Item needs width: "]; if(Trigger.onload)Dummy=Trigger.onload; if(DomNav||Opr)Trigger.addEventListener('load',Go,false); else Trigger.onload=Go; function Dummy(){return} function CnclSlct(){return false} function RePos(){ FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.innerWidth; FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.innerHeigh t; ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth; ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight; if(MenuCentered=='justify' && FirstLineHorizontal) { FrstCntnr.style.width=FrstWinWdth; ClcJus(); var P=FrstCntnr.FrstMbr,W=Menu1[5],i; for(i=0;i<NoOffFirstLineMenus;i++) { P.style.width=W; P=P.PrvMbr; } } StaticPos=-1; if (TargetLoc) ClcTrgt(); if (MenuCentered) ClcLft(); if (MenuVerticalCentered) ClcTp(); PosMenu(FrstCntnr,StartTop,StartLeft); }

function UnLoaded(){ if (CloseTmr) clearTimeout(CloseTmr); Loadd=0; Creatd=0; if (HideTop) { var FCStyle=Nav4?FrstCntnr:FrstCntnr.style; FCStyle.visibility=M_Hide; } } function ReDoWhole(){ if(ScWinWdth!=ScLoc.innerWidth || ScWinHght!=ScLoc.innerHeight || FrstWinWdth!=FrstLoc.innerWidth || FrstWinHght!=FrstLoc.innerHeight) { Doc.location.reload(); } } function Check(WMnu,NoOf){ var i,array,ArrayLoc; ArrayLoc=parent.frames[0]?parent.frames[FirstLineFrame]:self; for(i=0;i<NoOf;i++){ array=WMnu+eval(i+1); if(!ArrayLoc[array]){WbMstrAlrt(0,array); return false} if(i==0){ if(!ArrayLoc[array][4]) { WbMstrAlrt(1,array); return false } if(!ArrayLoc[array][5]) { WbMstrAlrt(2,array); return false } } if(ArrayLoc[array][3])if(!Check(array+'_',ArrayLoc[array][3])) r eturn false } return true } function WbMstrAlrt(No,Xtra){ return confirm(WbMstrAlrts[No]+Xtra+' } ')

function Go(){ Dummy(); if(Loadd||!PosStrt)return; BeforeStart(); Creatd=0; Loadd=1; status='Construindo o Menu'; if(FrstCreat){ if(FirstLineFrame =="" || !parent.frames[FirstLineFrame]){ FirstLineFrame=SecLineFrame; if(FirstLineFrame =="" || !parent.frames[FirstLineFrame] ){ FirstLineFrame=SecLineFrame=DocTargetFrame; if(FirstLineFrame =="" || !parent.frames[FirstLi neFrame])FirstLineFrame=SecLineFrame=DocTargetFrame=''}} if(SecLineFrame =="" || !parent.frames[SecLineFrame]){ SecLineFrame=DocTargetFrame;

if(SecLineFrame =="" || !parent.frames[SecLineFrame])Sec LineFrame=DocTargetFrame=FirstLineFrame} if(DocTargetFrame =="" || !parent.frames[DocTargetFrame])DocTarg etFrame=SecLineFrame; if(WebMasterCheck) { if(!Check('Menu',NoOffFirstLineMenus)) { status='Construo abortada'; return } } FrstLoc=FirstLineFrame!=""?parent.frames[FirstLineFrame]:window; ScLoc=SecLineFrame!=""?parent.frames[SecLineFrame]:window; DcLoc=DocTargetFrame!=""?parent.frames[DocTargetFrame]:window; if (FrstLoc==ScLoc) { AcrssFrms=0; } if (AcrssFrms) { FirstLineHorizontal=MenuFramesVertical?0:1; } FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.inn erWidth; FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.in nerHeight; ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidt h; ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHei ght; if(Nav4){ CntrTxt=MenuTextCentered!='left'?"<div align='"+MenuText Centered+"'>":""; TxtClose="</font>"+MenuTextCentered!='left'?"</div>":""; } } FirstColPos=Nav4?FrstLoc.document:FrstLoc.document.body; SecColPos=Nav4?ScLoc.document:ScLoc.document.body; DocColPos=Nav4?DcLoc.document:ScLoc.document.body; if (TakeOverBgColor)FirstColPos.bgColor=AcrssFrms?SecColPos.bgColor:DocC olPos.bgColor; if(MenuCentered=='justify'&&FirstLineHorizontal)ClcJus(); if(FrstCreat) { FrstCntnr=CreateMenuStructure('Menu',NoOffFirstLineMenus); FrstCreat=AcrssFrms?0:1; } else CreateMenuStructureAgain('Menu',NoOffFirstLineMenus); if(TargetLoc)ClcTrgt(); if(MenuCentered)ClcLft(); if(MenuVerticalCentered)ClcTp(); PosMenu(FrstCntnr,StartTop,StartLeft); IniFlg=1; Initiate(); Creatd=1; if (AcrssFrms) { ScLdAgainWin=ExpYes?ScLoc.document.body:ScLoc; ScLdAgainWin.onunload=UnLoaded; } Trigger.onresize=Nav4?ReDoWhole:RePos; AfterBuild(); if (MenuVerticalCentered=='static'&&!AcrssFrms) { setInterval('KeepPos()',250); }

status=' '; ajustarOpcaoAjuda(); } function KeepPos() { var TS=ExpYes?FrstLoc.document.body.scrollTop:FrstLoc.pageYOffset; if (TS!=StaticPos) { var FCStyle=Nav4?FrstCntnr:FrstCntnr.style; FCStyle.top=FrstCntnr.OrgTop=StartTop+TS; StaticPos=TS; } } function ClcJus(){ var a=BorderBtwnElmnts?1:2,b=BorderBtwnElmnts?BorderWidth:0; var Size=Math.round(((FrstWinWdth-a*BorderWidth)/NoOffFirstLineMenus)-b) ,i,j; for (i=1;i<NoOffFirstLineMenus+1;i++) { j=eval('Menu'+i); j[5]=Size; } StartLeft=0; } function ClcTrgt(){ var TLoc=Nav4?FrstLoc.document.layers[TargetLoc]:DomYes?FrstLoc.document .getElementById(TargetLoc):FrstLoc.document.all[TargetLoc]; StartTop=M_StrtTp; StartLeft=M_StrtLft; if (DomYes) { while (TLoc) { StartTop+=TLoc.offsetTop; StartLeft+=TLoc.offsetLeft; TLoc=TLoc.offsetParent; } } else { StartTop+=Nav4?TLoc.pageY:TLoc.offsetTop; StartLeft+=Nav4?TLoc.pageX:TLoc.offsetLeft; } } function ClcLft() { if(MenuCentered!='left' && MenuCentered!='justify') { var Size=FrstWinWdth-(!Nav4?parseInt(FrstCntnr.style.width):Frst Cntnr.clip.width); StartLeft=M_StrtLft; StartLeft+=MenuCentered=='right'?Size:Size/2; } } function ClcTp() { if (MenuVerticalCentered!='top' && MenuVerticalCentered!='static') { var Size=FrstWinHght-(!Nav4 ? parseInt(FrstCntnr.style.height) : FrstCntnr.clip.height); StartTop=M_StrtTp; StartTop+=MenuVerticalCentered=='bottom' ? Size : Size/2; } } // Posicionamento do Menu

function PosMenu(CntnrPntr,Tp,Lt) { var Topi,Lefti,Hori; var Cntnr=CntnrPntr; var Mmbr=Cntnr.FrstMbr; var CntnrStyle=!Nav4?Cntnr.style:Cntnr; var MmbrStyle=!Nav4?Mmbr.style:Mmbr; var PadL=Mmbr.value.indexOf('<')==-1?LftXtra:0; var PadT=Mmbr.value.indexOf('<')==-1?TpXtra:0; var MmbrWt=!Nav4?parseInt(MmbrStyle.width)+PadL:MmbrStyle.clip.width; var MmbrHt=!Nav4?parseInt(MmbrStyle.height)+PadT:MmbrStyle.clip.height; var CntnrWt=!Nav4?parseInt(CntnrStyle.width):CntnrStyle.clip.width; var CntnrHt=!Nav4?parseInt(CntnrStyle.height):CntnrStyle.clip.height; var SubTp,SubLt; RcrsLvl++; if (RcrsLvl==1 && AcrssFrms) { !MenuFramesVertical?Tp=FrstWinHght-CntnrHt+(Nav4?4:0):Lt=RightTo Left?0:FrstWinWdth-CntnrWt+(Nav4?4:0); } if (RcrsLvl==2 && AcrssFrms){ !MenuFramesVertical?Tp=0:Lt=RightToLeft?ScWinWdth-CntnrWt:0; Tp+=VerCorrect; Lt+=HorCorrect; } CntnrStyle.top=RcrsLvl==1?Tp:0; Cntnr.OrgTop=Tp; CntnrStyle.left = (RcrsLvl==1) ? Lt : 0; Cntnr.OrgLeft=Lt; if (RcrsLvl==1 && FirstLineHorizontal){ Hori=1; Lefti=CntnrWt-MmbrWt-2*BorderWidth; Topi=0; } else { Hori=Lefti=0; Topi=CntnrHt-MmbrHt-2*BorderWidth; } while (Mmbr!=null) { MmbrStyle.left=Lefti+BorderWidth; MmbrStyle.top=Topi+BorderWidth; if (Nav4) { Mmbr.CmdLyr.moveTo(Lefti+BorderWidth,Topi+BorderWidth); } if (Mmbr.ChildCntnr) { if (RightToLeft) { ChldCntnrWdth = Nav4 ? Mmbr.ChildCntnr.clip.widt h : parseInt(Mmbr.ChildCntnr.style.width); } if (Hori) { SubTp=Topi+MmbrHt+2*BorderWidth; SubLt=RightToLeft?Lefti+MmbrWt-ChldCntnrWdth:Lef ti; } else { SubLt=RightToLeft?Lefti-ChldCntnrWdth+ChildOverl ap*MmbrWt+BorderWidth:Lefti+(1-ChildOverlap)*MmbrWt+BorderWidth; SubTp = (RcrsLvl==1&&AcrssFrms) ? Topi : (Topi+C hildVerticalOverlap*MmbrHt);

} PosMenu(Mmbr.ChildCntnr,SubTp,SubLt) } Mmbr = Mmbr.PrvMbr; if (Mmbr) { MmbrStyle=!Nav4?Mmbr.style:Mmbr; PadL=Mmbr.value.indexOf('<')==-1?LftXtra:0; PadT=Mmbr.value.indexOf('<')==-1?TpXtra:0; MmbrWt = !Nav4 ? parseInt(MmbrStyle.width)+PadL : MmbrSt yle.clip.width; MmbrHt = !Nav4 ? parseInt(MmbrStyle.height)+PadT : MmbrS tyle.clip.height; Hori?Lefti-=BorderBtwnElmnts?(MmbrWt+BorderWidth):(MmbrW t):Topi-=BorderBtwnElmnts?(MmbrHt+BorderWidth):(MmbrHt); } } RcrsLvl--; } function Initiate() { if (IniFlg) { Init(FrstCntnr); IniFlg=0; if (ShwFlg) AfterCloseAll(); ShwFlg=0; } } function Init(CntnrPntr) { var Mmbr=CntnrPntr.FrstMbr; var MCStyle=Nav4?CntnrPntr:CntnrPntr.style; RcrsLvl++; MCStyle.visibility=RcrsLvl==1?M_Show:M_Hide; while (Mmbr!=null) { if (Mmbr.Hilite) { Mmbr.Hilite=0; if (KeepHilite) LowItem(Mmbr); } if (Mmbr.ChildCntnr) Init(Mmbr.ChildCntnr); Mmbr=Mmbr.PrvMbr; } RcrsLvl--; } function ClearAllChilds(Pntr) { var CPCCStyle; while (Pntr) { if (Pntr.Hilite) { Pntr.Hilite=0; if (KeepHilite) LowItem(Pntr); if (Pntr.ChildCntnr) { CPCCStyle=Nav4?Pntr.ChildCntnr:Pntr.ChildCntnr.s tyle; CPCCStyle.visibility=M_Hide; ClearAllChilds(Pntr.ChildCntnr.FrstMbr); } break; } Pntr=Pntr.PrvMbr; }

} function GoTo() { if (this.LinkTxt) { status=''; var HP=Nav4?this.LowLyr:this; LowItem(HP); this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt):DcLoc .location.href=this.LinkTxt; } } function HiliteItem(P) { if (Nav4) { if (P.ro) { P.document.images[P.rid].src=P.ri2; } else { if (P.HiBck)P.bgColor=P.HiBck; if (P.value.indexOf('<img')==-1) { P.document.write(P.Ovalue); P.document.close(); } } } else { if(P.ro) { var Lc=P.Level==1?FrstLoc:ScLoc; Lc.document.images[P.rid].src=P.ri2; } else { if (P.HiBck)P.style.backgroundColor=P.HiBck; if (P.HiFntClr)P.style.color=P.HiFntClr; } } P.Hilite=1; } function LowItem(P) { if (P.ro) { if (Nav4) { P.document.images[P.rid].src=P.ri1; } else { var Lc=P.Level==1?FrstLoc:ScLoc; Lc.document.images[P.rid].src=P.ri1; } } else { if (Nav4) { if (P.LoBck)P.bgColor=P.LoBck; if (P.value.indexOf('<img')==-1) { P.document.write(P.value); P.document.close(); } } else { if (P.LoBck)P.style.backgroundColor=P.LoBck; if (P.LwFntClr) P.style.color=P.LwFntClr; } } } function OpenMenu(){ if(!Loadd||!Creatd) return; var TpScrlld=ExpYes?ScLoc.document.body.scrollTop:ScLoc.pageYOffset;

var LScrlld=ExpYes?ScLoc.document.body.scrollLeft:ScLoc.pageXOffset; var CCnt=Nav4?this.LowLyr.ChildCntnr:this.ChildCntnr; var ThisHt=Nav4?this.clip.height:parseInt(this.style.height); var ThisWt=Nav4?this.clip.width:parseInt(this.style.width); var ThisLft=AcrssFrms&&this.Level==1&&!FirstLineHorizontal?0:Nav4?this.C ontainer.left:parseInt(this.Container.style.left); var ThisTp=AcrssFrms&&this.Level==1&&FirstLineHorizontal?0:Nav4?this.Con tainer.top:parseInt(this.Container.style.top); var HP=Nav4?this.LowLyr:this; CurrntOvr=this; IniFlg=0; ClearAllChilds(this.Container.FrstMbr); HiliteItem(HP); if(CCnt!=null) { if (!ShwFlg) { ShwFlg=1; BeforeFirstOpen(); } var CCW=Nav4?this.LowLyr.ChildCntnr.clip.width:parseInt(this.Chi ldCntnr.style.width); var CCH=Nav4?this.LowLyr.ChildCntnr.clip.height:parseInt(this.Ch ildCntnr.style.height); var ChCntTL=Nav4?this.LowLyr.ChildCntnr:this.ChildCntnr.style; var SubLt=AcrssFrms&&this.Level==1?CCnt.OrgLeft+ThisLft+LScrlld: CCnt.OrgLeft+ThisLft; var SubTp=AcrssFrms&&this.Level==1?CCnt.OrgTop+ThisTp+TpScrlld:C Cnt.OrgTop+ThisTp; if(MenuWrap) { if(RightToLeft) { if (SubLt<LScrlld) SubLt=this.Level==1?LScrlld:S ubLt+(CCW+(1-2*ChildOverlap)*ThisWt); if (SubLt+CCW>ScWinWdth+LScrlld) SubLt=ScWinWdth +LScrlld-CCW } else {

if (SubLt+CCW>ScWinWdth+LScrlld) SubLt=this.Leve l==1?ScWinWdth+LScrlld-CCW:SubLt-(CCW+(1-2*ChildOverlap)*ThisWt)+DESLOCAMENTO; if (SubLt<LScrlld) SubLt=LScrlld } if (SubTp+CCH>TpScrlld+ScWinHght) SubTp=this.Level==1?Su bTp=TpScrlld+ScWinHght-CCH:SubTp-CCH+(1-2*ChildVerticalOverlap)*ThisHt; if (SubTp<TpScrlld) SubTp=TpScrlld } ChCntTL.top=SubTp; ChCntTL.left=SubLt; ChCntTL.visibility=M_Show } status=this.Title; } function OpenMenuClick() { if(!Loadd||!Creatd) return; var HP=Nav4?this.LowLyr:this; CurrntOvr=this; IniFlg=0;

ClearAllChilds(this.Container.FrstMbr); HiliteItem(HP); status=this.LinkTxt; } function CloseMenu() { if (!Loadd||!Creatd) return; if (!KeepHilite){ var HP=Nav4?this.LowLyr:this; LowItem(HP); } status=''; if(this==CurrntOvr) { IniFlg=1; if(CloseTmr)clearTimeout(CloseTmr); CloseTmr=setTimeout('Initiate(CurrntOvr)',DissapearDelay); } }

function CntnrSetUp(Wdth,Hght,NoOff) { var x = RcrsLvl==1 ? BorderColor : BorderSubColor; this.FrstMbr=null; this.OrgLeft=this.OrgTop=0; if (x) this.bgColor=x; if (Nav4) { this.visibility='hide'; this.resizeTo(Wdth,Hght); } else { if (x) this.style.backgroundColor=x; this.style.width=Wdth; this.style.height=Hght; this.style.fontFamily=FontFamily; this.style.fontWeight=FontBold?'bold':'normal'; this.style.fontStyle=FontItalic?'italic':'normal'; this.style.fontSize=FontSize+'pt'; this.style.zIndex=RcrsLvl+Ztop; } } function MbrSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght, temPermissao) { var Location = (RcrsLvl==1) ? FrstLoc : ScLoc; var MemVal=eval(WhatMenu+'[0]'); var t,T,L,W,H,S; var a,b,c,d; this.PrvMbr=PrMmbr; this.Level=RcrsLvl; this.Title=MemVal; if (temPermissao == true) { this.LinkTxt=eval(WhatMenu+'[1]'); } else { this.LinkTxt="#"; } this.Container=MmbrCntnr; this.ChildCntnr=null; this.Hilite=0; this.style.overflow='hidden'; this.style.cursor=ExpYes&&(this.LinkTxt||(RcrsLvl==1&&UnfoldsOnClick))?' hand':'default';

if (temPermissao==true) { this.style.cursor='hand'; } else { this.style.cursor='default'; } this.ro=0; if (MemVal.indexOf('rollover')!=-1) { this.ro=1; this.ri1=MemVal.substring(MemVal.indexOf(':')+1,MemVal.lastIndex Of(':')); this.ri2=MemVal.substring(MemVal.lastIndexOf(':')+1,MemVal.lengt h); this.rid=WhatMenu+'i'; //MemVal="<img src='"+this.ri1+"' name='"+this.rid+"'>"; } this.value=MemVal; if (RcrsLvl==1) { a=LowBgColor; b=HighBgColor; c=FontLowColor; d=FontHighColor; } else { // Aki eu consigo alterar o style dos itens do sub menu a=LowSubBgColor; if (temPermissao == true) { c=FontSubLowColor; d=FontSubHighColor; } else { d=c="#aaaaaa"; } b=HighSubBgColor; } this.LoBck=a; this.LwFntClr=c; this.HiBck=b; this.HiFntClr=d; this.style.color=this.LwFntClr; if (this.LoBck) this.style.backgroundColor=this.LoBck; this.style.textAlign=MenuTextCentered; if (MemVal.indexOf('<')==-1) { this.style.width=Wdth-LftXtra; this.style.height=Hght-TpXtra; this.style.paddingLeft=LeftPaddng; this.style.paddingTop=TopPaddng; } else { this.style.width=Wdth; this.style.height=Hght; } if (MemVal.indexOf('<')==-1&&DomYes) { t=Location.document.createTextNode(MemVal); this.appendChild(t); } else this.innerHTML=MemVal; if (eval(WhatMenu+'[3]')&&ShowArrow) {

T=Hght-12; L=Wdth-12; if (DomYes) { if (this.Level != 1) { t=Location.document.createElement('img'); this.appendChild(t); t.style.position='absolute'; t.src='./img/pt_BR/setaMenu.gif'; t.style.top=T; t.style.left=L; } } else { MemVal+="<div style='position:absolute; FILTER:Alpha(sty le=0,opacity=90) height; z-index:1; top:"+T+"; left:"+L+"; width:10; height:5;vi sibility:inherit'></div>"; this.innerHTML=MemVal; } } if (ExpYes) { this.onselectstart=CnclSlct; this.onmouseover = ((RcrsLvl==1) && (UnfoldsOnClick)) ? OpenMenu Click : OpenMenu; this.onmouseout=CloseMenu; if ((RcrsLvl==1) && (UnfoldsOnClick) && (eval(WhatMenu+'[3]'))) { } else { if (eval(WhatMenu+'[3]') == 0) { this.onclick = GoTo; } else { } } } else { RcrsLvl==1&&UnfoldsOnClick?this.addEventListener('mouseover',Ope nMenuClick,false):this.addEventListener('mouseover',OpenMenu,false); this.addEventListener('mouseout',CloseMenu,false); RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?this.addEventLi stener('click',OpenMenu,false):this.addEventListener('click',GoTo,false) } } function NavMbrSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){ var a,b,c,d; if (RcrsLvl==1) { a=LowBgColor; b=HighBgColor; c=FontLowColor; d=FontHighColor; } else { a=LowSubBgColor; b=HighSubBgColor; c=FontSubLowColor; d=FontSubHighColor; } this.value=eval(WhatMenu+'[0]'); this.ro=0;

if (this.value.indexOf('rollover')!=-1) { this.ro=1; this.ri1=this.value.substring(this.value.indexOf(':')+1,this.val ue.lastIndexOf(':')); this.ri2=this.value.substring(this.value.lastIndexOf(':')+1,this .value.length); this.rid=WhatMenu+'i'; } if(LeftPaddng&&this.value.indexOf('<')==-1&&MenuTextCentered=='left')thi s.value='&nbsp\;'+this.value; if(FontBold)this.value=this.value.bold(); if(FontItalic)this.value=this.value.italics(); this.Ovalue=this.value; this.value=this.value.fontcolor(c); this.Ovalue=this.Ovalue.fontcolor(d); this.value=CntrTxt+"<font face='"+FontFamily+"' point-size='"+FontSize+" '>"+this.value+TxtClose; this.Ovalue=CntrTxt+"<font face='"+FontFamily+"' point-size='"+FontSize+ "'>"+this.Ovalue+TxtClose; this.LoBck=a; this.HiBck=b; this.ChildCntnr=null; this.PrvMbr=PrMmbr; this.Hilite=0; this.visibility='inherit'; if(this.LoBck)this.bgColor=this.LoBck; this.resizeTo(Wdth,Hght); if(!AcrssFrms&&eval(WhatMenu+'[2]'))this.background.src=eval(WhatMenu+'[ 2]'); this.document.write(this.value); this.document.close(); this.CmdLyr=new Layer(Wdth,MmbrCntnr); this.CmdLyr.Level=RcrsLvl; this.CmdLyr.LinkTxt=eval(WhatMenu+'[1]'); this.CmdLyr.visibility='inherit'; this.CmdLyr.onmouseover=RcrsLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMen u; this.CmdLyr.onmouseout=CloseMenu; this.CmdLyr.captureEvents(Event.MOUSEUP); this.CmdLyr.onmouseup=RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?O penMenu:GoTo; this.CmdLyr.LowLyr=this; this.CmdLyr.resizeTo(Wdth,Hght); this.CmdLyr.Container=MmbrCntnr; if(eval(WhatMenu+'[3]')&&ShowArrow) { /*a=RcrsLvl==1&&FirstLineHorizontal?3:RightToLeft?6:0; this.CmdLyr.ImgLyr=new Layer(Arrws[a+1],this.CmdLyr); this.CmdLyr.ImgLyr.visibility='inherit'; this.CmdLyr.ImgLyr.top=RcrsLvl==1&&FirstLineHorizontal?Hght-Arrw s[a+2]-2:(Hght-Arrws[a+2])/2; this.CmdLyr.ImgLyr.left=RightToLeft?2:Wdth-Arrws[a+1]-2; this.CmdLyr.ImgLyr.width=Arrws[a+1]; this.CmdLyr.ImgLyr.height=Arrws[a+2]; ImgStr="<img src='"+Arrws[a]+"' width='"+Arrws[a+1]+"' height='" +Arrws[a+2]+"'>"; this.CmdLyr.ImgLyr.document.write(ImgStr); this.CmdLyr.ImgLyr.document.close();*/ } }

function CreateMenuStructure(MName,NumberOf){ RcrsLvl++; var i,NoOffSubs,Mbr,Wdth=0,Hght=0; var PrvMmbr=null; var WMnu;//=MName+'1'; var Location = RcrsLvl==1 ? FrstLoc : ScLoc; var possuiFilhos = false; if (RcrsLvl==1 && FirstLineHorizontal) { for(i=1;i<NumberOf+1;i++){ WMnu=MName+eval(i); var menuLayer = eval(WMnu); if (menuLayer[0] != "Sair") { menuLayer[0]=menuLayer[0] + separadorItensMenuPr incipal; } Wdth=eval(WMnu+'[5]')?Wdth+eval(WMnu+'[5]'):Wdth+MenuWid th; } Wdth = BorderBtwnElmnts ? Wdth+(NumberOf+1)*BorderWidth : Wdth+2 *BorderWidth; Hght = MenuHeight + 2 * BorderWidth; } else { var maiorTexto = 0; for (i=1;i<NumberOf+1;i++) { WMnu = MName + eval(i); Hght = Hght + MenuHeightSubMenu; if (eval(WMnu+'[3]') > 0) { possuiFilhos = true; } if (maiorTexto < eval(WMnu+'[5]')) { maiorTexto = eval(WMnu+'[5]'); } } Wdth = maiorTexto + 2 * BorderWidth + ((possuiFilhos ? larguraIc oneSeta : 0)); /*for (i=1;i<NumberOf+1;i++) { WMnu=MName+eval(i); Hght=Hght+MenuHeightSubMenu; }*/ Hght = BorderBtwnElmnts ? Hght + (NumberOf + 1) * BorderWidth : Hght + 2 * BorderWidth; } if (DomYes) { var MmbrCntnr=Location.document.createElement("div"); MmbrCntnr.style.position='absolute'; MmbrCntnr.style.visibility='hidden'; Location.document.body.appendChild(MmbrCntnr) } else { if(Nav4) var MmbrCntnr=new Layer(Wdth,Location) else { WMnu+='c'; Location.document.body.insertAdjacentHTML("AfterBegin"," <div id='"+WMnu+"' style='visibility:hidden; position:absolute;'></div>");

var MmbrCntnr=Location.document.all[WMnu] } } MmbrCntnr.SetUp=CntnrSetUp; MmbrCntnr.SetUp(Wdth,Hght,NumberOf); if(Exp4){ MmbrCntnr.InnerString=''; for(i=1;i<NumberOf+1;i++){ WMnu=MName+eval(i); MmbrCntnr.InnerString+="<div id='"+WMnu+"' style='positi on:absolute;'></div>"; } MmbrCntnr.innerHTML=MmbrCntnr.InnerString; } for (i=1;i<NumberOf+1;i++) { WMnu = MName + eval(i); NoOffSubs = eval(WMnu+'[3]'); if (RcrsLvl==1 && FirstLineHorizontal) { Wdth = eval(WMnu+'[5]'); } else { //Wdth = maiorTexto + ((NoOffSubs > 0) ? larguraIconeSet a : 0); Wdth = maiorTexto + ((possuiFilhos ? larguraIconeSeta : 0)); } Hght = (RcrsLvl==1 && FirstLineHorizontal) ? MenuHeight : MenuHe ightSubMenu; if (DomYes) { Mbr=Location.document.createElement("div"); Mbr.id = 'e_' + WMnu; Mbr.style.position='absolute'; Mbr.style.visibility='inherit'; MmbrCntnr.appendChild(Mbr) } else { Mbr = Nav4 ? new Layer(Wdth,MmbrCntnr) : Location.docume nt.all[WMnu]; } Mbr.SetUp = Nav4 ? NavMbrSetUp : MbrSetUp; Mbr.SetUp(MmbrCntnr,PrvMmbr,WMnu,Wdth,Hght,eval(WMnu+'[6]')); if (NoOffSubs) { Mbr.ChildCntnr=CreateMenuStructure(WMnu+'_',NoOffSubs); } PrvMmbr=Mbr; } MmbrCntnr.FrstMbr=Mbr; RcrsLvl--; return(MmbrCntnr); } function CreateMenuStructureAgain(MName,NumberOf) { var i,WMnu,NoOffSubs,PrvMmbr,Mbr=FrstCntnr.FrstMbr; RcrsLvl++; for (i=NumberOf;i>0;i--) { WMnu=MName+eval(i); NoOffSubs=eval(WMnu+'[3]'); PrvMmbr=Mbr;

if(NoOffSubs)Mbr.ChildCntnr=CreateMenuStructure(WMnu+'_',NoOffSu bs); Mbr=Mbr.PrvMbr; } RcrsLvl--; } function function function function BeforeStart(){return} AfterBuild(){return} BeforeFirstOpen(){return} AfterCloseAll(){return}

function ajudaAbrirJanela() { window.open("manual/Index.PaginaInicial.html", "Online", "status=1,toolb ar=1,location=1,menubar=1,resizable=1,scrollbars=1"); } </script> <noscript>Seu navegador no suporta script.</noscript> <!-- commonxp include [url=/WEB-INF/jsp/pt_BR/header.jsp] -->

<!-- DADOS PROCESSO - INICIO --> <fieldset> <legend class="titulo"> <!-- Processo de Execu&ccedil;&atilde;o N&ordm; --> Controle VEC N&ordm; 1013972 </legend> </fieldset>

<br> <table width="750" border="0" align="center" cellpadding="0" cellspacing ="1"> <tr valign="middle"> <td colspan="4" align="left" bgcolor="#F8D094" class="textotab2"><im g src="./img/pt_BR/transp2.gif" width="5" height="1"></td> </tr> <tr valign="middle"> <td width="130" height="20" class="textotab2">Nome:</td> <td width="295" align="left" class="textotab">CESAR APARECIDO DOS SA NTOS </td> <td width="110" class="textotab2">N&uacute;mero RG:</td> <td width="215" align="left" class="textotab"> 61788448/

</td> </tr> <tr valign="middle"> <td height="20" class="textotab2" bgcolor="#F7F7F7">Situa&ccedil;&at ilde;o do Apenado:</td> <td height="17" align="left" class="textotab" bgcolor="#F7F7F7"> Liberado Condicional </td> <td height="20" class="textotab2" bgcolor="#F7F7F7">Regime de Pris&a tilde;o:</td> <td height="17" align="left" class="textotab" bgcolor="#F7F7F7"> Regime Semi-Aberto </td> </tr> <!-- linha divisoria--> <tr valign="middle"> <td colspan="4" align="left" bgcolor="#F8D094" class="textotab2"><im g src="./img/pt_BR/transp2.gif" width="5" height="1"></td> </tr> </table> <!-- DADOS PROCESSO - FIM --> <br/> <table cellspacing=0 cellpadding=0 width=750 align=center border=0> <tr align="center"> <td class=menu valign="middle" width="2%"> <img height="10" src="./img/pt_BR/seta.gif" width="7"> </td> <!-- <td class="titulo" align="left" height="30">Execu&ccedil;&atilde;o Selecionada</td> ALTERAO --> <td class="titulo" align="left" height="30">Processo Relacionado</td> </tr> </table> <!-- display-container --> <div class="display-container"> <table class="display-table"> <thead class="display-th"> <tr> <!-- <th>N&ordm; Execuo</th> --> <th>N&ordm; Processo (CNJ)</th> <th>N&ordm; Proc. Condenao</th> <th>Ano Proc. Condenao</th> <th>Situao</th> <th>Vara origem</th> <th>Usada em calculo</th> </tr> </thead> <tbody> <tr class="display-tr-odd"> <td>1</td> <td>6388</td> <td>2011</td> <td>Cumprida</td> <td>1 Vara Criminal de Carapicuiba - SP</td> <td>S</td> </tr> </tbody>

</table> <fieldset><legend class="titulo">Dados da Multa</legend></fieldset> <div id="pnlForm"> <form name="calculoMultaForm" method="post" action="/vec/multaSa lvar.do" id="dadosMultaFrm"> <table width="769" border="0" align="center" cellpadding ="0"> <tr valign="middle"> <td height="20" class="textotab2" width= "100">Data do Fato:*</td> <td height="17" align="left" class="text otab" > <input type="text" name="dataFat o" maxlength="10" size="13" value="26/04/2011" class="campo" id="txtDataFato"> </td> </tr> <tr valign="middle" bgcolor="#F7F7F7"> <td height="20" class="textotab2" width= "100">Tipo da Multa:*</td> <td height="17" align="left" class="text otab" > <input type="radio" name="tipoMulta" val ue="P" checked="checked" class="chekbox" id="tipoMultaPenal">Cdigo Penal <input type="radio" name="tipoMulta" val ue="T" class="chekbox" id="tipoMultaToxico">Lei dos Txicos </td> </tr> </table> <!-- Painel aplicar multa --> <table id="pnlAplicMulta" width="770" border="0" align="cent er" cellpadding="0" style="display: none;" > <tr valign="middle" bgcolor="#F7F7F7"> <td height="20" class="textotab2" width= "311">Foi aplicada multa atualizada para a data do fato?</td> <td height="17" align="left" class="text otab" width="453"> <input type="radio" name="aplica rMulta" value="S" class="chekbox" id="aplicarMultaSim">Sim <input type="radio" name="aplica rMulta" value="N" class="chekbox" id="aplicarMultaNao">No </td> </tr> </table> <!-- Painel aplicar multa --> <table width="770" border="0" align="center" cellpadding ="0"> <tr valign="middle" id="pnlValorAtualUFESP" styl e="display: none;"> <td height="20" class="textotab2" width= "250">Valor atual da UFESP:</td> <td height="17" align="left" class="text

otab"> </td> </tr> <tr valign="middle" bgcolor="#F7F7F7" id="pnlVal orMulta" style="display: none;"> <td height="20" class="textotab2" width= "300">Valor Multa Imposta:</td> <td height="17" align="left" class="text otab"> <input type="text" name="valorMulta" maxleng th="13" size="13" value="" class="textotab" id="txtValorMulta"> </td> </tr> <tr valign="middle" bgcolor="#F7F7F7" id="pnlDia sMulta" style="display: block;"> <td height="20" class="textotab2" width= "250">Dias-Multa:</td> <td height="17" align="left" class="text otab"> <input type="text" name="diasMul ta" maxlength="3" size="8" value="166" class="textotab" id="txtDiasMulta"> </td> </tr> <tr valign="middle" id="pnlValorDiaMulta" style= "display: none;"> <td height="20" class="textotab2" width= "300">Valor do dia multa imposto:</td> <td height="17" align="left" class="text otab"> <input type="text" name="valorDiaMulta" maxlength="8 " size="8" value="" readonly="readonly" class="textotab" id="txtValorDiaMulta"> </td> </tr> <tr valign="middle" id="pnlFracao" style="displa y: block;"> <td height="20" class="textotab2" width= "300">Frao aplicada:</td> <td height="17" width="200" align="left" class="textotab"> <input type="text" name="fracaoN um" maxlength="2" size="2" value="" class="textotab"> / <input type="text" name="fracaoD en" maxlength="2" size="2" value="" class="textotab"> </td> </tr> <tr valign="middle" bgcolor="#F7F7F7"> <td height="20" class="textotab2" width= "310">Houve Pagamento de Fiana?</td> <td height="17" align="left" class="text otab"> <input type="radio" name="fianca Paga" value="true" class="checkbox" id="fiancaPagaSim">Sim <input type="radio" name="fiancaPaga" value="fal

se" checked="checked" class="checkbox" id="fiancaPagaNao">No </td> </tr> <tr id="pnlDataFianca" valign="middle" style="di splay: none;"> <td height="20" class="textotab2" width= "300">Data de Pagamento da Fiana:</td> <td height="17" align="left" class="text otab"> <input type="text" name="dataPag amentoFianca" maxlength="10" size="10" value="" class="textotab" id="txtDataPaga mentoFianca"> </td> </tr> <tr id="pnlValorFianca" valign="middle" style=" display: none;" bgcolor="#F7F7F7"> <td height="20" class="textotab2" width= "310">Valor da Fiana Depositada:</td> <td height="17" align="left" class="text otab"> <input type="text" name="valorPa gamentoFianca" maxlength="13" size="13" value="" class="textotab" id="txtValorPa gamentoFianca"> </td> </tr> </table> <table width="750" border="0" align="center" cellpadding="0" cellspac ing="1"> <td align="left" class="textovermelho">Os campos marcados com (*), so obrigatrios.</td> </table> <!-- BOTOES --> <div id="pnlBotoes" style="width:780; text-align:right;" > <input type="submit" value="Salvar" clas s="botao" /> <input type="button" id="btnCalcular" va lue="Calcular" class="botao" /> <!-- Mantis 2155 - Correo no retorno pgina anterior . --> <input type="button" value="Voltar" class="botao " onClick="self.location='./multaListarExe c.do?numProcExecucao=1013972'" /> </div> </form> <script type="text/javascript"> $("txtDataFato").observe("keydown", mascaraData); $("txtDataFato").observe("change", verificarData Fato);

$("txtDiasMulta").observe("keypress", ma scaraInteiro); $("txtDataPagamentoFianca").observe("keypress", mascaraData); $("txtValorPagamentoFianca").observe("keypress", mascaraMoeda); $("btnCalcular").observe("click", calcularMulta) ; $("tipoMultaPenal").observe("click", multaRedese nharForm); $("tipoMultaToxico").observe("click", multaRedes enharForm); $("aplicarMultaSim").observe("click", multaRedes enharForm); $("aplicarMultaNao").observe("click", multaRedes enharForm); $("fiancaPagaSim").observe("click", ativarPnlFia nca); $("fiancaPagaNao").observe("click", desativarPnl Fianca); </script> </div> <!-- pnlForm --> </div> <!-- display-container --> <!-- commonxp include [url=/WEB-INF/jsp/pt_BR/multa/calculo_multa_dados.jsp] --> </body> </html>

Vous aimerez peut-être aussi