119
| <![CDATA[<script type="text/javascript">
var fecharBusy = false;
$(function () {
$('#loadMe').on('shown.bs.modal', function (e) {
if (fecharBusy) {
$("#loadMe").modal("hide");
}
});
$('#loadMe').on('hidden.bs.modal', function (e) {
fecharBusy = false;
});
});
function beginBusy() {
$("#loadMe").modal({
backdrop: "static",
keyboard: false,
show: true
});
}
function closeBusy() {
fecharBusy = true;
$("#loadMe").modal("hide");
}
function prepareDialog() {
$("html, body").animate({ scrollTop: 0 }, "slow");
$(".ui-dialog-titlebar").css({ background: '#F7985D' });
$(".ui-dialog .ui-dialog-content").css({ 'text-align': 'center' });
}
function getUrlRelativa(url) {
var urlBase = "/";
if (urlBase != '/')
return urlBase + url;
else
return url;
}
function sleep(milliseconds) {
var start = new Date().getTime();
for (var i = 0; i < 1e7; i++) {
if ((new Date().getTime() - start) > milliseconds) {
break;
}
}
}
function SucessLinkBuscaCidadesContador() {
$("#dialogBusy").dialog('close');
$("#loadMe").modal("hide");
}
function fechaDialog(nomeDialog) {
nomeDialog = "#" + nomeDialog;
$(nomeDialog).dialog("close");
}
$(document).ready(function () {
//tabenterIE();
//checkCookie();
});
jQuery(document).ajaxStart(function () {
}).ajaxStop(function () {
closeBusy();
});
</script>]]>
|
195
| <![CDATA[<script type="text/javascript">
function GetPartial(valor) {
beginBusy();
$.ajax({
url: "/VerificarAutenticidade/GetPartialAutenticidade",
type: "POST",
data: {
tipo: valor
},
error: function (result, success) { closeBusy(); },
success: function (result, success) {
$("#element").html(result);
closeBusy();
}
});
}
</script>]]>
|
500
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-WBZNPX3G9Z');
</script>]]>
|