##formatter.TextRender() ##this.SubView(##request.SubStyle) ##include(Defaults) ##local.SetDefaultLoc ##local.define(ShowBGTasks)1 ##local.define(Header) ##include(Header) ##local.defineByRender(SearchErrorAdvice) ##local.define(HandledError)1
##local.define(generalError) ##leg.ZONESOPAC.AdvancedSearch.Error.General.Heading ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,7103) ##leg.ZONESOPAC.AdvancedSearch.Error.NoHits.Heading ##local.BNNoResultsAdvice ##helpcontext.addHelp(AdvancedSearch.NoHits) ##else ##if error.IsEqual(Number,7003) ##leg.ZONESOPAC.AdvancedSearch.Error.SyntaxError.Heading ##helpcontext.addHelp(AdvancedSearch.SyntaxError) ##else ##local.generalError ##endif ##endif ##else ##local.generalError ##endif
##local.define(generalError) ##leg.ZONESOPAC.AdvancedSearch.Error.General.Advice ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,7103) ##leg.ZONESOPAC.AdvancedSearch.Error.NoHits.Advice ##else ##local.generalError ##endif ##else ##local.generalError ##endif
##local.define(HandledError)1
##local.Define(AdvancedSearchFormSubmitButton) ##if local.IsEqual(IsBrowseSearch,1) ##local.define(APSMAP)browsesearch ##local.define(Title)##leg.ZONESOPAC.ZoneSearch.Browsing ##local.define(Advice)##leg.ZONESOPAC.ZoneSearch.BrowsingAdvice ##helpcontext.addHelp(BrowseSearch) ##helpcontext.addHelp(Toolbar) ##else ##local.define(APSMAP)quicksearch ##local.define(Title)##leg.ZONESOPAC.ZoneSearch.Advanced ##if sessioncfg.ZONES.QuickSearchLabelAsProfessional ##local.define(Title)##leg.ZONESOPAC.ProfessionalSearch.Title ##local.define(Advice)##leg.ZONESOPAC.ProfessionalSearch.Advice ##else ##local.define(Title)##leg.ZONESOPAC.darkHeadings.Expert ##local.define(Advice)##leg.ZONESOPAC.SimpleSearch.Advice ##endif ##helpcontext.addHelp(ExpertSearch) ##helpcontext.addHelp(Toolbar) ##endif ##local.define(ContentPaneTitle)##local.SearchPanelFMT ##local.define(BrowseSearchFieldRows) ##local.define(SearchIndexDropDown) ##local.Define(LastIndex) ##if lastquery.BrowseIndex ##local.defineByRender(LastIndex)##lastquery.BrowseIndex ##endif ##sessioncfg.With(Map,"DB.Config.BookServer.IndexMap")
##leg.ZONESOPAC.FormLabels.SearchIn ##leg.ZONESOPAC.FormLabels.SearchFor
##local.SearchIndexDropDown
##local.define(Content) ##local.Define(SearchFMT) ##local.define(ContentPaneTitle)##local.SearchPanelFMT ##local.define(InnerPanelTitle)##leg.ZONESOPAC.ExpertSearch.Panel1.Title

##local.define(InnerPanelContent)##leg.ZONESOPAC.ExpertSearch.Panel1.Content ##if local.IsBrowseSearch ##local.BrowseSearchFieldRows ##else /* HPicard: Had to remove the legend so the search buttons would fit next to the search textbox */ /* as requested by management. */ /* */ ##endif ##endif ##if local.SearchAndDeleteButtonsAfterSearchLimits ##else ##endif
##local.define(DataBase)SearchServer /* this is for paris, they want to use a single line field for quick search, unless they have labelled it professional search in which case they want the normal multi-line text area */ ##if local.SkinSingleLineQuickSearch ##else ##endif ##if sessioncfg.ZONES.BrowseOptions.ShowSearchInDocuments
  ##leg.ZONESOPAC.Search.InDocumentContents ##endif
##leg.ZONESOPAC.Search.QuickSearchCCLHint
##local.define(ButtonCaption)##leg.data(ZONESOPAC.Search.Button.Search) ##local.define(ButtonTip)##leg.data(ZONESOPAC.Search.Button.SearchTip) ##local.define(ButtonHref)javascript:startSearch() ##local.define(ButtonID)buttonQuickSearch ##local.ButtonFMT ##local.define(ButtonCaption)##leg.ZONESOPAC.ZoneSearch.ClearQuery ##local.define(ButtonTip)##leg.data(ZONESOPAC.ZoneSearch.ClearQueryTip) ##local.define(ButtonHref)javascript:resetForm() ##local.define(ButtonID)buttonQuickSearchClr ##local.ButtonFMT
##local.Define(Version2Content)
##this.stylesetforform ##local.define(RoundBoxContent) ##if sessioncfg.ZONES.ShowSearchButtonsBesideField ##endif
##local.SearchFMT ##if local.SearchAndDeleteButtonsAfterSearchLimits ##endif
##local.define(ButtonCaption)##leg.data(ZONESOPAC.Search.Button.Search) ##local.define(ButtonTip)##leg.data(ZONESOPAC.Search.Button.SearchTip) ##local.define(ButtonHref)javascript:startSearch() ##local.define(ButtonID)buttonAdSearch ##local.ButtonFMT ##local.define(ButtonCaption)##leg.ZONESOPAC.ZoneSearch.ClearQuery ##local.define(ButtonTip)##leg.data(ZONESOPAC.ZoneSearch.ClearQueryTip) ##local.define(ButtonHref)javascript:resetForm() ##local.define(ButtonID)buttonAdSearchClr ##local.ButtonFMT
##local.RoundBox ##if error.Level
##local.SearchErrorAdvice
##endif ##local.define(ShowLimits)0 ##if sessioncfg.ZONES.BrowseOptions.ShowSearchLimits.OnQuickSearch ##local.define(ShowLimits)1 ##helpcontext.addHelp(QSQueryLimits) ##endif ##if local.IsEqual(ShowLimits,"1") ##local.define(RoundBoxContent) ##local.SearchLimits ##local.RoundBox ##endif ##if sessioncfg.ZONES.ShowSearchButtonsBesideField ##else ##if local.SearchAndDeleteButtonsAfterSearchLimits
##local.define(ButtonCaption)##leg.data(ZONESOPAC.Search.Button.Search) ##local.define(ButtonTip)##leg.data(ZONESOPAC.Search.Button.SearchTip) ##local.define(ButtonHref)javascript:startSearch() ##local.define(ButtonID)buttonAdSearch ##local.ButtonFMT ##local.define(ButtonCaption)##leg.ZONESOPAC.ZoneSearch.ClearQuery ##local.define(ButtonTip)##leg.data(ZONESOPAC.ZoneSearch.ClearQueryTip) ##local.define(ButtonHref)javascript:resetForm() ##local.define(ButtonID)buttonAdSearchClr ##local.ButtonFMT
##else ##endif ##endif
##local.Define(Content) ##local.Version2Content ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,7103) ##local.LinkBoxNoHits ##endif ##endif
##local.Content
##if request.IsEqual(SubStyle,"Constellation") ##local.define(FrameContent) ##local.define(HandledError)1 ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,7103) No Hits ##helpcontext.addHelp(AdvancedSearch.NoHits) ##else ##if error.IsEqual(Number,7003) ##leg.ZONESOPAC.AdvancedSearch.Error.SyntaxError.Heading ##helpcontext.addHelp(AdvancedSearch.SyntaxError) ##else ##local.generalError ##endif ##endif ##endif ##include(FrameBody) ##else ##include(Body) ##endif