##local.define(cfgPathLhs)DB.Config.##searchcontext.DB ##local.define(cfgPathRhs).UseServerSideSchema ##local.defineByRender(useAppServer)##sessioncfg.data(##local.cfgPathLhs##local.cfgPathRhs) ##local.define(Prompt) ##leg.OPAC.CATRecord.Prompt ##local.define(ScrollButtons)1 ##local.define(Title) ##if Value.SERIAL ##if Value.IsEqual(ISSUE,1) ##leg.OPAC.CATRecord.IssueDetails ##else ##leg.OPAC.CATRecord.SerialDetails ##endif ##else ##leg.OPAC.CATRecord.Title ##endif ##if request.View ##local.definebyrender(View)##request.View ##else ##local.definebyrender(View)##sessioncfg.OPAC.Catalogue.Views.Default ##endif ##local.define(PageTitle) ##if Value.SERIAL ##if Value.IsEqual(ISSUE,1) ##leg.Expand(OPAC.CATRecord.IssueDetails) ##else ##leg.Expand(OPAC.CATRecord.SerialDetails) ##endif ##else ##leg.Expand(OPAC.CATRecord.Title) ##endif ##helpcontext.addHelp(Record) ##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.OPAC.BrowseOptions.EmbededURLExplore ##local.define(ExploreEmbededURL)1 ##endif ##local.define(Content) ##local.define(FunctionButtons) ##if Value.IsConceptual ##local.define(HideStockButton)1 ##local.define(HideReservationButton)1 ##endif ##local.define(NoStock)0 ##if request.IsEqual(NoStock,1) ##local.define(NoStock)1 ##local.define(HideStockButton)1 ##local.define(HideReservationButton)1 ##endif ##local.define(FunctionButton)1 ##local.define(ButtonClass)function-button ##local.define(ButtonName)StockStatusButton ##local.define(ButtonCommand)location.href = '##this&Method=StockStatus2'; ##local.define(ButtonText)##leg.OPAC.CATRecord.Button.Stock ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Stock) ##local.ButtonCellTemplate ##if local.IsEqual(ReservationsAllowed,1) ##local.define(ButtonClass)function-button ##local.define(ButtonName)MakeReservationButton ##local.define(ButtonCommand) location.href = '##this&Method=MakeReservation'; ##local.define(ButtonText)##leg.OPAC.CATRecord.Button.Reservation ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Reservation) ##local.ButtonCellTemplate ##endif ##if local.isEqual(useAppServer,1) ##if local.isEqual(View,"ISBD") ##local.define(isISBDView)1 ##endif ##local.define(offerISBDView)1 ##else ##if info.IsEqual(View,ISBD) ##local.define(isISBDView)1 ##endif ##if dbcfg.Views.SupportsISBD ##local.define(offerISBDView)1 ##endif ##endif ##if local.offerISBDView ##local.define(ButtonClass)function-button ##local.define(ButtonName)ViewButton ##local.define(ButtonIcon)6 ##if local.isISBDView ##local.define(ButtonCommand) location.href = '##this&View=Annotated&Annotated=1&NoStock=##local.NoStock'; ##local.define(ButtonText)##leg.OPAC.CATRecord.Button.AnnotatedView.Text ##local.define(ButtonHelp)##leg.Expand(OPAC.CATRecord.Button.AnnotatedView.Help) ##helpcontext.addHelp(Buttons.View.Annotated) ##local.ButtonCellTemplate ##else ##local.define(ButtonCommand) location.href = '##this&View=ISBD&ISBD=1&NoStock=##local.NoStock'; ##local.define(ButtonText)##leg.OPAC.CATRecord.Button.ISBDView.Text ##local.define(ButtonHelp)##leg.Expand(OPAC.CATRecord.Button.ISBDView.Help) ##helpcontext.addHelp(Buttons.View.ISBD) ##local.ButtonCellTemplate ##endif ##endif ##if sessioncfg.OPAC.NotePad ##local.define(FunctionButton)1 ##local.define(ButtonClass)function-button ##local.define(ButtonName)MakeNoteButton ##local.define(ButtonCommand)location.href = '##this&Method=NoteMe&View=##request.View'; ##local.define(ButtonText)##leg.CAT.Tabs.NoteEntry ##local.define(ButtonIcon)¥ ##local.define(ButtonHelp)Make a note of this record ##helpcontext.addHelp(Buttons.Stock) ##local.ButtonCellTemplate ##endif ##if Value.HASHVOL ##local.define(bits)1 ##helpcontext.addHelp(Record.Hierachy.Volumes) ##endif ##if Value.HASWORKS ##local.define(bits)1 ##helpcontext.addHelp(Record.Hierachy.Works) ##endif ##if local.bits ##local.define(WantPreList)1 ##endif ##if Value.HASPARTITLE ##local.define(WantPreList)1 ##helpcontext.addHelp(Record.Hierachy.ParentTitle) ##endif ##if Value.IsDefined(StockStatus.Items.0) ##local.define(WantPreList)1 ##endif ##if local.WantPreList ##local.define(PreList) ##if Value.IsDefined(StockStatus.Items.0) ##endif ##if Value.HASPARTITLE ##endif ##if local.bits ##endif
##if Value.StockStatus.Items.0.IsOnLoan ##leg.OPAC.ExtraStockStatus.NoFreeStock ##if Value.IsEqual(StockStatus.Items.0.CSTA,10) ##leg.OPAC.ExtraStockStatus.EarliestDueDate ##Value.StockStatus.Items.0.DueDate ##endif ##else ##leg.OPAC.ExtraStockStatus.FreeStock ##endif ##if Value.StockStatus.Items.0.IsReference ##local.define(HideReservationButton)1 ##leg.OPAC.ExtraStockStatus.Reference ##endif ##if Value.IsEqual(StockStatus.Items.0.SHELF,"") ##else ##leg.OPAC.Browseenum.BrowseItem.Shelfmark ##Value.StockStatus.Items.0.SHELF ##endif ##leg.OPAC.ExtraStockStatus.TotalInBranch ##Value.StockStatus.TotalInBranch
##if Value.SERIAL ##leg.OPAC.CATRecord.Hierachy.IssueOf ##else ##leg.OPAC.CATRecord.Hierachy.PartOf ##endif ##local.SelectIcon ##Value.StripFilingCharsFrom(PARTITLE) ##if Value.HASPARAUTHOR ##leg.OPAC.CATRecord.Hierachy.ByAuthor ##Value.StripFilingCharsFrom(PARAUTHOR) ##endif
##if Value.SERIAL ##leg.OPAC.CATRecord.Hierachy.SerialContains ##else ##leg.OPAC.CATRecord.Hierachy.TitleContains ##endif ##if Value.HASHVOL ##local.SelectIcon ##if Value.SERIAL ##Value.HVOL ##leg.OPAC.CATRecord.Hierachy.Issues ##else ##Value.HVOL ##leg.OPAC.CATRecord.Hierachy.RelatedVolumes ##endif ##endif ##if Value.HASWORKS ##local.SelectIcon ##Value.WORKS ##if Value.IsConceptual ##leg.OPAC.CATRecord.Hierachy.GenericWorks ##else ##leg.OPAC.CATRecord.Hierachy.IncludedWorks ##endif ##endif
##endif ##local.define(List) ##local.define(BookIcons) ##local.defineByRender(MATIcon)##sessioncfg.MapParamThroughImageTable(MaterialCode,##Value.MaterialType,GraphicalMAT) ##if local.IsEqual(MATIcon,"") ##else ##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) ##endif ##local.defineByRender(LANIcon)##sessioncfg.MapParamThroughImageTable(LangCode,##Value.LanguageText,GraphicalLAN) ##if local.IsEqual(LANIcon,"") ##else ##sessioncfg.ParamLookup(LangName,##Value.LanguageText) ##endif ##if local.isEqual(useAppServer,1) ##local.define(schemaNameRHS)CatalogueRecordSchema ##local.defineByRender(mainSchemaName)##dbcfg.Parameters.TagType##local.schemaNameRHS ##local.define(schemaNameRHS)AnnotatedCatalogueRecordSchema ##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 ##local.Define(ExploreTarget)_top ##include(recordRenderer) ##local.define(openExploreTemplate) ##if local.isEqual(View,"ISBD") ##else ##local.SelectIcon ##endif ##if Schema.IsEqual(explore.type,multiMedia) ##else ##endif ##local.define(closeExploreTemplate) ##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 ##if session.Catalogue.DisplayFilingCharactersEnabled ##value ##else ##value.StripFilingCharsFrom(PROCESS_HASH) ##endif ##endif ##endif   ##local.define(headerItemTemplate) ##local.define(blank) ##local.define(standardFields) ##local.define(annotation)##leg.data(CAT.Global.MaterialType) ##local.define(path)MaterialType ##local.headerItemTemplate ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.LanguageOfText ##local.define(annotation)##leg.data(CAT.Global.LanguageofText) ##local.define(path)LanguageText ##local.headerItemTemplate ##else ##local.blank ##endif ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.RecordType ##local.define(annotation)##leg.data(CAT.Global.RecordType) ##local.define(path)HTYPE ##local.headerItemTemplate ##else ##local.blank ##endif ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.InterestLevel ##local.define(showLine2)1 ##else ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.LanguageOfTitle ##local.define(showLine2)1 ##else ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.ConceptualRecord ##local.define(showLine2)1 ##endif ##endif ##endif ##if local.showLine2 ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.InterestLevel ##local.define(annotation)##leg.data(CAT.Global.InterestLevel) ##local.define(path)InterestLevel ##local.headerItemTemplate ##else ##local.blank ##endif ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.LanguageOfTitle ##local.define(annotation)##leg.data(CAT.Global.LanguageofTitle) ##local.define(path)LanguageTitle ##local.headerItemTemplate ##else ##local.blank ##endif ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.ConceptualRecord ##local.define(annotation)##leg.data(CAT.Global.ConceptualRecord) ##local.define(path)IsConceptual ##local.headerItemTemplate ##else ##local.blank ##endif ##endif ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.CatalogueRecordNo ##local.define(showLine3)1 ##else ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.LanguageOriginalText ##local.define(showLine3)1 ##else ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.HierarchicalLevel ##local.define(showLine3)1 ##endif ##endif ##endif ##if local.showLine3 ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.CatalogueRecordNo ##local.define(annotation)##if local.isPRDRecord ##leg.CAT.Global.PRDN ##else ##leg.CAT.Global.BACN ##endif ##local.define(path)BACBAC ##local.headerItemTemplate ##else ##local.blank ##endif ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.LanguageOriginalText ##local.define(annotation)##leg.data(CAT.Global.OriginalLanguage) ##local.define(path)OriginalLanguage ##local.headerItemTemplate ##else ##local.blank ##endif ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.HierarchicalLevel ##local.define(annotation)##leg.data(CAT.Global.HierarchicalLevel) ##local.define(path)HLEVEL ##local.headerItemTemplate ##else ##local.blank ##endif ##endif ##if local.isPRDRecord ##local.define(annotation)##leg.data(CAT.Global.BACN) ##local.define(path)CatalogNumber ##local.headerItemTemplate ##local.define(annotation)##leg.data(CAT.Global.List) ##local.define(path)List ##local.headerItemTemplate ##local.define(annotation)##leg.data(CAT.Global.Supplier) ##local.define(path)Supplier ##local.headerItemTemplate ##endif ##Value.BindWithSchema(##local.annotatedSchemaList,"Tags",ExceptionContext) ##local.renderer
##local.BookIcons
##local.annotation ##local.fieldItemTemplate  
##if local.isEqual(View,"ISBD") ##ExceptionContext.define(View)ISBD ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.DisplayBlockBTitle ##local.define(showRow0)1 ##else ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.ControlNumber ##local.define(showRow0)1 ##else ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.RelatedControlNumber ##local.define(showRow0)1 ##endif ##endif ##endif ##if local.showRow0 ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.DisplayBlockBTitle ##else ##local.blank ##endif ##endif
##if Value.isEqual(Author,"") ##else ##local.define(path)Author ##local.fieldItemTemplate ##endif ##if Value.isEqual(ClassMark,"") ##else ##local.define(annotation)##leg.data(CAT.Global.Classmark) ##local.define(path)ClassMark ##local.headerItemTemplate ##endif
##if Value.isEqual(Title,"") ##else ##local.define(path)Title ##local.fieldItemTemplate ##endif ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.ControlNumber ##if Value.isEqual(BACCNO,"") ##else ##local.define(annotation)##leg.data(CAT.Global.CONN) ##local.define(path)BACCNO ##local.headerItemTemplate ##endif ##endif ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.RelatedControlNumber ##if Value.isEqual(BACREL,"") ##else ##local.define(annotation)##leg.data(CAT.Global.RCNN) ##local.define(path)BACREL ##local.headerItemTemplate ##endif ##endif

##Value.BindWithSchema(##local.ISBDSchemaList,"Tags",ExceptionContext) ##local.renderer

##local.standardFields
##else ##ExceptionContext.define(View)Annotated ##local.define(annotatedRowTemplate)
##Schema.toMarkup(name) ##local.renderer
##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.ControlNumber ##local.define(annotation)##leg.data(CAT.Global.CONN) ##local.define(path)BACCNO ##local.headerItemTemplate ##local.blank ##local.blank ##endif ##local.standardFields ##if sessioncfg.DB.Session.Circ.vssp.PBR.FullEntry.ParentRecordNo ##if Value.isEqual(BACPAR,"") ##else ##local.blank ##local.blank ##local.define(annotation)##leg.data(CAT.Global.PBACN) ##local.define(path)BACPAR ##local.headerItemTemplate ##endif ##endif
##endif ##else ##if Value.__TclCallSCRIPT

TCL ERROR

								##Value.__TclCallERROR
							

								##Value.__TclCallSCRIPT
							
##Value.Dump() ##else ##record() ##endif ##endif ##if sessioncfg.OPAC.EMediaLink ##if info.HasMedia
e-DigitalConnect      Select to view this Titles Digital Media ##endif ##endif ##local.defineByRender(MoMDetailsUrl)##formatter.momurl(##sessioncfg.OPAC.MomURLStem,##Value.BACCNO,##Value.BACISB,##Value.Author,##Value.Title) ##if sessioncfg.IsEqual(OPAC.BookCoversInFullEntry,"1") ##if sessioncfg.IsEqual(OPAC.MomInterface,"1") ##if local.IsEqual(MoMDetailsUrl,"") ##else ##endif ##endif ##if sessioncfg.OpacAmazonLinkEnabled ##endif
##if Value.BACISB ##local.defineByRender(PictureUrl)##formatter.bookcoverurl(##sessioncfg.OPAC.BookCoversUrl.Stem,##Value.BACISB,##sessioncfg.OPAC.BookCoversUrl.Ext) ##local.defineByRender(DetailsUrl)##formatter.bookcoverurl(##sessioncfg.OPAC.BookCoversUrl.Stem,##Value.BACISB,##sessioncfg.OPAC.BookCoversUrl.InfoExt) ##else ##if Value.BACCNO ##local.defineByRender(PictureUrl)##formatter.bookcoverurl(##sessioncfg.OPAC.BookCoversUrl.Stem,##Value.BACCNO,##sessioncfg.OPAC.BookCoversUrl.Ext) ##local.defineByRender(DetailsUrl)##formatter.bookcoverurl(##sessioncfg.OPAC.BookCoversUrl.Stem,##Value.BACCNO,##sessioncfg.OPAC.BookCoversUrl.InfoExt) ##endif ##endif ##if local.IsEqual(PictureUrl,"") ##else ##endif ##leg.WEBOPAC.ViewOnAmazon
##else ##if sessioncfg.IsEqual(LocalBookInfoAvailable,"1") ##if sessioncfg.IsEqual(OPAC.MomInterface,"1") ##if local.IsEqual(MoMDetailsUrl,"") ##else ##endif ##endif ##if sessioncfg.OpacAmazonLinkEnabled ##endif
##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 ##leg.WEBOPAC.ViewOnAmazon
##else ##if sessioncfg.IsEqual(OPAC.MomInterface,"1") ##if local.IsEqual(MoMDetailsUrl,"") ##else ##if sessioncfg.OpacAmazonLinkEnabled ##endif
##leg.WEBOPAC.ViewOnAmazon
##endif ##else ##if sessioncfg.OpacAmazonLinkEnabled
##leg.WEBOPAC.ViewOnAmazon
##endif ##endif ##endif ##endif ##if local.NoStockError ##local.define(Value) ##leg.OPAC.StockStatus.NoStock ##local.AlertRowTemplate ##endif
##include(Layout) ##if local.isEqual(HideStockButton,1) ##endif ##if local.HideReservationButton ##endif ##if info.IsEqual(AlreadyNoted,1) ##endif
##include(Body)