17
| <![CDATA[<script type="text/javascript">
var codigo_sophia = '112060';
var idioma = '';
var somente_midia = '';
var busca = '';
var banner = '';
var menu = '';
var somente_legislacao = '';
var twri = '';
var usuario = '';
var menu_servicos = null;
function redirect_index() {
if (isParametro() || parent.hiddenFrame == undefined) {
window.sessionStorage.setItem("codigo_sophia", codigo_sophia);
window.sessionStorage.setItem("twri", twri);
window.sessionStorage.setItem("usuario", usuario);
window.location = "index.html";
}
}
function escondeMenus() {
//Esconde os menus suspensos se estiver instanciado
if (menu_servicos != null) {
menu_servicos.EsconderMenu();
}
}
function isParametro() {
return (
isValidSophiAParam(codigo_sophia) || isValidSophiAParam(idioma) ||
isValidSophiAParam(somente_midia) || isValidSophiAParam(busca) ||
isValidSophiAParam(menu) || isValidSophiAParam(somente_legislacao) ||
isValidSophiAParam(banner)
);
}
function isValidSophiAParam(parametro) {
return (parametro != null && parametro != '');
}
</script>]]>
|
62
| <![CDATA[<script type="text/javascript">
function getTermo(idioma,id,descricao,caixa) {
var msgAux = "";
try {
msgAux = eval("id_" + id + "_" + idioma);
if (msgAux == "") {
msgAux = descricao;
}
} catch(e) {
msgAux = descricao;
}
if (caixa == 1) {
msgAux = msgAux.toUpperCase();
} else if (caixa == 2) {
msgAux = msgAux.toLowerCase();
}
msgAux = msgAux.replace('\'', '\\\'');
return msgAux;
}
</script>]]>
|
84
| <![CDATA[<script type="text/javascript">
var global_numero_serie = '4694';
var global_hab_bus_leg = '1';
var global_aba_ativa = '';
var global_aba_inativa = '';
var global_busca_contornos = '';
var global_css_detalhe_esquerda = '#DDDDDD';
var global_versao = '1';
var global_limite_min_busca = '3';
var global_ultimas_aquisicoes = '1';
var global_facebook_appid = '';
var global_espanha = '0';
var global_dias_ultimas_aquisicoes = '80';
var global_leg_ordenacao = "publicacaoDESC";
var global_hab_sobre_mobile = '0';
var global_integracao_rybena = '0';
global_comb_ordenacao = "titulo";
var global_session_data = 0;
var global_session_tabopc = 0;
if (global_numero_serie == 2518) {
var global_campo_default1 = "titulo";
var global_campo_default2 = "autor";
var global_campo_default3 = "assunto";
var global_campo_default4 = "palavra_chave";
} else {
var global_campo_default1 = "palavra_chave";
var global_campo_default2 = "titulo";
var global_campo_default3 = "autor";
var global_campo_default4 = "assunto";
}
if (parent.hiddenFrame != undefined) {
if (parent.hiddenFrame.comb_ordenacao == "") {
parent.hiddenFrame.comb_ordenacao = global_comb_ordenacao;
}
if (parent.hiddenFrame.leg_ordenacao == "") {
parent.hiddenFrame.leg_ordenacao = global_leg_ordenacao;
}
if (parent.hiddenFrame.comb_filtro1 == "") {
parent.hiddenFrame.comb_filtro1 = global_campo_default1;
}
if (parent.hiddenFrame.comb_filtro2 == "") {
parent.hiddenFrame.comb_filtro2 = global_campo_default2;
}
if (parent.hiddenFrame.comb_filtro3 == "") {
parent.hiddenFrame.comb_filtro3 = global_campo_default3;
}
if (parent.hiddenFrame.comb_filtro4 == "") {
parent.hiddenFrame.comb_filtro4 = global_campo_default4;
}
parent.hiddenFrame.iMultiServbib = 0;
parent.hiddenFrame.alturaJanelaLogin = 250;
}
</script>]]>
|
143
| <![CDATA[<script type="text/javascript">
if (parent != undefined) {
parent.document.title = ".: SophiA Biblioteca - Terminal Web :.";
}
</script>]]>
|
170
| <![CDATA[<script>
// Criado para o IE8 - Alternativa ao CSS last-child
// Usado para ajustar o último bloco de opções do menu principal (superior)
$(function() {
$(".span-menu-item:last-child").addClass("ultimo-span-menu-item");
});
</script>]]>
|
221
| <![CDATA[<script type='text/javascript'>LayerX();</script>]]>
|
221
| <![CDATA[<script type='text/javascript'>LayerY();</script>]]>
|
277
| <![CDATA[<script type='text/javascript'>
if (parent.hiddenFrame != null) {
if (parent.hiddenFrame.iBusca_Projeto > 0) {
if (document.frm_combinada != null) {
if (document.frm_combinada.comb_bib != null) {
document.frm_combinada.comb_bib.style.visibility = "hidden";
}
}
if (document.frm_geral != null) {
if (document.frm_geral.geral_bib != null) {
document.frm_geral.geral_bib.style.visibility = "hidden";
}
}
if (document.frm_rapida != null) {
if (document.frm_rapida.rapida_bib != null) {
document.frm_rapida.rapida_bib.style.visibility = "hidden";
}
}
if (document.frm_aut != null) {
if (document.frm_aut.aut_bib != null) {
document.frm_aut.aut_bib.style.visibility = "hidden";
}
}
}
if ((parent.hiddenFrame.iFixarBibUsu == 1) || (parent.hiddenFrame.iFixarBib == 1)) {
if (document.frm_combinada != null) {
if (document.frm_combinada.comb_bib != null) {
document.frm_combinada.comb_bib.disabled = true;
}
}
if (document.frm_geral != null) {
if (document.frm_geral.geral_bib != null) {
document.frm_geral.geral_bib.disabled = true;
}
}
if (document.frm_rapida != null) {
if (document.frm_rapida.rapida_bib != null) {
document.frm_rapida.rapida_bib.disabled = true;
}
}
if (document.frm_aut != null) {
if (document.frm_aut.aut_bib != null) {
document.frm_aut.aut_bib.disabled = true;
}
}
}
}
</script>]]>
|
459
| <![CDATA[<script type="text/javascript">
$(function () {
$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
$("#data_aq_inicio").datepicker({
showOn: "both",
buttonImage: "scripts/css/images/calendario.png",
buttonImageOnly: true,
minDate: new Date(1753, 1 - 1, 1),
buttonText: ""
});
$("#data_aq_fim").datepicker({
showOn: "both",
buttonImage: "scripts/css/images/calendario.png",
buttonImageOnly: true,
minDate: new Date(1753, 1 - 1, 1),
buttonText: ""
});
// Espanhol
});
</script>]]>
|
529
| <![CDATA[<script type="text/javascript">
$(function () {
$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
$("#data_ass_inicio").datepicker({
showOn: "both",
buttonImage: "scripts/css/images/calendario.png",
buttonImageOnly: true,
minDate: new Date(1753, 1 - 1, 1),
buttonText: ""
});
$("#data_ass_fim").datepicker({
showOn: "both",
buttonImage: "scripts/css/images/calendario.png",
buttonImageOnly: true,
minDate: new Date(1753, 1 - 1, 1),
buttonText: ""
});
$("#data_pub_inicio").datepicker({
showOn: "both",
buttonImage: "scripts/css/images/calendario.png",
buttonImageOnly: true,
minDate: new Date(1753, 1 - 1, 1),
buttonText: ""
});
$("#data_pub_fim").datepicker({
showOn: "both",
buttonImage: "scripts/css/images/calendario.png",
buttonImageOnly: true,
minDate: new Date(1753, 1 - 1, 1),
buttonText: ""
});
// Espanhol
});
</script>]]>
|
704
| <![CDATA[<script type="text/javascript">
var msgFiltro = 'Filtro';
var msg = 'Digite aqui';
$(document).ready(function () {
$("#leg_orgao_origem").multiselect({
header: true
}).multiselectfilter({ label: msgFiltro, placeholder: msg, width: 200, autoReset: true });
});
$(document).ready(function () {
$("#leg_normas").multiselect({
header: true
}).multiselectfilter({ label: msgFiltro, placeholder: msg, width: 200, autoReset: true});
});
</script>]]>
|
729
| <![CDATA[<script type="text/javascript"> if (parent.hiddenFrame) { parent.hiddenFrame.content = ""; } </script>]]>
|
737
| <![CDATA[<script type="text/javascript">
$(document).ready(function () {
var indexSrv = 1;
if(sessionStorage.iIndexSrvAquisicao) {
indexSrv = sessionStorage.iIndexSrvAquisicao
}
atualizaUltimasAquisicoes(indexSrv);
});
</script>]]>
|
773
| <![CDATA[<script type="text/javascript">
if (parent.hiddenFrame != null) {
if (parent.hiddenFrame.iBuscaMidia == 1) {
if (document.frm_rapida != null) {
var buscaMidia = $('#buscaMidiaSpan');
if (buscaMidia.length) {
buscaMidia.hide();
}
}
if (document.frm_combinada != null){
var buscaMidia = $('#buscaMidiaSpanComb');
if (buscaMidia.length) {
buscaMidia.hide();
}
}
if (document.frm_legislacao != null){
var buscaMidia = $('#buscaMidiaSpanLeg');
if (buscaMidia.length) {
buscaMidia.hide();
}
}
}
}
marca_selecao();
var mainResize = function () {
var winH = $(window).height();
var mainH = $('.divMain').height();
if (winH > 970) {
$('.divMain').css('min-height',winH + 'px');
}else {
$('.divMain').css('min-height','970px');
}
};
$(function () {
$(window).resize(mainResize);
mainResize();
var caption = 'Qualquer biblioteca';
if (parent.hiddenFrame != null) {
if (parent.hiddenFrame.iBusca_Projeto == 0) {
if (document.frm_combinada != null) {
if (document.frm_combinada.comb_bib != null) {
if ($("#geral_bib").val() != 0){
$("#geral_bib").multiselect({
header: false,
checkAllText: ' ',
uncheckAllText: ' ',
noneSelectedText: caption,
selectedText: '# itens selecionados',
selectedList: 1
});
}
}
}
}
}
$("#comb_material").multiselect({
checkAllText: 'Todos',
uncheckAllText: 'Limpar',
noneSelectedText: 'Qualquer',
selectedText: '# itens selecionados',
selectedList: 1
});
$("#comb_nivel").multiselect({
checkAllText: 'Todos',
uncheckAllText: 'Limpar',
noneSelectedText: 'Indiferente',
selectedText: '# itens selecionados',
selectedList: 1
});
iniciouCombos = true;
});
</script>]]>
|