var userVitalStats;
function opac_init() {
- featuredcontentslider.init({
- id: "homebanner",
- contentsource: ["inline", ""],
- toc: "markup",
- nextprev: ["", ""],
- enablefade: [true, 0.04],
- onChange: function(previndex, curindex){},
- autorotate: [true, 3000] //pause time (in milliseconds)
- });
var advLink = getId("home_adv_search_link");
if(advLink) advLink.setAttribute("href", buildOPACLink({page:ADVANCED}));
getId("home_myopac_link").setAttribute("href", buildOPACLink({page:MYOPAC}, false, true));
var lowHitCount = 4;
var isbnList = '';
var googleBooksLink = true;
-buildOrgSel($('holdsCacheSel'), globalOrgTree, 0);
+attachEvt("common", "init", function() {
+ buildOrgSel($('holdsCacheSel'), globalOrgTree, 0);
+});
var resultFetchAllRecords = false;
var resultCompiledSearch = null;
dojo.require("dojo.date.locale");
dojo.require("dojo.date.stamp");
dojo.require("dojo.parser");
+dojo.require("openils.BibTemplate");
dojo.require("openils.widget.FacetSidebar"); // pulls in Searcher and I18N
dojo.require("dijit.form.CheckBox");
dojo.require("openils.widget.ProgressDialog");
document.getElementById('toptable').style.display = '';
} catch(ee) {}
}
+<!--#if expr="$OILS_PAGE='index.xml'"-->
+dojo.addOnLoad(function() {
+ featuredcontentslider.init({
+ id: "homebanner",
+ contentsource: ["inline", ""],
+ toc: "markup",
+ nextprev: ["", ""],
+ enablefade: [true, 0.04],
+ onChange: function(previndex, curindex){},
+ autorotate: [true, 3000] //pause time (in milliseconds)
+ });
+});
+<!--#endif-->