var explicitz3950 = ''; var infow; var unknown; var formtosubmit; var dbname_full = ''; var html_email_full = ''; var text_email_full = ''; var pagelibri = ''; var agt=navigator.userAgent.toLowerCase(); var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); function scan (use_x, str,lang) { if (lang == undefined) lang = 'it'; //FRANCESE + SPAGNOLO if (lang == 'it') tit = 'che iniziano per'; else if (lang == 'fr') tit = 'qui commencent par'; else if (lang == 'es') tit = 'que empiezan por'; else tit = 'which start with'; if (!str) { //FRANCESE + SPAGNOLO if (lang =='it') alert("Inserire almeno un carattere."); else if (lang =='fr') alert("Entrer au moins un caractère."); else if (lang =='es') alert("Introducir por lo menos un carácter."); else alert("Insert at least a character."); return false; } var txtu = ''; var indx = use_x.indexOf('X'); txtu = use_x.substring(indx+1); use_x = use_x.substring(0,indx); document.list.request.value = '1=' + use_x + ' 4=2 "' + str + '"'; //FRANCESE + SPAGNOLO if (lang =='it') document.list.visrequest.value = '' + txtu + ' che iniziano per ' + str + ''; else if (lang =='fr') document.list.visrequest.value = '' + txtu + ' qui commencent par ' + str + ''; else if (lang =='es') document.list.visrequest.value = '' + txtu + ' que empiezan por ' + str + ''; else document.list.visrequest.value = '' + txtu + ' which start with ' + str + ''; // document.list.address.value = // document.AccessF.polo.options[document.AccessF.polo.selectedIndex].value; document.list.submit(); } function search_advanced (lang,da,a,filtro,restriction1,rangename,datename,restrictiontxt1) { var result = ""; var txtresult = ""; var op = "@and@"; var txtop = "and"; var txtu = ""; var struct = '@and@'; if (lang =='it') txtop = 'e'; var allfiltro = 1; if (lang =='fr') txtop = 'et'; if (lang =='es') txtop = 'y'; for (var num=0; num < document.AccessF.elements.length; num++) { var use_x = document.AccessF.elements[num].name if(use_x != undefined && use_x != '' && use_x.indexOf('item') != -1) { var indx = use_x.indexOf('X'); txtu = use_x.substring(indx+1); txtu = replace_char(txtu,'XX',' '); use_x = use_x.substring(4,indx); var str = ''; var check1 = 1; str = document.AccessF.elements[num].value; if (use_x == '3014' || use_x == '1001' || use_x == '1021' || use_x == '1025') // if (use_x == '1001' || use_x == '1021' || use_x == '1025') check1 = 0; use_x = "1=" + use_x; var item = subfield(str, use_x, struct, check1,''); if (item && (!filtro || filtro.indexOf(use_x) == -1)) allfiltro = 0; if (item && (use_x != '1=3014' && !check1)) // if (item && !check1) str = document.AccessF.elements[num].options[document.AccessF.elements[num].selectedIndex].text; if (use_x == '1=1025' && lang == 'it') { txtu = 'Tonalità'; } if ((item != "") && (result =="")) { txtresult = '' + txtu + '= "' + str + '"'; result = item; } else { if (item != "") { result = result + " " + op + " " + item; txtresult = txtresult + " " + txtop + " " + '' + txtu + '= "' + str + '"'; } } } } //FRANCESE + SPAGNOLO if (a || da) { var opt = rangedate('da','a',1,'1=31',''); if (opt) { if (lang == 'it') opttxt = txtrangedate('Anno di pubblicazione ','da','a',1) else if (lang == 'fr') opttxt = txtrangedate("Année de publication",'du','au',1) else if (lang == 'es') opttxt = txtrangedate("Año de publicación",'del','al',1) else opttxt = txtrangedate('Publication year ','da','a',1) if (result) { result = result + ' ' + op + ' '; txtresult = txtresult + ' ' + txtop + ' '; } result = result + opt; txtresult = txtresult + opttxt; } } if (rangename) { var parts = rangename.split('X'); var opt = rangedate(parts[0]+'da',parts[0]+'a',0,'1='+parts[1],''); if (opt) { opttxt = txtrangedate(parts[2],parts[0]+'da',parts[0]+'a',0) if (result) { result = result + ' ' + op + ' '; txtresult = txtresult + ' ' + txtop + ' '; } result = result + opt; txtresult = txtresult + opttxt; } } if (datename) { var parts = datename.split('X'); var y1 = eval("self.document.AccessF."+parts[0]+"y.value"); if (y1 != "") { var range = isLegalRangeYear(y1, ''); if (range) { opt = querynotation (result,'1='+parts[1],'4=4','2=3',range,op); opttxt = parts[2] + " = " + y1 + " "; if (result) { result = result + ' ' + op + ' '; txtresult = txtresult + ' ' + txtop + ' '; } result = result + opt; txtresult = txtresult + opttxt; } } } //FRANCESE + SPAGNOLO if (result == "") { if (lang =='it') alert("Inserire almeno una parola chiave."); else if (lang =='fr') alert("Entrer au moins l'un des mots-clé."); else if (lang =='es') alert("Introducir por lo menos una palabra clave."); else alert("Insert a valid keyword."); return false; } //FRANCESE + SPAGNOLO if (allfiltro && (restriction == undefined || restriction == '')) { if (lang =='it') alert("Inserire un termine in un canale di ricerca significativo e non solo sui filtri!"); else if (lang =='fr') alert("Entrer un mot dans un critère de recherche significatifs et non seulement dans les filtres !"); else if (lang =='es') alert("¡Introducir una palabra en un canal de búsqueda significativo y no sólo en los filtros!"); else alert("Insert a valid keyword not only filters!"); return false; } // if the restriction is set then add to the present query if(restriction1 != undefined && restriction1 != '') { result = restriction1 + ' ' + op + ' ' + result; } if(restrictiontxt1 != undefined && restrictiontxt1 != '') { txtresult = restrictiontxt1 + ' ' + txtresult; } if(restriction != undefined && restriction != '') { result = restriction + ' ' + op + ' ' + result; txtresult = restrictiontxt + ' ' + txtop + ' ' + txtresult; } document.records.visrequest.value = txtresult; document.records.request.value = result ; if (document.records.address.value == '') document.records.address.value == 'alldbs'; else document.records.database.value = 0; document.records.submit(); return true; } function lista(use_x,str,template,nopopup,lang) { var txtu = ''; var indx = use_x.indexOf('X'); txtu = use_x.substring(indx+1); use_x = use_x.substring(0,indx); var value = escape('1=' + use_x + ' 4=2 "' + str + '"'); //FRANCESE + SPAGNOLO if (!str) { if (lang =='it') alert("Inserire almeno una parola chiave."); else if (lang =='fr') alert("Entrer au moins un mot-clé."); else if (lang =='es') alert("Introducir por lo menos una palabra clave."); else alert("Insert a valid keyword."); return false; } //FRANCESE + SPAGNOLO var valuetxt = escape('' + txtu + " che iniziano per " + str + ''); if (lang == 'en') valuetxt = escape('' + txtu + " which start with " + str + ''); if (lang == 'fr') valuetxt = escape('' + txtu + " qui commencent par " + str + ''); if (lang == 'es') valuetxt = escape('' + txtu + " que empiezan por " + str + ''); if (nopopup) self.location.href = '/cgi-bin/list.cgi?request=' + value + '&visrequest=' + valuetxt + '&template=' + template + '&noheader=1'; else newwindowlista('/cgi-bin/list.cgi?request=' + value + '&visrequest=' + valuetxt + '&template=' + template + '&noheader=1'); } function newwindowlista (url,name){ if (infow && infow != undefined) infow.close(); var specs='width=700,height=380,resizable=yes,scrollbars=yes,status=0'; if (name == unknown) name = 'infow'; infow=window.open(url,name,specs); if (!infow) return; infow.opener = self; // infow.location.href = url; infow.focus(name); } function newwindow (url,name){ if (infow && infow != undefined) infow.close(); var specs='width=400,height=300,resizable=yes,scrollbars=yes,status=0'; if (name == unknown) name = 'infow'; infow=window.open(url,name,specs); if (!infow) return; infow.opener = self; // infow.location.href = url; infow.focus(name); } function getinfotosubmit (infourl,formname,login) { formtosubmit=formname; if (login) newwindow(infourl,'Information'); else needlogin(infourl,'Information'); } function continua_ricerca (nome) { formtosubmit.nome.value= nome; formtosubmit.submit(); } function print_page (page) { var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; var infow=window.open('/stampa_brief.html','infow',specs); if (!infow) return; infow.focus(); } //FRANCESE + SPAGNOLO function print_libri (basket,language,page,tit1) { var url = '/stampa_libri.html'; if (language == 'en' || language == 'oc') url = '/print_libri.html'; if (language == 'fr' || language == 'af') url = '/imprimer_libri.html'; if (language == 'es' || language == 'as') url = '/imprimir_libri.html'; pagelibri = page; var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; var infow=window.open(url,'Books',specs); infow.focus(); } function print_schede (records,visrequest,dbname) { var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; dbname_full = dbname; var infow=window.open('/stampa_full.html','schede',specs); if (!infow) return; infow.focus(); } function email_schede (records,visrequest,dbname) { var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; html_email_full = get_rec_html(records,visrequest,dbname); text_email_full = get_rec_textual(records,visrequest,dbname); var infow=window.open('/email_schede.html','email',specs); if (!infow) return; infow.opener = self; infow.focus(); } function get_rec_textual (records,visrequest,dbname) { var strres = ''; visrequest = replace_char(unescape(visrequest),'',''); visrequest = replace_char(visrequest,"",''); visrequest = replace_char(visrequest,"",''); visrequest = replace_char(visrequest,"",''); strres = strres + 'Schede bibliografiche complete: '+ dbname + '\n\n\n'+ 'Ricerca: ' + visrequest + '\n\n'; for (var i=0; i< records.length; i++) { strres = strres + 'Scheda: ' + records[i].number + '\n\n' + unescape(records[i].txt); strres = strres + get_loc_txt(records[i].number,records[i].category,records[i].localizz); strres = strres + '\n\n'; } return escape(strres); } function get_rec_html (records,visrequest,dbname) { var strres = ''; strres = strres + '

Schede bibliografiche complete: '+ dbname + '

'+ '

Ricerca: ' + unescape(visrequest) + '

' + '' + '' + '
Scheda: ' + records[i].number + '
' + '' + unescape(records[i].html) + '\n'; strres = strres + get_loc_html(records[i].number,records[i].category,records[i].localizz); strres = strres + '
'; } strres = strres + '

'; return escape(strres); } function get_loc_html (num,cat,locs) { if (!locs) return ''; var strres = strres + '
Localizzazioni:
 '; for (var i=0; i< locs.length; i++) { if (locs[i].category .indexOf(cat) != -1) { strres = strres + ' ' + locs[i].link + locs[i].value + ''; if (locs[i].ill) strres = strres + 'P'; else strres = strres + 'P'; if (locs[i].digi) strres = strres + ' D'; else strres = strres + 'D'; if (locs[i].opac) strres = strres + 'O'; else strres = strres + 'O'; if (locs[i].abi) strres = strres + ' A'; else strres = strres + 'A'; strres = strres + ''; } } // strres = strres + ''; return strres; } function print_loc_html (infow,num,cat,locs) { if (!locs) return; var pageh ='
Localizzazioni:
 \n' + '\n'; for (var i=0; i< locs.length; i++) { if (cat && locs[i].category.indexOf(cat) != -1) { if (pageh) { infow.document.write(pageh); pageh = ''; } var j = i+1; infow.document.write (''); if (locs[i].ill) infow.document.write (''); if (locs[i].digi) infow.document.write (''); if (locs[i].opac) infow.document.write (''); if (locs[i].abi) infow.document.write (''); infow.document.write (''); } } if (pageh == '') infow.document.write ("
Servizi
' + locs[i].link + locs[i].value + 'PDOA
"); } function get_loc_txt (num,cat,locs) { var strres = ''; if (!locs) return strres; for (var i=0; i< locs.length; i++) { if (cat && locs[i].category.indexOf(cat) != -1) { strres = strres + locs[i].link + locs[i].value + ' - Servizi disponibili : '; if (locs[i].ill) strres = strres + ' P '; if (locs[i].digi) strres = strres + ' D '; if (locs[i].opac) strres = strres + ' O '; if (locs[i].abi) strres = strres + ' A '; } strres = strres + '\n'; } if (strres) return ('Localizzazioni: \n' + strres); else return ''; } function show_loc (num,cat,type,max) { var obj = eval('rec_' + num); if (is_ie && type=='table-row') type = 'block'; if (cat == 'a' && type == 'none') obj.category = 'n'; else obj.category = cat; if (cat == 'a') { show_all_loc(num,max,type); if(type == 'block') change_menu_font ('tutte',num); } else { show_all_loc(num,max,'none'); if (cat == 'p') change_menu_font ('prest',num); if (cat == 'o') change_menu_font ('opac',num); if (cat == 'd') change_menu_font ('digi',num); if (cat == 'b') change_menu_font ('abi',num); for (;max>0;max--) { if (cat == 'p') { showinfo_loc(num+max+'_ap',type); showinfo_loc(num+max+'_apd',type); showinfo_loc(num+max+'_apo',type); showinfo_loc(num+max+'_apb',type); showinfo_loc(num+max+'_apod',type); showinfo_loc(num+max+'_apob',type); showinfo_loc(num+max+'_apodb',type); } if (cat == 'o') { showinfo_loc(num+max+'_ao',type); showinfo_loc(num+max+'_aod',type); showinfo_loc(num+max+'_aob',type); showinfo_loc(num+max+'_apo',type); showinfo_loc(num+max+'_apod',type); showinfo_loc(num+max+'_apob',type); showinfo_loc(num+max+'_apodb',type); } if (cat == 'd') { showinfo_loc(num+max+'_ad',type); showinfo_loc(num+max+'_apd',type); showinfo_loc(num+max+'_aod',type); showinfo_loc(num+max+'_adb',type); showinfo_loc(num+max+'_apod',type); showinfo_loc(num+max+'_apdb',type); showinfo_loc(num+max+'_apodb',type); } if (cat == 'b') { showinfo_loc(num+max+'_ab',type); showinfo_loc(num+max+'_apb',type); showinfo_loc(num+max+'_aob',type); showinfo_loc(num+max+'_adb',type); showinfo_loc(num+max+'_apob',type); showinfo_loc(num+max+'_apdb',type); showinfo_loc(num+max+'_apodb',type); } } if (type != 'none') { showinfo_loc(num+'nascondi','inline'); } else { showinfo_loc(num+'nascondi',type); } showinfo_loc(num+'_serv',type); } } function show_all_loc(num,max,type) { for (;max>0;max--) { showinfo_loc(num+max+'_ap',type); showinfo_loc(num+max+'_apd',type); showinfo_loc(num+max+'_apo',type); showinfo_loc(num+max+'_apb',type); showinfo_loc(num+max+'_apod',type); showinfo_loc(num+max+'_apob',type); showinfo_loc(num+max+'_apodb',type); showinfo_loc(num+max+'_ao',type); showinfo_loc(num+max+'_aod',type); showinfo_loc(num+max+'_aob',type); showinfo_loc(num+max+'_aodb',type); showinfo_loc(num+max+'_ad',type); showinfo_loc(num+max+'_adb',type); showinfo_loc(num+max+'_ab',type); showinfo_loc(num+max+'_a',type); } showinfo_loc(num+'_serv',type); if (type != 'none') { showinfo_loc(num+'nascondi','inline'); } else { showinfo_loc(num+'nascondi',type); } } function showinfo_loc(ID,type) { var uls = document.getElementById(ID); if(uls) { uls.style.display = type; } } function change_class(ID,cl) { var uls = document.getElementById(ID); if(uls) { uls.attributes.getNamedItem("class").value = cl; } } function change_fontsize(ID,type) { var uls = document.getElementById(ID); if(uls) { uls.style.font_weight = type; } } function change_menu_font (nm,num) { if (nm) change_class(nm+'_' + num, 'selected'); if (nm != 'tutte') change_class('tutte_' + num, ''); if (nm != 'digi') change_class('digi_' + num, ''); if (nm != 'prest') change_class('prest_' + num, ''); if (nm != 'opac') change_class('opac_' + num, ''); if (nm != 'abi') change_class('abi_' + num, ''); } function show_loc1 (num,cat,type,max) { var loc = records[num].locations; for (var i= 1; i < loc.length; i++) { var div_name = "dloc"+"-"+num+"-"+i; if (use_css) { open_div = "
"; close_div= "
"; } else { open_div = ""; open_div+= ""; open_div+= ""; close_div = ""; close_div += ""; } document.write ("" + open_div+"") } } function print_login (cookid) { if (cookid != null) { if (cookid.indexOf(':') != -1) return cookid.substring(0,cookid.indexOf(':'));} else return ''; return cookid; } function ricerca_action(azione) { var num = 0; for (var i = 0; i < self.document.ricerche.elements.length; i++) { if((document.ricerche.elements[i].name.indexOf ("checkboxric") != (-1)) && (document.ricerche.elements[i].checked)) { var id = document.ricerche.elements[i].value.substring(0,document.ricerche.elements[i].value.indexOf(':')); var type = document.ricerche.elements[i].value.substring(document.ricerche.elements[i].value.indexOf(':')+1); if (azione == 'cancella') { if(self.document.form1.cancella.value) self.document.form1.cancella.value = self.document.form1.cancella.value + ','; self.document.form1.cancella.value = self.document.form1.cancella.value + id; } if (azione == 'attiva') { if (type == 'M'){ alert1("Ricerche su multicatalogo non possono essere aggiornate automaticamente."); return false; } self.document.form1.type.value = 'P'; if (type == 'P'){ alert1("Selezionare soltanto ricerche non attive."); return false; } if(self.document.form1.interesse.value) self.document.form1.interesse.value = self.document.form1.interesse.value + ','; self.document.form1.interesse.value = self.document.form1.interesse.value + id; } if (azione == 'disattiva') { self.document.form1.type.value = 'H'; if (type != 'P'){ alert1("Selezionare soltanto ricerche attive."); return false; } if(self.document.form1.interesse.value) self.document.form1.interesse.value = self.document.form1.interesse.value + ','; self.document.form1.interesse.value = self.document.form1.interesse.value + id; } num++; } } if (num == 0){ alert1("Selezionare almeno una ricerca."); return false; } self.document.form1.submit(); } function startList () { if (document.all&&document.getElementById) { toHide = document.getElementsByTagName('select_rimosso20070202'); navRoot = document.getElementById("nav"); for (i=0; i 0) page1 = 'catalogsbn/indici/'; if (page1) { var url_help = http_opencms_help + '/help-ntc/help-opac/' + lang + '/' + page1 ; newwindow(url_help,'Help'); } else alert("Help non ancora disponibile! " + page); } function help(page) { var page1 = ''; if (page == 'base') { page1 = 'id=701'; //page1 = 'catalogsbn/index.html'; } if (page == 'free') { page1 = 'id=734'; //page1 = 'catalogsbn/semplice.html'; } if (page == 'field') { page1 = 'id=719'; //page1 = 'catalogsbn/avanzata.html'; } if (page == 'baseac') { page1= 's=297'; //page1 = 'altri/index.html'; } if (page == 'freeac') { page1= 'id=736'; //page1 = 'altri/semplice.html'; } if (page == 'fieldac') { page1= 'id=737'; //page1 = 'altri/avanzata.html'; } if (page == 'antico' || page == 'moderno' || page == 'musica') { page1= 'id=720'; //page1 = 'catalogsbn/tematiche/' + page + '.html'; } if (page == 'autore' || page == 'titolo' || page == 'soggetto' || page == 'marca' || page == 'forma' || page == 'organico' || page == 'collezione' || page == 'editore' || page == 'classificazione' || page == 'dewey') { page1= 'id=730'; //page1 = 'catalogsbn/lista.html'; } if (page == 'scheda') { page1= 'id=726'; //page1 = 'catalogsbn/risultati/scheda/' } if (page == 'listresult') { page1= 'id=729'; //page1 = 'catalogsbn/indici/risultati.html'; } if (page == 'records') { page1= 'id=725'; //page1 = 'catalogsbn/risultati/'; } if (page == 'recordsac') { page1= 'id=740'; //page1 = 'altri/risultati/'; } if (page == 'recordscd') { page1= 'id=1085'; //page1 = 'altri/risultati/'; } if (page == 'recordsdc') { page1= 'id=1085'; //page1 = 'altri/risultati/'; } if (page == 'schedaac') { page1= 'id=741'; //page1 = 'altri/risultati/full.html' } if (page == 'raffina' || page == 'rantico' || page == 'rmoderno' || page == 'rmusica' || page == 'rcartografico' || page == 'rgrafico') { page1= 'id=724'; //page1 = 'catalogsbn/raffina.html'; } if (page == 'raffinaac') { page1= 'id=739'; //page1 = 'altri/raffina.html'; } if (page == 'databases') { page1= 'id=738'; //page1 = 'altri/cataloghi.html'; } if (page == 'aggmod') { page1= 'id=717'; //page1 = 'servizi/personale/nuovo.html'; } if (page == 'personale') { page1= 'id=716'; //page1 = 'servizi/personale'; } if (page == 'profilo') { page1= 's=298'; //page1 = 'servizi/'; } if (page == 'freecd') { page1= 'id=999'; //page1 = 'servizi/'; } if (page == 'basecd') { page1= 'id=998'; //page1 = 'servizi/'; } if (page == 'fieldcd') { page1= 'id=997'; //page1 = 'servizi/'; } if (page == 'ricerca_salvata') { page1= 'id=715'; //page1 = 'servizi/ricerche.html'; } if (page == 'ricerca_sessione') { page1= 'id=713'; //page1 = 'servizi/eseguite.html'; } if (page == 'segnalibro') { page1= 'id=714'; //page1 = 'servizi/segnalibro.html'; } if (!page1 && page.indexOf('list') > 0) { page1= 'id=728'; //page1 = 'catalogsbn/indici/'; } if (page1) { var url_help = 'http://www.internetculturale.it/genera.jsp?' + page1 ; newwindow(url_help,'Help'); } else alert("Help non ancora disponibile! " + page); } function informazioni () { var page1 = ''; lang = get_optval('language'); if (lang == 'cd') lang = 'it'; if (lang == 'ac') lang = 'it'; if (lang == 'dc') lang = 'en'; if (lang == 'oc') lang = 'en'; if (lang == 'df') lang = 'fr'; if (lang == 'af') lang = 'fr'; if (lang == 'ds') lang = 'es'; if (lang == 'as') lang = 'es'; page1='id=1083'; self.location.href= 'http://www.internetculturale.it/generaBibliografica.jsp?' + page1 +'&l='+lang; } function informazioni2 () { var page1 = ''; lang = get_optval('language'); if (lang == 'cd') lang = 'it'; if (lang == 'dc') lang = 'en'; if (lang == 'df') lang = 'fr'; if (lang == 'ds') lang = 'es'; page1='id=1082'; self.location.href= 'http://www.internetculturale.it/generaContenuti.jsp?' + page1 +'&l='+lang; } function email_schede_en (records,visrequest,dbname) { html_email_full = get_rec_html_en(records,visrequest,dbname); text_email_full = get_rec_textual_en(records,visrequest,dbname); var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; var infow=window.open('/email_record.html','email',specs); if (!infow) return; infow.focus(); } function get_rec_html_en (records,visrequest,dbname) { var strres = ''; strres = strres + '

Full records: '+ dbname + '

'+ '

Query: ' + unescape(visrequest) + '

' + '' + '' + '
Record: ' + records[i].number + '
' + '' + unescape(records[i].html); strres = strres + get_loc_html(records[i].number,records[i].category,records[i].localizz); strres = strres + '
'; } strres = strres + '

'; return escape(strres); } function get_rec_textual_en (records,visrequest,dbname) { var strres = ''; strres = strres + 'Full Records: '+ dbname + '\n\n\n'+ 'Query: ' + unescape(visrequest) + '\n\n'; for (var i=0; i< records.length; i++) { strres = strres + 'Record: ' + records[i].number + '\n\n' + unescape(records[i].txt); strres = strres + get_loc_txt(records[i].number,records[i].category,records[i].localizz); strres = strres + '\n\n'; } return escape(strres); } function print_schede_en (records,visrequest,dbname) { var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; var infow=window.open('/print_full.html','schede',specs); if (!infow) return; infow.focus(); } function print_loc_html_en (infow,num,cat,locs) { if (!locs) return; var pageh ='
Localizzazioni:
 \n' + '\n'; for (var i=0; i< locs.length; i++) { if (cat && locs[i].category.indexOf(cat) != -1) { if (pageh) { infow.document.write(pageh); pageh = ''; } var j = i+1; infow.document.write (''); if (locs[i].abi) infow.document.write (''); else infow.document.write (''); else infow.document.write (''); else infow.document.write (''); if (locs[i].digi) infow.document.write (''); else infow.document.write (''); infow.document.write (''); } } if (pageh == '') infow.document.write ("
Services
' + locs[i].link + locs[i].value + 'AA'); if (locs[i].ill) infow.document.write ('PP'); if (locs[i].opac) infow.document.write ('OODD
"); } function get_loc_html_en (num,cat,locs) { if (!locs) return ''; var strres = strres + '
Localizzazioni:
'; if (locs[i].ill) strres = strres + ''; else strres = strres + ''; if (locs[i].digi) strres = strres + ''; if (locs[i].abi) strres = strres + ''; strres = strres + '
' + locs[i].link + locs[i].value + 'PP'; if (locs[i].opac) strres = strres + 'O'; else strres = strres + 'O D'; else strres = strres + 'D A'; else strres = strres + 'A
'; } } strres = strres + ''; return strres; } //FRANCESE function email_schede_fr (records,visrequest,dbname) { html_email_full = get_rec_html_fr(records,visrequest,dbname); text_email_full = get_rec_textual_fr(records,visrequest,dbname); var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; var infow=window.open('/email_fiches.html','email',specs); if (!infow) return; infow.focus(); } function get_rec_html_fr (records,visrequest,dbname) { var strres = ''; strres = strres + '

Fiches bibliographiques complètes : '+ dbname + '

'+ '

Query: ' + unescape(visrequest) + '

' + '' + '' + '
Fiche: ' + records[i].number + '
' + '' + unescape(records[i].html); strres = strres + get_loc_html(records[i].number,records[i].category,records[i].localizz); strres = strres + '
'; } strres = strres + '

'; return escape(strres); } function get_rec_textual_fr (records,visrequest,dbname) { var strres = ''; strres = strres + 'Fiches bibliographiques complètes : '+ dbname + '\n\n\n'+ 'Query: ' + unescape(visrequest) + '\n\n'; for (var i=0; i< records.length; i++) { strres = strres + 'Fiche : ' + records[i].number + '\n\n' + unescape(records[i].txt); strres = strres + get_loc_txt(records[i].number,records[i].category,records[i].localizz); strres = strres + '\n\n'; } return escape(strres); } function print_schede_fr (records,visrequest,dbname) { var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; var infow=window.open('/imprimer_full.html','schede',specs); if (!infow) return; infow.focus(); } function print_loc_html_fr (infow,num,cat,locs) { if (!locs) return; var pageh ='
Localisations :
 \n' + '\n'; for (var i=0; i< locs.length; i++) { if (cat && locs[i].category.indexOf(cat) != -1) { if (pageh) { infow.document.write(pageh); pageh = ''; } var j = i+1; infow.document.write (''); if (locs[i].abi) infow.document.write (''); else infow.document.write (''); else infow.document.write (''); else infow.document.write (''); if (locs[i].digi) infow.document.write (''); else infow.document.write (''); infow.document.write (''); } } if (pageh == '') infow.document.write ("
Services
' + locs[i].link + locs[i].value + 'AA'); if (locs[i].ill) infow.document.write ('PP'); if (locs[i].opac) infow.document.write ('OODD
"); } function get_loc_html_fr (num,cat,locs) { if (!locs) return ''; var strres = strres + '
Localisations :
'; if (locs[i].ill) strres = strres + ''; else strres = strres + ''; if (locs[i].digi) strres = strres + ''; if (locs[i].abi) strres = strres + ''; strres = strres + '
' + locs[i].link + locs[i].value + 'PP'; if (locs[i].opac) strres = strres + 'O'; else strres = strres + 'O D'; else strres = strres + 'D A'; else strres = strres + 'A
'; } } strres = strres + ''; return strres; } //FRANCESE-FINE //SPAGNOLO function email_schede_es (records,visrequest,dbname) { html_email_full = get_rec_html_es(records,visrequest,dbname); text_email_full = get_rec_textual_es(records,visrequest,dbname); var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; var infow=window.open('/email_registros.html','email',specs); if (!infow) return; infow.focus(); } function get_rec_html_es (records,visrequest,dbname) { var strres = ''; strres = strres + '

Fichas bibliográficas completas: '+ dbname + '

'+ '

Query: ' + unescape(visrequest) + '

' + '' + '' + '
Ficha: ' + records[i].number + '
' + '' + unescape(records[i].html); strres = strres + get_loc_html(records[i].number,records[i].category,records[i].localizz); strres = strres + '
'; } strres = strres + '

'; return escape(strres); } function get_rec_textual_es (records,visrequest,dbname) { var strres = ''; strres = strres + 'Fichas bibliográficas completas: '+ dbname + '\n\n\n'+ 'Query: ' + unescape(visrequest) + '\n\n'; for (var i=0; i< records.length; i++) { strres = strres + 'Ficha: ' + records[i].number + '\n\n' + unescape(records[i].txt); strres = strres + get_loc_txt(records[i].number,records[i].category,records[i].localizz); strres = strres + '\n\n'; } return escape(strres); } function print_schede_es (records,visrequest,dbname) { var specs='width=700,height=400,resizable=yes,scrollbars=yes,status=0'; var infow=window.open('/imprimir_full.html','schede',specs); if (!infow) return; infow.focus(); } function print_loc_html_es (infow,num,cat,locs) { if (!locs) return; var pageh ='
Localizaciones:
 \n' + '\n'; for (var i=0; i< locs.length; i++) { if (cat && locs[i].category.indexOf(cat) != -1) { if (pageh) { infow.document.write(pageh); pageh = ''; } var j = i+1; infow.document.write (''); if (locs[i].abi) infow.document.write (''); else infow.document.write (''); else infow.document.write (''); else infow.document.write (''); if (locs[i].digi) infow.document.write (''); else infow.document.write (''); infow.document.write (''); } } if (pageh == '') infow.document.write ("
Servicios
' + locs[i].link + locs[i].value + 'AA'); if (locs[i].ill) infow.document.write ('PP'); if (locs[i].opac) infow.document.write ('OODD
"); } function get_loc_html_es (num,cat,locs) { if (!locs) return ''; var strres = strres + '
Localizaciones:
'; if (locs[i].ill) strres = strres + ''; else strres = strres + ''; if (locs[i].digi) strres = strres + ''; if (locs[i].abi) strres = strres + ''; strres = strres + '
' + locs[i].link + locs[i].value + 'PP'; if (locs[i].opac) strres = strres + 'O'; else strres = strres + 'O D'; else strres = strres + 'D A'; else strres = strres + 'A
'; } } strres = strres + ''; return strres; } //SPAGNOLO-FINE