92
| <![CDATA[<embed src="swf/topo.swf"
width="979"
height="222"
align="middle"
quality="high"
name="reel"
allowscriptaccess="sameDomain"
allowfullscreen="true" t
ype="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />]]>
|
11
| <![CDATA[<script language="javascript">AC_FL_RunContent = 0;</script>]]>
|
19
| <![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>]]>
|
71
| <![CDATA[<script language="javascript">
if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js.");
} else
{
AC_FL_RunContent ( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','name','','width','979','height','222','align','middle','id','','src','','wmode','transparent','quality','high','allowscriptaccess','sameDomain','allowfullscreen','true','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','swf/topo' );
}
</script>]]>
|
165
| <![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:5020/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:5020/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>]]>
|