##local.define(addDocumentManager)1
##local.define(addTimeOut)1
##local.define(Title)
##leg.OPAC.LoanBrowse.Title
##local.define(PageTitle)
##leg.Expand(OPAC.LoanBrowse.Title)
##local.define(Prompt)
##leg.OPAC.Baccount.Prompt
##if leg.OPAC.LoanBrowse.Prompt
##leg.OPAC.LoanBrowse.Prompt
##endif
##local.define(GoBackScript)
location.href = "##searchcontext.Parent#this.StyleSet&Method=Refetch";
##local.define(ShowBGTasks)1
##local.define(BGTasksFromParent)1
##if searchcontext.BorrowerTrapLevel
##if sessioncfg.OPAC.SelfService.RenewLoan
##helpcontext.addHelp(Browsing.Loans.BorrowerTrapped)
##local.define(Alert)
##leg.OPAC.LoanBrowse.Advice
##leg.IE4OPAC.General.Seekadvice
##endif
##endif
##helpcontext.addHelp(Browsing.Loans)
##local.define(FunctionButtons)
##local.define(FunctionButton)1
##local.define(ButtonClass)function-button
##local.define(ButtonName)SummaryButton
##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubView=";
##local.define(ButtonText)##leg.OPAC.Baccount.Button.Summary
##local.define(ButtonIcon)8
##helpcontext.addHelp(Buttons.Summary)
##local.ButtonCellTemplate
##if searchcontext.Borrower.CreditAllowed
##if sessioncfg.OPAC.SelfService.ViewCredit
##local.define(ButtonClass)function-button
##local.define(ButtonName)CreditButton
##local.define(ButtonCommand)location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowCredits";
##local.define(ButtonText)##leg.OPAC.Baccount.Button.Credits
##local.define(ButtonIcon)8
##helpcontext.addHelp(Buttons.Credit)
##local.ButtonCellTemplate
##endif
##endif
##if sessioncfg.OPAC.SelfService.ViewAccount
##local.define(ButtonClass)function-button
##local.define(ButtonName)AccountButton
##if sessioncfg.OPAC.BrowseOptions.ShowATDetailsInAccountBrowse
##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowExpandedAccount";
##else
##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowAccount";
##endif
##local.define(ButtonText)##leg.OPAC.Baccount.Button.Accounts
##local.define(ButtonIcon)8
##helpcontext.addHelp(Buttons.Account)
##local.ButtonCellTemplate
##endif
##if sessioncfg.OPAC.SelfService.ViewReservations
##if searchcontext.Borrower.NumberOfRes
##local.define(ButtonClass)function-button
##local.define(ButtonName)ReservationsButton
##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowReservations";
##local.define(ButtonText)##leg.OPAC.Baccount.Button.Reservations
##local.define(ButtonIcon)8
##helpcontext.addHelp(Buttons.Reservations)
##local.ButtonCellTemplate
##endif
##endif
##local.define(FunctionButtons1)
##local.define(FunctionButton)1
##if sessioncfg.OPAC.SelfService.ViewSubscription
##if searchcontext.Borrower.SubsEnabledInRsp
##local.define(ButtonClass)function-button
##local.define(ButtonName)SubscriptionButton
##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubView=ShowSubs";
##local.define(ButtonText)##leg.OPAC.Baccount.Button.Subscription
##local.define(ButtonIcon)8
##helpcontext.addHelp(Buttons.Subscription)
##local.ButtonCellTemplate
##endif
##endif
##if sessioncfg.OPAC.SelfService.ViewContactDetails
##local.define(ButtonClass)function-button
##local.define(ButtonName)ContactDetails
##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubView=ShowAddress";
##local.define(ButtonText)##leg.OPAC.Baccount.Button.ViewAddress
##local.define(ButtonIcon)8
##helpcontext.addHelp(Buttons.ContactDetails)
##local.ButtonCellTemplate
##endif
##if sessioncfg.OPAC.SelfService.RenewLoan
##if sessioncfg.OPAC.SelfService.BulkRenewal
##if searchcontext.BorrowerTrapLevel
##else
##local.define(FunctionButton)1
##local.define(ButtonClass)function-button
##local.define(ButtonName)BulkRenew
##local.define(ButtonCommand)location.href = '##this&Method=&BulkRenew=1';
##local.define(ButtonText)##leg.OPAC.Defaults.Button.AutoRenew
##local.define(ButtonIcon)8
##local.ButtonCellTemplate
##endif
##endif
##endif
##if sessioncfg.OPAC.SelfService.PrintLoans
##local.define(ButtonClass)function-button
##local.define(ButtonName)PrintLoans
##local.define(ButtonCommand)PrintList();
##local.define(ButtonText)##leg.OPAC.Defaults.Button.Print
##local.define(ButtonIcon)Ê
##local.ButtonCellTemplate
##endif
##local.define(Content)
##include(BrowseListLayout)
##include(Body)