12
| <![CDATA[<script language="javascript">AC_FL_RunContent = 0;</script>]]>
|
53
| <![CDATA[<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-90483679-6']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>]]>
|
136
| <![CDATA[<script type="text/javascript">
$(document).ready(function () {
$('#cpf_cnpj').setMask('cpf'); // cpf
//$('input[name="campo_cnpj"]').setMask('cnpj'); // cnpj
});
function mascaraCpfCnpj(tipo) {
document.frmGerar_crc.cpf_cnpj.value = "";
if (tipo == "cpf") {
$('#cpf_cnpj').setMask('cpf'); // cpf
} else if (tipo == "cnpj") {
$('#cpf_cnpj').setMask('cnpj'); // cnpj
}
}
/**
* VALIDA O CPF/CNPJ E GERA O RELAT�RIO DO CRC
*/
function gerarCRC() {
var obj = document.frmGerar_crc.cpf_cnpj;
if (obj.value == "") {
alert("Digite o CPF ou CNPJ");
obj.focus();
return false;
}
var tipo = document.frmGerar_crc.tipo;
for (var i = 0; tipo.length > i; i++) {
if (tipo[i].checked) {
if (tipo[i].value == "cpf") {
if (!validacpf2(obj)) {
return false;
}
//return validacpf2(obj);
} else if (tipo[i].value == "cnpj") {
if (!validaCNPJ(obj)) {
return false;
}
//return validaCNPJ(obj);
}
}
}
//replace
var documento = obj.value;
documento = documento.replace(".","");
documento = documento.replace(".","");
documento = documento.replace("/","");
documento = documento.replace("-","");
//http://200.223.221.26/webrun/form.jsp?ext=S&sys=LIC&action=openform&formID=464569414&align=0&mode=-1&goto=-1&scrolling=no&filter=V.Doc=09543618000172
var url = 'http://ct.camacari.ba.gov.br/webrun/form.jsp?ext=S&sys=LIC&action=openform&formID=464569414&align=0&mode=-1&goto=-1&scrolling=no&filter=V.Doc=' + documento;
//var url = 'http://alz.camacari.ba.gov.br/alianza/compras/fornecedores/relatorios/crcweb.php?' + obj.value;
//window.open(url, "radio", "scrollbars=1,menubar=0,directories=0,location=0,titlebar=0,statusbar=0,menubar=0,resizable=1,fullscren=1");
//window.open( url, 'Emitir CRC','scrollbars=1,menubar=0,directories=0,location=0,titlebar=0,statusbar=0,menubar=0,resizable=1,fullscren=1');
window.open(url,'_blank');
}
</script>]]>
|
236
| <![CDATA[<script type="text/javascript">
function consultarProcesso() {
var obj = document.frmConsulta_processo.numero_processo;
if (obj.value == "") {
alert("Digite o Número do Processo");
obj.focus();
return false;
}
var url = 'http://sistemas.camacari.ba.gov.br/sga/processo/consulta_publica.php?numero_processo=' + obj.value;
window.open(url, "radio", "scrollbars=1,menubar=0,directories=0,location=0,titlebar=0,statusbar=0,menubar=0,resizable=1,fullscren=1");
//window.open( url, 'Emitir CRC','scrollbars=1,menubar=0,directories=0,location=0,titlebar=0,statusbar=0,menubar=0,resizable=1,fullscren=1');
}
</script>]]>
|