##local.Define(ZoekEnBoekLink) ##local.LinkBoxScript ##sessioncfg.MapLegendThroughTable(##request.Lang,ZONES.ZoekEnBoek.ImgAltText) ##local.define(HTTPS_URLPrefix) ##local.define(HTTP_URLPrefix) ##local.defineByRender(HTTP_URLPrefix)##sessioncfg.Data(ZONES.NonHTTPSHostRoot) ##if sessioncfg.IsEqual(ZONES.SelfService.RequireSSL,1) ##local.defineByRender(HTTPS_URLPrefix)##sessioncfg.Data(ZONES.SecureHostRoot) ##endif ##local.define(SelectIcon) ##local.define(cfgPathLhs)DB.Config.##searchcontext.DB ##local.define(cfgPathRhs).UseServerSideSchema ##local.defineByRender(useAppServer)##sessioncfg.data(##local.cfgPathLhs##local.cfgPathRhs) ##local.define(Header) ##include(Header) ##local.define(MonoCopiesUpdateScript) ##local.define(MonoCopies) ##local.Define(HaveCopiesMarker)0 ##if Value.IsMap("MonoHoldings") ##if Value.IsDefined("MonoHoldings.IsEmpty") ##else
##leg.KidsZone.CATRecord.Button.StockItemSummary
##Value.ForEachIn(branch,"MonoHoldings")
##branch.Name
##if branch.IsMap(Stock)
##branch.with(stock,"Stock") ##local.ConcertoInlineStockAtBranch
##else
##endif ##if local.IsEqual(HaveCopiesMarker,0) ##local.Define(HaveCopiesMarker)1 ##endif
##endif ##endif
##local.define(BulletGif)    ##local.define(NonScrollingPart) ##local.Define(NewRoot) ##if sessioncfg.IsEqual(ZONES.NonHTTPSHostRoot,"") ##else ##local.defineByRender(NewRoot)##sessioncfg.ZONES.NonHTTPSHostRoot ##endif ##local.define(CommandButtonGraphic)##local.BulletGif ##if sessioncfg.DB.Config.Catalogue.ShowMonographicHoldingsInline ##if Value.IsMap("MonoHoldings") ##local.define(CommandButtonHREF)javascript:ScrollToCopies() ##else ##local.define(CommandButtonHREF)# ##local.define(CommandDisabled)1 ##endif ##else ##local.define(CommandButtonHREF)##this&Method=StockStatus2&BrowseAsHloc=##local.thisLoc ##endif ##local.define(CommandButtonText)##leg.KidsZone.CATRecord.Button.StockItemSummary ##if Value.HASHVOL ##local.define(bits)1 ##endif ##if Value.HASWORKS ##local.define(bits)1 ##endif ##if local.bits ##local.define(hbits)1 ##endif ##if Value.HASPARTITLE ##local.define(hbits)1 ##endif ##if Value.IsConceptual ##else ##local.CommandButtonFMT /* so check if kidszone reservations are allowed */ ##if sessioncfg.ZONES.KidsZone.AllowMakeReservation ##local.define(CommandButtonGraphic)##local.BulletGif ##local.define(CommandButtonHREF)##local.Data(HTTPS_URLPrefix)##this&Method=MakeReservation&Parent=##local.Data(HTTPGoBack_URLPrefix)##this.obj&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.KidsZone.CATRecord.Button.Reservation ##local.CommandButtonFMT ##endif
##if local.PreList ##local.PreList ##endif ##endif ##local.Define(RoundBoxContent)
  ##local.defineByRender(MATIcon)##sessioncfg.MapParamThroughImageTable(MaterialCode,##Value.MaterialType,GraphicalMAT) ##if local.IsEqual(MATIcon,"") ##else ##Value.BACMAT ##sessioncfg.ParamLookup(MaterialName,##Value.MaterialType) ##endif ##local.defineByRender(IMCIcon)##sessioncfg.MapParamThroughImageTable(InterestCode,##Value.InterestLevel,GraphicalIMC) ##if local.IsEqual(IMCIcon,"") ##else ##sessioncfg.ParamLookup(InterestName,##Value.InterestLevel) ##sessioncfg.ParamLookup(InterestName,##Value.InterestLevel) ##endif ##local.defineByRender(LANIcon)##sessioncfg.MapParamThroughImageTable(LangCode,##Value.LanguageText,GraphicalLAN) ##if local.IsEqual(LANIcon,"") ##else ##sessioncfg.ParamLookup(LangName,##Value.LanguageText) ##sessioncfg.ParamLookup(LangName,##Value.LanguageText) ##endif
##local.RoundBox ##if local.hbits ##local.define(RoundBoxContent) ##if Value.HASPARTITLE ##leg.KidsZone.CATRecord.Hierachy.PartOf ##local.BulletGif ##Value.StripFilingCharsFrom(PARTITLE) ##if Value.HASPARAUTHOR ##leg.KidsZone.CATRecord.Hierachy.ByAuthor ##Value.StripFilingCharsFrom(PARAUTHOR) ##endif
##endif ##if local.bits ##leg.KidsZone.CATRecord.Hierachy.TitleContains ##if Value.HASHVOL ##local.BulletGif ##Value.HVOL ##leg.KidsZone.CATRecord.Hierachy.RelatedVolumes ##endif ##if Value.HASWORKS ##local.BulletGif ##Value.WORKS ##if Value.IsConceptual ##leg.KidsZone.CATRecord.Hierachy.GenericWorks ##else ##leg.KidsZone.CATRecord.Hierachy.IncludedWorks ##endif ##endif ##endif
##local.RoundBox ##endif ##if local.IsEqual(BrowseHlocSet,1) ##if Value.IsDefined(StockStatus.Items.0) ##local.Define(RoundBoxContent)
##if Value.StockStatus.Items.0.IsOnLoan ##leg.KidsZone.ExtraStockStatus.NoFreeStock ##if Value.IsEqual(StockStatus.Items.0.CSTA,10) ##leg.KidsZone.ExtraStockStatus.EarliestDueDate ##Value.StockStatus.Items.0.DueDate. ##endif ##else ##leg.KidsZone.ExtraStockStatus.FreeStock ##endif ##if Value.StockStatus.Items.0.IsReference ##leg.KidsZone.ExtraStockStatus.Reference ##endif ##if Value.IsEqual(StockStatus.Items.0.SHELF,"") ##else ##leg.KidsZone.Browseenum.BrowseItem.Shelfmark ##Value.StockStatus.Items.0.SHELF. ##endif ##leg.KidsZone.ExtraStockStatus.TotalInBranch ##Value.StockStatus.TotalInBranch
##local.RoundBox ##endif ##endif
##local.define(NoStock)0 ##if request.IsEqual(NoStock,1) ##local.define(NoStock)1 ##local.define(HideStockButton)1 ##local.define(HideReservationButton)1 ##endif ##if error.Level ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,1042) ##if request.IsEqual(Method,"StockStatus2") ##local.define(NoStockError)1 ##local.define(HandledError)1 ##endif ##endif ##endif ##endif ##if sessioncfg.KidsZone.BrowseOptions.EmbededURLExplore ##local.define(ExploreEmbededURL)1 ##endif ##local.define(ScrollingPart) /*20080208*/ ##local.MonoCopiesUpdateScript ##local.define(schemaNameRHS)CatalogueRecordSchema ##local.defineByRender(mainSchemaName)##dbcfg.Parameters.TagType##local.schemaNameRHS ##local.define(schemaNameRHS)KidsAnnotatedCatalogueRecordSchema ##local.defineByRender(annotatedSchemaName)##dbcfg.Parameters.TagType##local.schemaNameRHS ##local.defineByRender(ISBDSchemaList)CatalogueRecordISBDBindings,CatalogueRecordShortEntryBindings,##local.mainSchemaName ##local.defineByRender(annotatedSchemaList)##local.annotatedSchemaName,CatalogueRecordISBDBindings,CatalogueRecordShortEntryBindings,##local.mainSchemaName ##local.defineByRender(referenceSchemaList)CatalogueRecordReferenceSchema,CatalogueRecordShortEntryBindings,##local.mainSchemaName ##ExceptionContext.defineByRender(DB)##searchcontext.DB ##include(recordRenderer) ##local.define(openExploreTemplate) ##local.BulletGif ##if Schema.IsEqual(explore.type,multiMedia) ##else ##endif ##local.define(exploreIcon) ##local.BulletGif ##local.define(fieldItemTemplate) ##Value.BindWithSchema(##local.ISBDSchemaList,##local.path,ExceptionContext) ##if type.isEqual(node) ##local.renderer ##else ##if type.isEqual(enumeration) ##component(testField,DISABLED) ##else ##value ##endif ##endif   ##local.define(headerItemTemplate) ##local.annotation ##local.fieldItemTemplate ##local.define(blank)   ##ExceptionContext.define(View)Annotated ##local.define(annotatedRowTemplate) ##Schema.toMarkup(name) ##local.renderer ##local.define(RoundBoxContent)
##Value.BindWithSchema(##local.annotatedSchemaList,"Tags",ExceptionContext) ##local.renderer ##local.defineByRender(bk1)##Value.BACISB ##local.defineByRender(bk2)##Value.BACCNO ##local.SetLargeBookCover ##local.BookCover
##local.RoundBox ##if local.NoStockError ##local.define(Value) ##leg.KidsZone.StockStatus.NoStock ##local.ErrorRowTemplate
##endif ##if sessioncfg.LocalBookInfoAvailable
##if sessioncfg.IsEqual(LocalBookCoverPath,"") ##else ##if formatter.localbookcoverurlexists(##sessioncfg.LocalBookCoverPath,##Value.BACCNO,".*") ##else ##if formatter.localbookcoverurlexists(##sessioncfg.LocalBookCoverPath,##Value.BACISB,".*") ##endif ##endif ##endif ##if sessioncfg.IsEqual(LocalBookNotesPath,"") ##else ##if formatter.localbookcoverurlexists(##sessioncfg.LocalBookNotesPath,##Value.BACCNO,".txt") ##formatter.insertlocalbookurl(##sessioncfg.LocalBookNotesPath,##Value.BACCNO,".txt") ##else ##if formatter.localbookcoverurlexists(##sessioncfg.LocalBookNotesPath,##Value.BACISB,".txt") ##formatter.insertlocalbookurl(##sessioncfg.LocalBookNotesPath,##Value.BACISB,".txt") ##endif ##endif ##endif
/*##else 20080208*/
##if sessioncfg.IsEqual(KidsZone.MomInterface,"1") ##local.defineByRender(DetailsUrl)##formatter.momurl(##sessioncfg.ZONES.MomURLStem,##Value.BACCNO,##Value.BACISB,##Value.Author,##Value.Title) ##if local.IsEqual(DetailsUrl,"") ##else MOM/*20080208*/ ##endif ##endif /*20080208*/ ##if sessioncfg.KidsZone.ZoekEnBoek.EnabledDetailLevel ##local.define(ExtraBits)1 ##local.Define(ZBLinkURL)##sessioncfg.ZONES.ZoekEnBoek.LinkURL ##local.defineByRender(ZBLink)##local.ZoekEnBoekLink ##local.ZBLink ##endif /*20080208*/ ##if sessioncfg.ZONES.LinkBox.Enabled ##local.Define(LinkURL)##sessioncfg.ZONES.LinkBox.UrlSpec ##local.define(ExtraBits)1 ##local.defineByRender(LBLink) ##sessioncfg.MapLegendThroughTable(##request.Lang,ZONES.LinkBox.ImgAltText) ##local.LBLink ##endif /*20080208*/ ##if sessioncfg.KidsZone.AmazonLinkEnabled ##local.defineByRender(LinkISB)##formatter.bookcoverurl("",##Value.BACISB,"") ##if local.IsEqual(LinkISB,"") ##local.defineByRender(LinkISB)##formatter.bookcoverurl("",##Value.BACCNO,"") ##endif ##if local.IsEqual(LinkISB,"") ##local.defineByRender(ALink) ##else ##local.defineByRender(AmazonLinkURL)##formatter.bookcoverurl(##sessioncfg.AmazonLinkURL,##local.LinkISB,##sessioncfg.AmazonLinkSuffix) ##local.define(ExtraBits)1 ##local.defineByRender(ALink) ##leg.ZONESOPAC.ViewOnAmazon ##local.ALink ##endif ##endif
/*20080208*/ ##endif
##local.define(RoundBoxContent)##local.MonoCopies ##local.RoundBox
##local.define(BodyContent)
##local.define(Title)##leg.KidsZone.CATRecord.Title ##local.ExploreHeader ##local.NonScrollingPart
  ##local.ScrollingListUpButton
##local.define(ScrollingListContent)##local.ScrollingPart
##local.ScrollingList2
/*
##local.ScrollingListDownButton
##local.ExploreFooter
*/ ##local.CommonComponents
##include(Body)