26
| <![CDATA[<script type="text/javascript">
AjaxPro.noUtcTime = true;
</script>]]>
|
35
| <![CDATA[<script type="text/javascript">
var siterel = "";
</script>]]>
|
40
| <![CDATA[<script type="text/javascript">
//<![CDATA[
if (sessionStorage.getItem('stylename') != null) {
document.getElementById('layoutsite').setAttribute('href', sessionStorage.getItem('stylename'));
}
else {
document.getElementById('layoutsite').setAttribute('href', 'css/geral.css');
}
//]]>
</script>]]>
|
75
| <![CDATA[<script type="text/javascript">
//<![CDATA[
var isEmpty = true;
function buscar() {
if (isEmpty)
document.location = '/bus_ava.aspx?search=';
else
document.location = '/bus_ava.aspx?search=' + document.getElementById('uc_painel_buscar').value;
}
$(function () {
document.getElementById("uc_painel_btn_buscar").onclick = buscar;
});
if (document.getElementById("uc_painel_buscar").addEventListener) {
document.getElementById("uc_painel_buscar").addEventListener('keyup', function () {
if (document.getElementById('uc_painel_buscar').value.trim() == "") isEmpty = true; else isEmpty = false;
});
} else {
document.getElementById("uc_painel_buscar").attachEvent('onkeyup', function () {
if (document.getElementById('uc_painel_buscar').value.trim() == "") isEmpty = true; else isEmpty = false;
});
}
//]]>
</script>]]>
|
143
| <![CDATA[<script>
//<![CDATA[
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
//]]>
</script>]]>
|
269
| <![CDATA[<script type="text/javascript">
//<![CDATA[
(function(){
var hlp_dicaIcon = document.getElementById("hlp_dicaIcon");
if(hlp_dicaIcon){
hlp_dicaIcon.onclick = function(){alert(document.getElementById('hlp_dicaDescriptionDetail').value);};
}
})();
function AtivarAjuda(){
try{
if(!document.getElementById("chk_Ajuda").checked)
document.getElementById("hlp_dica").style.display="none";
else
document.getElementById("hlp_dica").style.display="block";
}catch(e){}
}
AtivarAjuda()
//]]>
</script>]]>
|
290
| <![CDATA[<script type="text/javascript">
//<![CDATA[
// Persistencia de style nos labels validados
var validatedControls = new Array();
var validatedItensLabel = new Array();
var validatedItensLabelStyle = new Array();
function SetUIMessage(title, description, descriptionDetail)
{
try
{
var uiMessage = document.getElementById("hlp_dica");
var uiMessageIcon = document.getElementById("hlp_dicaIcon");
var uiMessageTitle = document.getElementById("hlp_dicaTitle");
var uiMessageDescription = document.getElementById("hlp_dicaDescription");
// Alterando o título
uiMessageTitle.removeChild(uiMessageTitle.firstChild);
uiMessageTitle.appendChild(document.createTextNode(title));
// Alterando a descrição amigável
uiMessageDescription.removeChild(uiMessageDescription.firstChild);
uiMessageDescription.appendChild(document.createTextNode(description));
}
catch(e){}
}
var isValid = false;
function Validate(functionCustomValidate){
if(functionCustomValidate == null)
isValid = true;
else
isValid = functionCustomValidate();
}
// mantém a caixa da ajuda sempre na tela
var fm_id='hlp_dica';
var target_y = -60;
var target_x;
var offset_x = 80;
function SetElementPosition()
{
if (window.innerWidth)
target_x = (window.innerWidth / 2) - 10;
else if (document.all)
target_x = document.body.clientWidth / 2;
target_x = target_x - ((document.getElementById(fm_id).style.width.substring(0, document.getElementById(fm_id).style.width.indexOf("px")))/2) + offset_x;
}
SetElementPosition();
setInterval('SetElementPosition()', 20);
var has_inner = typeof(window.innerWidth) == 'number';
var has_element = document.documentElement && document.documentElement.clientWidth;
var floating_element = document.getElementById ? document.getElementById(fm_id) : document.all ? document.all[fm_id] : document.layers[fm_id];
var fm_shift_x, fm_shift_y, fm_next_x, fm_next_y;
function MoveElement()
{
if (document.layers)
{
floating_element.left = fm_next_x;
floating_element.top = fm_next_y;
}
else
{
floating_element.style.left = fm_next_x + 'px';
floating_element.style.top = fm_next_y + 'px';
}
}
function ComputeShifts()
{
fm_shift_x = has_inner ? pageXOffset : has_element ? document.documentElement.scrollLeft : document.body.scrollLeft;
if (target_x < 0)
fm_shift_x += has_inner ? window.innerWidth : has_element ? document.documentElement.clientWidth : document.body.clientWidth;
fm_shift_y = has_inner ? pageYOffset : has_element ? document.documentElement.scrollTop : document.body.scrollTop;
if (target_y < 0)
fm_shift_y += has_inner ? window.innerHeight : has_element ? document.documentElement.clientHeight : document.body.clientHeight;
}
function FloatElement()
{
var step_x, step_y;
ComputeShifts();
step_x = (fm_shift_x + target_x - fm_next_x) * .07;
if (Math.abs(step_x) < .5)
step_x = fm_shift_x + target_x - fm_next_x;
step_y = (fm_shift_y + target_y - fm_next_y) * .07;
if (Math.abs(step_y) < .5)
step_y = fm_shift_y + target_y - fm_next_y;
if (Math.abs(step_x) > 0 ||
Math.abs(step_y) > 0)
{
fm_next_x += step_x;
fm_next_y += step_y;
MoveElement();
}
setTimeout('FloatElement()', 20);
};
ComputeShifts();
if (document.layers)
{
// Netscape 4 cannot perform init move
// when the page loads.
fm_next_x = 0;
fm_next_y = 0;
}
else
{
fm_next_x = fm_shift_x + target_x;
fm_next_y = fm_shift_y + target_y;
MoveElement();
}
FloatElement();
//]]>
</script>]]>
|
428
| <![CDATA[<script type="text/javascript">
//<![CDATA[ MessageIcons.IconError = "images/ico_error.gif";
MessageIcons.IconInformation = "images/ico_check.gif";
MessageIcons.IconWarning = "images/ico_warning.gif";
Message.LoadingImage = "images/loadingBar.gif";
//]]>
</script>]]>
|
435
| <![CDATA[<script type="text/javascript">
//<![CDATA[
var arrImages = new Array();
var img = new Image;
arrImages[0] = 'images/loadingBar.gif';
arrImages[1] = 'images/ico_error.gif';
arrImages[2] = 'images/ico_warning.gif';
arrImages[3] = 'images/ico_check.gif';
for(i = 0; i < arrImages.length; i++){img.src = arrImages[i]; }
//]]>
</script>]]>
|
448
| <![CDATA[<script type="text/javascript">
//<![CDATA[
(function(){
var buscar = document.getElementById("uc_painel_buscar");
buscar.onfocus = function(){if(this.value=='palavra-chave')this.value='';};
buscar.onblur = function(){if(this.value=='')this.value='palavra-chave';};
})();
//]]>
</script>]]>
|
457
| <![CDATA[<script type="text/javascript">
//<![CDATA[
(function(){
var divMenu = document.getElementById("uc_menu_menu");
var nuNivelMax = 3;
var nmClassMenu = '';
for(var j= 1; j <= nuNivelMax; j++) {
nmClassMenu = 'mn_nivel_'+ (j < 10 ? '0' + j.toString() : j.toString()) + '_mais';
var menus = getElementsByClassName(nmClassMenu, 'li', divMenu);
for (var i= 0; i< menus.length; i++) {
if(menus[i].childNodes.length > 1 && menus[i].childNodes[0].tagName.toLowerCase() == 'a'){
menus[i].childNodes[0].onclick = function(){
var novaClasse = '';
if(this.parentNode.childNodes[1].style.display=='none'){
this.parentNode.childNodes[1].style.display='block';
novaClasse = this.parentNode.className.replace('mais','menos');
this.parentNode.className= novaClasse;
}else{
this.parentNode.childNodes[1].style.display='none';
novaClasse = this.parentNode.className.replace('menos','mais');
this.parentNode.className= novaClasse;
}
return false;
}
}
}
}
})();
//]]>
</script>]]>
|
488
| <![CDATA[<script type="text/javascript">
//<![CDATA[
(function(){
})();
(function(){
var txt_dtInicio = document.getElementById("txt_dtInicio");
if(txt_dtInicio){
txt_dtInicio.onfocus = function(){try{SetUIMessage('Data da Solicitação:', 'Preenchimento opcional. Digite uma data válida.', '');}catch(e){} };
}
})();
(function(){
var txt_dtFim = document.getElementById("txt_dtFim");
if(txt_dtFim){
txt_dtFim.onfocus = function(){try{SetUIMessage('Data da Solicitação:', 'Preenchimento opcional. Digite uma data válida.', '');}catch(e){} };
}
})();
//]]>
</script>]]>
|
519
| <![CDATA[<script type="text/javascript">
//<![CDATA[
(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', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-8187826-26', 'auto');
ga('create', 'UA-34477479-25', 'auto', {'name':'b'});
ga('send', 'pageview');
ga('b.send', 'pageview');
//]]>
</script>]]>
|