##local.precache(OpacBPreCache)##include(OpacPreCache)
##local.define(BrowseItemAnnotationColor)#808080
##local.define(DefaultPageTitle)##leg.Expand(WAI.Defaults.PageTitle)
##local.define(AlternateOPACLink)##leg.WAI.BrowserError.LinkText
##local.SetDefaultLoc
##local.DefineByRender(DateFormat)##sessioncfg.ZONES.DateFormat
##if this.StyleSetAttributeIsEqual( "Lang", "FRE" )
##local.DefineByRender(MoneyFormat)##sessioncfg.ZONES.FrenchMoneyFormat
##else
##local.DefineByRender(MoneyFormat)##sessioncfg.ZONES.MoneyFormat
##endif
##local.DefineByRender(TimeFormat)##sessioncfg.ZONES.TimeFormat
##local.define(HTTPS_URLPrefix)
##if sessioncfg.IsEqual(ZONES.SelfService.RequireSSL,1)
##local.defineByRender(HTTPS_URLPrefix)##sessioncfg.Data(ZONES.SecureHostRoot)
##endif
##local.define(HTTP_URLPrefix)
##if sessioncfg.IsEqual(ZONES.SelfService.RequireSSL,1)
##local.defineByRender(HTTP_URLPrefix)##sessioncfg.Data(ZONES.NonHTTPSHostRoot)
##endif
##local.define(HTTPGoBack_URLPrefix)
##if sessioncfg.IsEqual(ZONES.SelfService.RequireSSL,1)
##if request.Security(On)
##local.defineByRender(HTTPGoBack_URLPrefix)##sessioncfg.Data(ZONES.SecureHostRoot)
##else
##local.defineByRender(HTTPGoBack_URLPrefix)##sessioncfg.Data(ZONES.NonHTTPSHostRoot)
##endif
##endif
##if local.ErrorBackgroundColor
##else
##local.defineByRender(ErrorBackgroundColor)##sessioncfg.ZONES.Colours.ErrorBackgroundColor
##endif
##if local.BackgroundColor
##else
##local.defineByRender(BackgroundColor)##sessioncfg.ZONES.Colours.BackgroundColor
##endif
##if local.LightBackgroundColor
##else
##local.defineByRender(LightBackgroundColor)##sessioncfg.ZONES.Colours.LightBackgroundColor
##endif
##if local.MediumBackgroundColor
##else
##local.defineByRender(MediumBackgroundColor)##sessioncfg.ZONES.Colours.MediumBackgroundColor
##endif
##if local.DarkBackgroundColor
##else
##local.defineByRender(DarkBackgroundColor)##sessioncfg.ZONES.Colours.DarkBackgroundColor
##endif
##if local.CommandBackgroundColor
##else
##local.defineByRender(CommandBackgroundColor)##sessioncfg.ZONES.Colours.CommandBackgroundColor
##endif
##if local.ListTitleBackgroundColor
##else
##local.defineByRender(ListTitleBackgroundColor)##sessioncfg.ZONES.Colours.ListTitleBackgroundColor
##endif
##if local.ListTitleTextColor
##else
##local.defineByRender(ListTitleTextColor)##sessioncfg.ZONES.Colours.ListTitleTextColor
##endif
##if local.HiTextColor
##else
##local.defineByRender(HiTextColor)##sessioncfg.ZONES.Colours.HiTextColor
##endif
##if local.MainTextColor
##else
##local.defineByRender(MainTextColor)##sessioncfg.ZONES.Colours.MainTextColor
##endif
##if local.CommandTextColor
##else
##local.defineByRender(CommandTextColor)##sessioncfg.ZONES.Colours.CommandTextColor
##endif
##if local.AltColor1
##else
##local.defineByRender(AltColor1)##sessioncfg.ZONES.Colours.AltColor1
##endif
##if local.ParaLevel2BackgroundColor
##else
##local.defineByRender(ParaLevel2BackgroundColor)##sessioncfg.ZONES.Colours.ParaLevel2BackgroundColor
##endif
##if local.HiTextColor
##else
##local.defineByRender(HiTextColor)##sessioncfg.ZONES.Colours.HiTextColor
##endif
##if local.StandAloneHeadingColor
##else
##local.defineByRender(StandAloneHeadingColor)##sessioncfg.ZONES.Colours.StandAloneColor
##endif
##if local.XRefColor
##else
##local.defineByRender(XRefColor)##sessioncfg.ZONES.Colours.XRefColor
##endif
##if local.CommandButtonColor
##else
##local.defineByRender(CommandButtonColor)black
##endif
##if searchcontext.IsEqual(BrowseAsHloc,"")
##local.define(BrowseHlocSet)0
##else
##local.define(BrowseHlocSet)1
##endif
##local.define(ReservationsAllowed)0
##if sessioncfg.ZONES.MakeReservation.Enabled
##local.define(ReservationsAllowed)1
##endif