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>]]>
|
54
| <![CDATA[<script type="text/javascript">
function detecFlash(){
if(!FlashDetect.installed){
alert('Não é possível visualizar o jornal porque seu navegador não possui Flash instalado/habilitado.');
return false;
//window.location = 'http://www.cremesp.net/?siteAcao=FlipRevista';
}else{
return true;
}
}
</script>]]>
|
140
| <![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>]]>
|
154
| <![CDATA[<script type="text/javascript">
//mapeamento do google GA4
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'G-DJ0N9KCXK3']);
_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>]]>
|
171
| <![CDATA[<script type='text/javascript'>
if(!FlashDetect.installed){
alert('Não é possível visualizar o jornal porque seu navegador não possui Flash instalado/habilitado.');
window.location = 'http://www.cremesp.org.br/?siteAcao=FlipJornal';
}
</script>]]>
|
178
| <![CDATA[<script type="text/javascript">
$(function(){
var jQ = jQuery.noConflict();
var modal = jQ('#janela');
var modal2 = jQ('#fechar');
jQ("#link").click(function(){
modal.fadeOut();
modal2.fadeOut();
})
}
)
</script>]]>
|
197
| <![CDATA[<script type="text/javascript" src="./library/modulos/flipbook/jornal/357/files/swfobject.js">//</script>]]>
|
198
| <![CDATA[<script type="text/javascript" src="./library/modulos/flipbook/jornal/357/files/swfaddress.js">//</script>]]>
|
199
| <![CDATA[<script type="text/javascript" src="./library/modulos/flipbook/jornal/357/files/facebook.js">//</script>]]>
|
200
| <![CDATA[<script type="text/javascript">
var assetsFolder = 'assets';
var mobileFolder = 'mobile';
var changeURL = function(){
// Retirado para testes GIRARDI if(document.getElementById('hrefMobile'))document.getElementById('hrefMobile').href = dir+mobileFolder+'/index.html';
// Retirado para testes GIRARDI if(document.getElementById('hrefSEO'))document.getElementById('hrefSEO').href = dir+assetsFolder +'/seo/toc.html';
delete changeURL;
}
if (document.addEventListener){
document.addEventListener("DOMContentLoaded", changeURL, false);
} else {
document.attachEvent("onDOMContentLoaded", changeURL);
}
function afterLoad(){
checkPage();
setFocusOnFlash();
}
function setFocusOnFlash()
{
var f=swfobject.getObjectById('content');
if (f) { f.tabIndex = 0; f.focus(); }
}
function getURLParam()
{
var returnObject = {};
var href = window.location.href;
if ( href.indexOf("?") > -1 )
{
var param = href.substr(href.indexOf("?"));
var arrayParam = param.split("&");
for ( var i = 0; i < arrayParam.length; i++ )
{
var value = arrayParam[i].split("=");
returnObject[value[0]] = value[1];
}
}
returnObject['assets'] = assetsFolder;
return returnObject;
}
var dir = "./library/modulos/flipbook/jornal/357/files/";
var getURI = function(){
var URIArray = document.location.href.split('/');
URIArray.length = URIArray.length-1;
var URIstr = URIArray.join('/');
URIArray = null;
var URIarr = dir.split('/');
URIarr[0] = URIarr[0]=='.'?'':URIarr[0];
var dirStr = URIarr.join('/');
URIstr = URIstr+dirStr;
return URIstr;
}
var swfName = "flippingbook.swf?rnd=3afd668c388543c6806b5746c7ce668d";
var ua = navigator.userAgent.toLowerCase(),
platform = navigator.platform.toLowerCase(),
UA = ua.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/) || [null, 'unknown', 0],
mode = UA[1] == 'ie' && document.documentMode;
var Browser = {
extend: Function.prototype.extend,
name: (UA[1] == 'version') ? UA[3] : UA[1],
version: mode || parseFloat((UA[1] == 'opera' && UA[4]) ? UA[4] : UA[2]),
Platform: {
name: ua.match(/ip(?:ad|od|hone)/) ? 'ios' : (ua.match(/(?:webos|android|bada|symbian|palm|blackberry)/) || platform.match(/mac|win|linux/) || ['other'])[0]
},
Features: {
xpath: !!(document.evaluate),
air: !!(window.runtime),
query: !!(document.querySelector),
json: !!(window.JSON)
},
Plugins: {}
};
var page = parseInt(window.location.hash.substring(2, window.location.hash.length-1));
page = page?'#'+page:'';
// Retirado para testes GIRARDI if(Browser.Platform.name == 'android' || Browser.Platform.name == 'ios') window.location = dir+mobileFolder+"/index.html"+page;
// Retirado para testes GIRARDI if(Browser.Platform.name == 'webos' || Browser.Platform.name == 'bada' || Browser.Platform.name == 'symbian' || Browser.Platform.name == 'palm' || Browser.Platform.name == 'blackberry') window.location = dir+assetsFolder+"/seo/page1.html";
var flashvars = getURLParam();
var params = {baseURI: getURI(), base: dir, allowFullScreen: true, allowScriptAccess: "sameDomain", quality: "high", scale: "noscale",bgcolor:"FFFFFF"};
var attributes = {align: "middle"};
swfobject.embedSWF(dir + swfName, "content", "100%", "100%", "10.0.0", dir + "expressInstall.swf", flashvars, params, attributes);</script>]]>
|
362
| <![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>]]>
|
375
| <![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>]]>
|
391
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-DJ0N9KCXK3');
</script>]]>
|
401
| <![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>]]>
|
485
| <![CDATA[<script type='text/javascript'>var dropdown=new TINY.dropdown.init('dropdown', {id:'menu', active:'menuhover'});</script>]]>
|
1040
| <![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>]]>
|
1272
| <![CDATA[<script>
(() => {
cookieConsent();
})();
</script>]]>
|