2
| <![CDATA[<script language="javascript">
// valida e-mail
function Valida_mail(campo,div) {
if (document.getElementById(campo).value != "") {
if (document.getElementById(campo).value.search(/^\w+((-\w+)|(\.\w+))*\@\w+((\.|-)\w+)*\.\w+$/) == -1) {
if(div){
document.getElementById(div).innerHTML = "<img src='https://www.cremesp.org.br/Templates/v200901/images/ico_correto.gif'>";
}
document.getElementById(campo).style.borderColor = "#FF0000";
document.getElementById(campo).style.backgroundImage = "none";
return false;
} else {
if(div){
document.getElementById(div).innerHTML = "<img src='https://www.cremesp.org.br/Templates/v200901/images/ico_correto.gif'>";
}
document.getElementById(campo).style.borderColor = "#7BB33A";
document.getElementById(campo).style.backgroundImage = "url(Templates/v200901/images/ico_correto.gif)";
document.getElementById(campo).style.backgroundRepeat="no-repeat";
document.getElementById(campo).style.backgroundPosition="center right";
document.getElementById(campo).style.paddingRight="15px";
return true;
}
} else {
if(div){
document.getElementById(div).innerHTML = "";
}
document.getElementById(campo).style.borderColor = "#CCCCCC";
document.getElementById(campo).style.backgroundImage = "none";
return false;
}
}
</script>]]>
|
37
| <![CDATA[<script language='JavaScript'>
function SomenteNumero(e){
var tecla=(window.event)?event.keyCode:e.which;
if((tecla > 47 && tecla < 58)) return true;
else{
if (tecla != 8 && tecla!=0) return false;
else return true;
}
}
//exemplo de uso
//<input type='text' onkeypress='return SomenteNumero(event)'>
</script>]]>
|
87
| <![CDATA[<script type="text/javascript">
jQuery(function($){
$("#data_cadastro").mask("99/99/9999");
$("#cep_cadastro").mask("99999-999");
$("#cpf_cadastro").mask("999.999.999-99");
$("#fixo_cadastro").mask("(99) 9999-9999");
$("#celular_cadastro").mask("(99) 99999-9999");
$("#placa_cadastro").mask("aaa-9*99");
$("#placa_cadastro_confirm").mask("aaa-9*99");
});
</script>]]>
|
100
| <![CDATA[<script type="text/javascript">
//mapeamento do google não remover
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23291907-1']);
_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>]]>
|
116
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-DJ0N9KCXK3');
</script>]]>
|
126
| <![CDATA[<script> //Mapeamento por Tags para Agência Publicidade
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MDNZFST');
</script>]]>
|
210
| <![CDATA[<script type='text/javascript'>var dropdown=new TINY.dropdown.init('dropdown', {id:'menu', active:'menuhover'});</script>]]>
|
346
| <![CDATA[<script>
function pureFadeIn(e,o){
var i=document.getElementById(e);
i.style.opacity=0,i.style.display=o||"block",function e(){
var o=parseFloat(i.style.opacity);
(o+=.02)>1||(i.style.opacity=o,requestAnimationFrame(e))
}();
}
function pureFadeOut(e){
var o=document.getElementById(e);
o.style.opacity=1,function e(){
(o.style.opacity-=.02)<0?o.style.display="none":requestAnimationFrame(e)
}()
}
function setCookie(e,o,i){
var t="";
if(i){
var n=new Date;
n.setTime(n.getTime()+24*i*60*60*1e3),t="; expires="+n.toUTCString()
}
document.cookie=e+"="+(o||"")+t+"; path=/"
}
function getCookie(e){
for(var o=e+"=",i=document.cookie.split(";"),t=0;t<i.length;t++){
for(var n=i[t];" "==n.charAt(0);)
n=n.substring(1,n.length);
if(0==n.indexOf(o))
return n.substring(o.length,n.length)
}
return null
}
function eraseCookie(e){
document.cookie=e+"=; Max-Age=-99999999;"
}
function purecookieDismiss(){
setCookie("purecookieDismiss","1",7),pureFadeOut("cookieConsentContainer")
}
function cookieConsent(){
getCookie("purecookieDismiss")||(document.querySelector(".cookieConsentContainer").classList.remove('hide'),pureFadeIn("cookieConsentContainer"))
}
</script>]]>
|
578
| <![CDATA[<script>
(() => {
cookieConsent();
})();
</script>]]>
|