28
| <![CDATA[<script>
var supersleight = function() {
var root = false;
var applyPositioning = true;
// Path to a transparent GIF image
var shim = 'js/x.gif';
// RegExp to match above GIF image name
var shim_pattern = /x\.gif$/i;
var fnLoadPngs = function() {
if (root) {
root = document.getElementById(root);
}else{
root = document;
}
for (var i = root.all.length - 1, obj = null; (obj = root.all[i]); i--) {
// background pngs
if (obj.currentStyle.backgroundImage.match(/\.png/i) !== null) {
bg_fnFixPng(obj);
}
// image elements
if (obj.tagName=='IMG' && obj.src.match(/\.png$/i) !== null){
el_fnFixPng(obj);
}
// apply position to 'active' elements
if (applyPositioning && (obj.tagName=='A' || obj.tagName=='INPUT') && obj.style.position === ''){
obj.style.position = 'relative';
}
}
};
var bg_fnFixPng = function(obj) {
var mode = 'scale';
var bg = obj.currentStyle.backgroundImage;
var src = bg.substring(5,bg.length-2);
if (obj.currentStyle.backgroundRepeat == 'no-repeat') {
mode = 'crop';
}
obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='" + mode + "')";
obj.style.backgroundImage = 'url('+shim+')';
};
var el_fnFixPng = function(img) {
var src = img.src;
img.style.width = img.width + "px";
img.style.height = img.height + "px";
img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')";
img.src = shim;
};
var addLoadEvent = function(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
};
}
};
return {
init: function() {
addLoadEvent(fnLoadPngs);
},
limitTo: function(el) {
root = el;
},
run: function() {
fnLoadPngs();
}
};
}();
// limit to part of the page ... pass an ID to limitTo:
// supersleight.limitTo('header');
supersleight.init();
</script>]]>
|
118
| <![CDATA[<script>
// CÓDIGO DO REDIRECIONAMENTO
// Variáveis de configuração
//var GOVCE_SECRETARIA = "HGWA"; // TAMANHO MÁXIMO: 15 caracteres
//var GOVCE_ENDERECO = "www.ceara.gov.br"; /// FIXO - NÃO ALTERAR
// Verifica se o remetente é o Portal do Governo
//var sRemetente = document.referrer;
//if (sRemetente.indexOf(GOVCE_ENDERECO) > 0) {
//GerarCookie("GOVCERedir", "1", 1);
}
//else {
// Não veio do Governo. Tenta obter Cookie de configuracao
var sVerificaRedir = LerCookie("GOVCERedir");
if (sVerificaRedir != "1") {
GerarCookie("GOVCERedir", "1", 1);
// Cria endereço com todas as informações necessárias (servidor, url, e possíveis variáveis query)
var sUrlGovCe = location.href;
// Redireciona para o portal do governo, passando o endereço montado para possível retorno
location.href = "http://" + GOVCE_ENDERECO + "?secretaria=" + GOVCE_SECRETARIA + "&endereco=" + sUrlGovCe;
}
}
// Função para criar o cookie.
// Para que o cookie seja destruído quando o browser for fechado, basta passar 0 no parametro lngDias.
function GerarCookie(strCookie, strValor, lngDias)
{
var dtmData = new Date();
if(lngDias)
{
dtmData.setTime(dtmData.getTime() + (lngDias * 10 * 60 * 60 * 1000));
var strExpires = "; expires=" + dtmData.toGMTString();
}
else
{
var strExpires = "";
}
document.cookie = strCookie + "=" + strValor + strExpires + "; path=/";
}
// Função para ler o cookie.
function LerCookie(strCookie)
{
var strNomeIgual = strCookie + "=";
var arrCookies = document.cookie.split(';');
for(var i = 0; i < arrCookies.length; i++)
{
var strValorCookie = arrCookies[i];
while(strValorCookie.charAt(0) == ' ')
{
strValorCookie = strValorCookie.substring(1, strValorCookie.length);
}
if(strValorCookie.indexOf(strNomeIgual) == 0)
{
return strValorCookie.substring(strNomeIgual.length, strValorCookie.length);
}
}
return null;
}
</script>]]>
|
205
| <![CDATA[<script type="text/javascript" language="JavaScript">
var now = new Date();
mydate = new Date();
myday = mydate.getDay();
mymonth = mydate.getMonth();
myweekday= mydate.getDate();
weekday= myweekday;
myyear= mydate.getYear();
year = myyear;
if (myweekday<10)
myweekday = "0"+myweekday.toString();
if(myday == 0) day = " Domingo, "
else if(myday == 1)day = " Segunda-Feira"
else if(myday == 2) day = " Terça-Feira"
else if(myday == 3) day = " Quarta-Feira"
else if(myday == 4)day = " Quinta-Feira"
else if(myday == 5) day = " Sexta-Feira"
else if(myday == 6) day = " Sábado"
if(mymonth == 0)
month = "/01/"
else if(mymonth ==1) month = "/02/"
else if(mymonth ==2) month = "/03/"
else if(mymonth ==3) month = "/04/"
else if(mymonth ==4) month = "/05/"
else if(mymonth ==5) month = "/06/"
else if(mymonth ==6) month = "/07/"
else if(mymonth ==7) month = "/08/"
else if(mymonth ==8) month = "/09/"
else if(mymonth ==9) month = "/10/"
else if(mymonth ==10) month = "/11/"
else if(mymonth ==11) month = "/12/"
if (navigator.appName.indexOf('Microsoft') != -1)
document.write(myweekday+ month + year + ","+ day);
else
{
year=year+1900;
document.write(myweekday+ month + year + ","+ day);
}
</script>]]>
|
256
| <![CDATA[<script>
function goMenu(){
var valor = document.getElementById('menuTopo').options[ document.getElementById('menuTopo').selectedIndex ].value;
if( valor != '' ){
document.location.href = valor;
}
}
</script>]]>
|
327
| <![CDATA[<script type="text/javascript">
function gothere(){
var link = document.form_wlcombo_plus.select_wlcombo_plus.options[document.form_wlcombo_plus.select_wlcombo_plus.selectedIndex].value;
if ((link != "") && (link.search(/http:/)!=-1)) {
window.open(link,"mywindow");
}
}
</script>]]>
|
344
| <![CDATA[<script>
function goMenuCombo(param_menuID){
var valor = document.getElementById(param_menuID).options[ document.getElementById(param_menuID).selectedIndex ].value;
if( valor != '' ){
document.location.href = valor;
}
}
</script>]]>
|
361
| <![CDATA[<script>
function goMenuCombo(param_menuID){
var valor = document.getElementById(param_menuID).options[ document.getElementById(param_menuID).selectedIndex ].value;
if( valor != '' ){
document.location.href = valor;
}
}
</script>]]>
|
534
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
var prefix = 'mailto:';
var suffix = '';
var attribs = '';
var path = 'hr' + 'ef' + '=';
var addy59653 = 'magda.almeida' + '@';
addy59653 = addy59653 + 'saude' + '.' + 'ce' + '.' + 'gov' + '.' + 'br';
document.write( '<a ' + path + '\'' + prefix + addy59653 + suffix + '\'' + attribs + '>' );
document.write( addy59653 );
document.write( '<\/a>' );
//-->
</script>]]>
|
546
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
document.write( '<span style=\'display: none;\'>' );
//-->
</script>]]>
|
551
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
document.write( '</' );
document.write( 'span>' );
//-->
</script>]]>
|
561
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
var prefix = 'mailto:';
var suffix = '';
var attribs = '';
var path = 'hr' + 'ef' + '=';
var addy5446 = 'joelia.rodrigues' + '@';
addy5446 = addy5446 + 'saude' + '.' + 'ce' + '.' + 'gov' + '.' + 'br';
document.write( '<a ' + path + '\'' + prefix + addy5446 + suffix + '\'' + attribs + '>' );
document.write( addy5446 );
document.write( '<\/a>' );
//-->
</script>]]>
|
573
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
document.write( '<span style=\'display: none;\'>' );
//-->
</script>]]>
|
578
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
document.write( '</' );
document.write( 'span>' );
//-->
</script>]]>
|
589
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
var prefix = 'mailto:';
var suffix = '';
var attribs = '';
var path = 'hr' + 'ef' + '=';
var addy29083 = 'marcia.monteiro' + '@';
addy29083 = addy29083 + 'saude' + '.' + 'ce' + '.' + 'gov' + '.' + 'br';
document.write( '<a ' + path + '\'' + prefix + addy29083 + suffix + '\'' + attribs + '>' );
document.write( addy29083 );
document.write( '<\/a>' );
//-->
</script>]]>
|
601
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
document.write( '<span style=\'display: none;\'>' );
//-->
</script>]]>
|
606
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
document.write( '</' );
document.write( 'span>' );
//-->
</script>]]>
|
617
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
var prefix = 'mailto:';
var suffix = '';
var attribs = '';
var path = 'hr' + 'ef' + '=';
var addy58249 = 'valniza.silva' + '@';
addy58249 = addy58249 + 'saude' + '.' + 'ce' + '.' + 'gov' + '.' + 'br';
document.write( '<a ' + path + '\'' + prefix + addy58249 + suffix + '\'' + attribs + '>' );
document.write( addy58249 );
document.write( '<\/a>' );
//-->
</script>]]>
|
629
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
document.write( '<span style=\'display: none;\'>' );
//-->
</script>]]>
|
634
| <![CDATA[<script language='JavaScript' type='text/javascript'>
<!--
document.write( '</' );
document.write( 'span>' );
//-->
</script>]]>
|
677
| <![CDATA[<script language="javascript">
function show(whichOne,vmax){
var num = new Number(whichOne);
for(var nLink = vmax ; nLink > 0 ; nLink--){
if( document.getElementById('link'+nLink) ){
document.getElementById('link'+nLink).className = '';
}
if( document.getElementById('div'+nLink) ){
document.getElementById('div'+nLink).style.opacity = 0;
document.getElementById('div'+nLink).style.display = 'none';
}
}
if(vmax == 1){
document.getElementById('div1').style.display = '';
document.getElementById('div1').style.opacity = '';
return false;
}
if(whichOne == vmax){
tDiv = "div"+vmax;
vDiv = "div1";
}
else{
tDiv = "div" + num;
vDiv = "div" + (num + 1);
}
if(whichOne == 1){
if( document.getElementById('link'+vmax) ){
document.getElementById('link'+vmax).className = '';
}
document.getElementById('link1').className = 'activeSlide';
}
else{
document.getElementById('link'+ (num - 1)).className = '';
document.getElementById('link'+whichOne).className = 'activeSlide';
}
if($(tDiv).fx){$(tDiv).fx.stop();}
if($(vDiv).fx){$(vDiv).fx.stop();}
$(tDiv).fx = $(tDiv).effect("opacity", {duration: 500}).start(0);
$(vDiv).fx = $(vDiv).effect("opacity", {duration: 500}).start(1);
$(tDiv).style.display = 'none';
$(vDiv).style.display = '';
}
var randomBanner = {
cont: 0,
timeOut: null,
change: function(num){
var that = this;
if( this.cont == 5){
this.cont = 0;
}
if( num > 0 && typeof num != 'undefined' ){
this.cont = num;
}
else{
this.cont++;
}
show(this.cont,5)
this.timeOut = setTimeout(
function(){
that.change();
},
3500
);
},
changeCont: function(num){
var that = this;
this.cont = num;
},
stopLoop: function(){
clearTimeout( this.timeOut );
}
}
function changeBanner(num2){
num2 = parseInt(num2);
randomBanner.stopLoop();
show(num2,5);
if( num2 == 5){
num2 = 1;
}
else{
num2 = num2 + 1 ;
}
setTimeout(
function(){
randomBanner.change( parseInt(num2) );
},
5500
);
}
function sleep(tempo){
var start = new Date().getTime();
for(var i = 0; i < 1e7 ; i++){
if( (new Date().getTime() - start) > tempo ){
break;
}
}
}
</script>]]>
|
836
| <![CDATA[<script>randomBanner.change(1);</script>]]>
|