370
| <![CDATA[<script type="text/javascript">
var tpj=jQuery;
var revapi6;
tpj(document).ready(function() {
if(tpj('#rev_slider_6_1').revolution == undefined)
revslider_showDoubleJqueryError('#rev_slider_6_1');
else
revapi6 = tpj('#rev_slider_6_1').show().revolution(
{
dottedOverlay:"threexthree",
delay:9000,
startwidth:2000,
startheight:550,
hideThumbs:200,
thumbWidth:100,
thumbHeight:50,
thumbAmount:2,
navigationType:"bullet",
navigationArrows:"solo",
navigationStyle:"round",
touchenabled:"on",
onHoverStop:"on",
swipe_velocity: 0.7,
swipe_min_touches: 1,
swipe_max_touches: 1,
drag_block_vertical: false,
keyboardNavigation:"off",
navigationHAlign:"center",
navigationVAlign:"bottom",
navigationHOffset:0,
navigationVOffset:20,
soloArrowLeftHalign:"left",
soloArrowLeftValign:"center",
soloArrowLeftHOffset:20,
soloArrowLeftVOffset:0,
soloArrowRightHalign:"right",
soloArrowRightValign:"center",
soloArrowRightHOffset:20,
soloArrowRightVOffset:0,
shadow:1,
fullWidth:"on",
fullScreen:"off",
spinner:"spinner0",
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:"off",
autoHeight:"off",
forceFullWidth:"off",
hideThumbsOnMobile:"off",
hideNavDelayOnMobile:1500, hideBulletsOnMobile:"off",
hideArrowsOnMobile:"off",
hideThumbsUnderResolution:0,
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
startWithSlide:0,
fullScreenOffsetContainer: "",
isJoomla:true
});
}); //ready
</script>]]>
|
805
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function () {
var url = 'http://www.defesacivil.rj.gov.br/';
function setCookie(c_name,value,exdays,domain)
{
if (domain) {domain = '; domain=' + domain}
var exdate=new Date();
exdate.setDate(exdate.getDate() + exdays);
var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString()) + "; path=/" + domain;
document.cookie=c_name + "=" + c_value;
}
function readCookie(name) {
var nameEQ = name + "=";
var jb = document.cookie.split(';');
for(var i=0;i < jb.length;i++) {
var c = jb[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
var $jb_cookie = jQuery('.jb.cookie');
var $jb_infoaccept = jQuery('.jb.accept');
var jbcookies = readCookie('jbcookies');
if(!(jbcookies == "yes")){
$jb_cookie.delay(1000).slideDown('fast');
$jb_infoaccept.click(function(){
setCookie("jbcookies","yes",90,"");
$jb_cookie.slideUp('slow');
jQuery('.jb.cookie-decline').fadeIn('slow', function() {});
});
}
jQuery('.jb.decline').click(function(){
setCookie("jbcookies","",0,"");
window.location.reload();
});
});
</script>]]>
|