24
| <![CDATA[<script type="text/javascript">PORTAL_URL = 'https://www.meufuturoseguro.gov.br';</script>]]>
|
24
| <![CDATA[<script type="text/javascript">
jQuery(function($){
if (typeof($.datepicker) != "undefined"){
$.datepicker.setDefaults(
jQuery.extend($.datepicker.regional['pt-BR'],
{dateFormat: 'dd/mm/yy'}));
}
});
</script>]]>
|
70
| <![CDATA[<script type="text/javascript">jQuery('.cycle-slideshow').cycle();</script>]]>
|
683
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function(){
if (jQuery.session.get('contraste') == 1) {
jQuery('head').prepend('<link rel="stylesheet" href="++theme++interagi.susep/assets/css/contraste.css">');
console.log("Modo contraste ATIVADO.");
}else{
console.log("Modo contraste DESATIVADO.");
}
if(isNaN(parseInt(jQuery.session.get('tFonte')))){
jQuery.session.set("tFonte", 0);
ts('body', 0);
}else{
ts('body', parseInt(jQuery.session.get('tFonte')));
}
});
document.onkeydown = function(e) {
var keychar;
// Internet Explorer
try {
keychar = String.fromCharCode(event.keyCode);
e = event;
}
// Firefox, Opera, Chrome e outros
catch (err) {
keychar = String.fromCharCode(e.keyCode);
}
//var urlSite = 'http://10.0.200.88/portal/';
//var urlSite = window.location.origin + "/Susep";
var urlPage = window.location.href;
if (e.altKey) {
if (keychar == 0) {
// alt + 0 = acessibilidade
location.href = "acessibilidade";
return false;
}
if (keychar == 1) {
//conteudo
location.href = "#meio";
return false;
}
if (keychar == 2) {
//menu
jQuery('.menu').click();
return false;
}
if (keychar == 3) {
// busca
document.getElementById("searchGadget").focus();
}
if (keychar == 4) {
//home
location.href = "";
}
if (keychar == 5) {
//contraste
contraste();
}
if (keychar == 6) {
//alt + 7 diminui a fonte
diminuiFonte();
}
if (keychar == 7) {
//alt + 7 aumenta a fonte
aumentaFonte();
}
if (keychar == 8) {
//alt + 8 retorna ao padrão da fonte
normalizaFonte();
}
}
}
function pegaParametros(k){
var p={};
location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(s,k,v){p[k]=v})
return k?p[k]:p;
}
function contraste(){
if (jQuery.session.get('contraste') == 1) {
jQuery.session.set("contraste", '');
location.href= window.location.href.split('#')[0];
} else {
jQuery.session.set("contraste", 1);
location.href= window.location.href.split('#')[0];
}
}
function aumentaFonte(){
if(parseInt(jQuery.session.get('tFonte')) < 4){
jQuery.session.set("tFonte", parseInt(jQuery.session.get('tFonte')) + 1);
ts('body', + 1);
}
console.log("Aumentou a fonte para: " + parseInt(jQuery.session.get('tFonte')));
}
function diminuiFonte(){
if(parseInt(jQuery.session.get('tFonte')) > -2){
jQuery.session.set("tFonte", parseInt(jQuery.session.get('tFonte')) - 1);
ts('body', - 1);
}
console.log("Diminuiu a fonte para: " + parseInt(jQuery.session.get('tFonte')));
}
function normalizaFonte(){
ts('body', parseInt(jQuery.session.get('tFonte') * -1));
jQuery.session.set("tFonte", 0);
console.log("Resetou a fonte para: " + parseInt(jQuery.session.get('tFonte')));
}
</script>]]>
|
810
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-34378375-2', 'auto');
ga('send', 'pageview');
</script>]]>
|