12
| <![CDATA[<script type="text/javascript">
function file_validate(source, arg) {
var size = 10485760;
validarTamanhoArquivo(source, arg, size);
}
function files_validate(source, arg) {
var totalSize=0;
var size = 10485760;
var filesUpload = document.querySelectorAll('input[type="file"]');
for(var i = 0; i < filesUpload.length; i++)
{
totalSize += filesUpload[i].files[0].size;
if (totalSize > size) {
source.errormessage = "O tamanho dos arquivos ultrapassou o limite máximo permitido de " + obterDescricaoTamanhoArquivo(size) + ".";
arg.IsValid = false;
break;
}
}
}
</script>]]>
|
40
| <![CDATA[<script language='javascript' type='text/javascript'>
function addMenu(){
arrMnu[0] = {painel:document.getElementById('ctl00_MenuControl_pnMnuSPE'), menu:document.getElementById('ctl00_MenuControl_mnuSPE')}
arrMnu[1] = {painel:document.getElementById('ctl00_MenuControl_pnMnuNFe'), menu:document.getElementById('ctl00_MenuControl_mnuNFe')}
arrMnu[2] = {painel:document.getElementById('ctl00_MenuControl_pnMnuDTE'), menu:document.getElementById('ctl00_MenuControl_mnuDTE')}
arrMnu[3] = {painel:document.getElementById('ctl00_MenuControl_pnMnuISS'), menu:document.getElementById('ctl00_MenuControl_mnuISS')}
arrMnu[4] = {painel:document.getElementById('ctl00_MenuControl_pnMnuTaxas'), menu:document.getElementById('ctl00_MenuControl_mnuTaxas')}
arrMnu[5] = {painel:document.getElementById('ctl00_MenuControl_pnMnuIPTU'), menu:document.getElementById('ctl00_MenuControl_mnuIPTU')}
arrMnu[6] = {painel:document.getElementById('ctl00_MenuControl_pnMnuITBI'), menu:document.getElementById('ctl00_MenuControl_mnuITBI')}
}
</script>]]>
|
484
| <![CDATA[<script type="text/javascript" language="javascript">
$().ready(function () {
escondeComponentes();
});
function TiraTraco(obj) {
if (obj.value.indexOf("-") != -1)
obj.value = obj.value.substring(0, 5) + obj.value.substring(6, 9);
setCursorAtEnd(obj.id);
}
function ColocaTraco(obj) {
if (obj.value.indexOf("-") == -1)
obj.value = obj.value.substring(0, 5) + "-" + obj.value.substring(5, 8);
}
function setCursorAtEnd(sTextboxID) {
var oTextbox = document.all.item(sTextboxID);
if (oTextbox.createTextRange) {
var r = (oTextbox.createTextRange());
r.moveStart('character', (oTextbox.value.length));
r.collapse();
r.select();
}
}
function buscaCep() {
CenterWindow('/buscacep.htm', 410, 200);
}
function escondeComponentes() {
$("input:disabled[id$='fuAnexo']").hide();
$("input:enabled[id$='fuAnexo']").parent().find($("div[id$='pnAlterarAnexos']")).hide();
}
function alteraExibicaoComponentes(a) {
var parent = $(a.parentElement).parent();
var rfv = "";
parent.find("input[id$='fuAnexo']").show();
parent.find("input[id$='fuAnexo']").attr("disabled", false);
parent.find("div[id$='pnAlterarAnexos']").hide();
rfv = parent.prev().find("span[id$='rfvAnexo']");
validaRequiredFieldValidator(rfv);
}
function validaRequiredFieldValidator(rfv) {
ValidatorEnable(rfv[0], rfv.enabled != undefined ? false : true);
}
</script>]]>
|
689
| <![CDATA[<script type="text/javascript">
//<![CDATA[
$(document).ready(function () {$.CookiesMessage({messageText: "Este site usa cookies para fins de otimização e para manter usuários logados (conectados) nos ambientes do sistema. Esses cookies são essenciais para melhorar sua experiência de navegação e fornecer o melhor serviço possível. Sua rejeição pode implicar no não funcionamento das tecnologias do site. Você aceita os Cookies de Sessão em seu navegador?",messageBg: "#151515", messageColor: "#FFFFFF", messageLinkColor: "#F0FFAA", closeEnable: true, closeColor: "#444444", closeBgColor: "#000000", acceptEnable: true, acceptText: "Aceito", infoEnable: true, infoText: "Saiba mais", infoUrl: "/LGPD/avisocookies.aspx", cookieExpire: 1 });});var ctl00_MenuControl_mnuSPE_Data = new Object();
ctl00_MenuControl_mnuSPE_Data.disappearAfter = 500;
ctl00_MenuControl_mnuSPE_Data.horizontalOffset = 0;
ctl00_MenuControl_mnuSPE_Data.verticalOffset = 0;
ctl00_MenuControl_mnuSPE_Data.hoverClass = 'subMenuHoverItem';
ctl00_MenuControl_mnuSPE_Data.iframeUrl = '/WebResource.axd?d=cGsZq1_2cMiBBGoAQWdny8Xdj7ju26gSD1Jeb7urupff5ubpOdhoF3zy_v8CqMcztBrSb2zDQ_00IVqEr0w3Ip3uAvY1&t=637953952867562139';
var ctl00_MenuControl_mnuNFe_Data = new Object();
ctl00_MenuControl_mnuNFe_Data.disappearAfter = 500;
ctl00_MenuControl_mnuNFe_Data.horizontalOffset = 0;
ctl00_MenuControl_mnuNFe_Data.verticalOffset = 0;
ctl00_MenuControl_mnuNFe_Data.hoverClass = 'subMenuHoverItem';
ctl00_MenuControl_mnuNFe_Data.iframeUrl = '/WebResource.axd?d=cGsZq1_2cMiBBGoAQWdny8Xdj7ju26gSD1Jeb7urupff5ubpOdhoF3zy_v8CqMcztBrSb2zDQ_00IVqEr0w3Ip3uAvY1&t=637953952867562139';
var ctl00_MenuControl_mnuISS_Data = new Object();
ctl00_MenuControl_mnuISS_Data.disappearAfter = 500;
ctl00_MenuControl_mnuISS_Data.horizontalOffset = 0;
ctl00_MenuControl_mnuISS_Data.verticalOffset = 0;
ctl00_MenuControl_mnuISS_Data.hoverClass = 'subMenuHoverItem';
ctl00_MenuControl_mnuISS_Data.iframeUrl = '/WebResource.axd?d=cGsZq1_2cMiBBGoAQWdny8Xdj7ju26gSD1Jeb7urupff5ubpOdhoF3zy_v8CqMcztBrSb2zDQ_00IVqEr0w3Ip3uAvY1&t=637953952867562139';
var ctl00_MenuControl_mnuTaxas_Data = new Object();
ctl00_MenuControl_mnuTaxas_Data.disappearAfter = 500;
ctl00_MenuControl_mnuTaxas_Data.horizontalOffset = 0;
ctl00_MenuControl_mnuTaxas_Data.verticalOffset = 0;
ctl00_MenuControl_mnuTaxas_Data.hoverClass = 'subMenuHoverItem';
ctl00_MenuControl_mnuTaxas_Data.iframeUrl = '/WebResource.axd?d=cGsZq1_2cMiBBGoAQWdny8Xdj7ju26gSD1Jeb7urupff5ubpOdhoF3zy_v8CqMcztBrSb2zDQ_00IVqEr0w3Ip3uAvY1&t=637953952867562139';
var ctl00_MenuControl_mnuIPTU_Data = new Object();
ctl00_MenuControl_mnuIPTU_Data.disappearAfter = 500;
ctl00_MenuControl_mnuIPTU_Data.horizontalOffset = 0;
ctl00_MenuControl_mnuIPTU_Data.verticalOffset = 0;
ctl00_MenuControl_mnuIPTU_Data.hoverClass = 'subMenuHoverItem';
ctl00_MenuControl_mnuIPTU_Data.iframeUrl = '/WebResource.axd?d=cGsZq1_2cMiBBGoAQWdny8Xdj7ju26gSD1Jeb7urupff5ubpOdhoF3zy_v8CqMcztBrSb2zDQ_00IVqEr0w3Ip3uAvY1&t=637953952867562139';
var ctl00_MenuControl_mnuITBI_Data = new Object();
ctl00_MenuControl_mnuITBI_Data.disappearAfter = 500;
ctl00_MenuControl_mnuITBI_Data.horizontalOffset = 0;
ctl00_MenuControl_mnuITBI_Data.verticalOffset = 0;
ctl00_MenuControl_mnuITBI_Data.hoverClass = 'subMenuHoverItem';
ctl00_MenuControl_mnuITBI_Data.iframeUrl = '/WebResource.axd?d=cGsZq1_2cMiBBGoAQWdny8Xdj7ju26gSD1Jeb7urupff5ubpOdhoF3zy_v8CqMcztBrSb2zDQ_00IVqEr0w3Ip3uAvY1&t=637953952867562139';
//]]>
</script>]]>
|