##local.define(TopButtons) ##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 ##local.define(List) ##if local.CommandButtons ##local.CommandButtons ##endif ##if local.ShowHeadingsButtons ##local.HeadingsButtons ##endif ##if local.ShowScopeButtons ##local.ScopeButtons ##endif ##if local.QuickSearchForm
##endif ##if local.SortForm ##endif ##if listconditions.FoundTop ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=PageBrowseUp&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.WEBOPAC.Layout.PageUp ##local.CommandButtonFMT ##if local.ScrollSearch ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=SkipToNextGroupUp&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Layout.SecondLevelSkipUp ##local.CommandButtonFMT ##if request.SearchUpForm ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SearchUpForm=1&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Layout.SecondLevelSearchUp ##local.CommandButtonFMT ##endif ##endif ##endif ##if local.QuickSearchForm ##endif ##if local.SortForm ##if sessioncfg.WEBOPAC.BrowseOptions.ResultSetSorting ##endif ##endif ##if local.LoanBrowse ##if sessioncfg.WEBOPAC.SelfService.RenewLoan ##if sessioncfg.WEBOPAC.SelfService.BulkRenewal ##if searchcontext.BorrowerTrapLevel ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=BulkRenew&BulkRenew=1&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.WEBOPAC.Defaults.Button.AutoRenew ##local.CommandButtonFMT ##endif ##endif ##endif ##endif
##local.SearchUpForm ##this.stylesetforform ##this.stylesetforform ##leg.WEBOPAC.Sort.Prompt  
##if local.SortForm
##endif ##if local.QuickSearchForm ##endif
##if local.PreList ##local.PreList ##endif ##list()

##if listconditions.FoundBottom ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=PageBrowseDown&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.WEBOPAC.Layout.PageDown ##local.CommandButtonFMT ##if local.ScrollSearch ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=SkipToNextGroupDown&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Layout.SecondLevelSkipDown ##local.CommandButtonFMT ##if request.SearchDownForm ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SearchDownForm=1&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Layout.SecondLevelSearchDown ##local.CommandButtonFMT ##endif ##endif
##local.SearchDownForm  
##endif ##if local.NoStockError ##local.define(Value) ##leg.OPAC.StockStatus.NoStock ##local.ErrorRowTemplate ##endif
##local.define(BottomButtons) ##include(Layout)