##formatter.TextRender() ##this.SubView(##request.SubStyle) ##include(Defaults) ##local.define(BNNoResultsAdvice) ##local.define(LinkBoxNoHits) ##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) ##if sessioncfg.ZONES.DidYouMean.Enabled
##endif ##if error.IsEqual(Details.Diagnostic,"SpellingSuggestion")
##endif ##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(ZonesSection)AlphabeticSearch ##local.define(APSMAP)browsesearch ##local.define(Title)##leg.ZONESOPAC.ZoneSearch.Browsing ##helpcontext.addHelp(BrowseSearch) ##helpcontext.addHelp(Toolbar) ##else ##local.define(ZonesSection)QuickSearch ##local.define(APSMAP)quicksearch ##local.define(Title)##leg.ZONESOPAC.ZoneSearch.Advanced ##if sessioncfg.ZONES.QuickSearchLabelAsProfessional ##local.define(Title)##leg.ZONESOPAC.ProfessionalSearch.Title ##else ##local.define(Title)##leg.Portal3.QuickSearch.Title ##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") ##local.SearchIndexDropDown ##local.define(PageHeaderScripts) ##if sessioncfg.ZONES.Portal3.AutoComplete.InQuickSearch ##endif ##local.define(RenderSearchSample) ##local.define(isSamplesEmpty)0 ##if local.strSample1 ##local.define(isSamplesEmpty)1 ##endif ##if local.strSample2 ##local.define(isSamplesEmpty)1 ##endif ##if local.strSample3 ##local.define(isSamplesEmpty)1 ##endif ##if local.strSample4 ##local.define(isSamplesEmpty)1 ##endif ##if local.IsEqual(isSamplesEmpty,1)

##local.strSampleHeader

##if local.strSample1

» ##local.strSample1

##endif ##if local.strSample2

» ##local.strSample2

##endif ##if local.strSample3

» ##local.strSample3

##endif ##if local.strSample4

» ##local.strSample4

##endif
##else
##endif
##local.define(Content) ##local.define(QuickSearchWithSimpleLimits)
##this.stylesetforform ##local.QuickSearchLimits
##local.define(ButtonCaption)##leg.data(Portal3.Buttons.Search) ##local.define(ButtonTip)##leg.data(ZONESOPAC.Search.Button.SearchTip) ##local.define(ButtonHref)javascript:startSearch() ##local.define(ButtonID)buttonQuickSearch ##local.ButtonFMT
##local.define(ButtonClass)button_blue ##local.define(ButtonCaption)##leg.Portal3.Buttons.Clear ##local.define(ButtonTip)##leg.data(ZONESOPAC.ZoneSearch.ClearQueryTip) ##local.define(ButtonHref)javascript:resetForm() ##local.define(ButtonID)buttonQuickSearchClr ##local.ButtonFMT
/* */

 

##if error.Level
##local.SearchErrorAdvice
##endif ##local.define(strSampleHeader)##leg.Portal3.QuickSearch.SearchExamples.Header ##if leg.IsEqual(Portal3.QuickSearch.SearchExamples.Ex1,"") ##else ##local.define(strSample1)##leg.Portal3.QuickSearch.SearchExamples.Ex1 ##endif ##if leg.IsEqual(Portal3.QuickSearch.SearchExamples.Ex2,"") ##else ##local.define(strSample2)##leg.Portal3.QuickSearch.SearchExamples.Ex2 ##endif ##if leg.IsEqual(Portal3.QuickSearch.SearchExamples.Ex3,"") ##else ##local.define(strSample3)##leg.Portal3.QuickSearch.SearchExamples.Ex3 ##endif ##if leg.IsEqual(Portal3.QuickSearch.SearchExamples.Ex4,"") ##else ##local.define(strSample4)##leg.Portal3.QuickSearch.SearchExamples.Ex4 ##endif ##local.RenderSearchSample
##if local.IsBrowseSearch
##this.stylesetforform
##local.BrowseSearchFieldRows
##local.define(ButtonCaption)##leg.data(Portal3.Buttons.Search) ##local.define(ButtonTip)##leg.data(ZONESOPAC.Search.Button.SearchTip) ##local.define(ButtonHref)javascript:startSearch() ##local.define(ButtonID)buttonQuickSearch ##local.ButtonFMT
##local.define(ButtonClass)button_blue ##local.define(ButtonCaption)##leg.Portal3.Buttons.Clear ##local.define(ButtonTip)##leg.data(ZONESOPAC.ZoneSearch.ClearQueryTip) ##local.define(ButtonHref)javascript:resetForm() ##local.define(ButtonID)buttonQuickSearchClr ##local.ButtonFMT

 

##local.define(strSampleHeader)##leg.Portal3.BrowseSearch.SearchExamples.Header ##if leg.IsEqual(Portal3.BrowseSearch.SearchExamples.Ex1,"") ##else ##local.define(strSample1)##leg.Portal3.BrowseSearch.SearchExamples.Ex1 ##endif ##if leg.IsEqual(Portal3.BrowseSearch.SearchExamples.Ex2,"") ##else ##local.define(strSample2)##leg.Portal3.BrowseSearch.SearchExamples.Ex2 ##endif ##if leg.IsEqual(Portal3.BrowseSearch.SearchExamples.Ex3,"") ##else ##local.define(strSample3)##leg.Portal3.BrowseSearch.SearchExamples.Ex3 ##endif ##if leg.IsEqual(Portal3.BrowseSearch.SearchExamples.Ex4,"") ##else ##local.define(strSample4)##leg.Portal3.BrowseSearch.SearchExamples.Ex4 ##endif ##local.RenderSearchSample ##else ##local.QuickSearchWithSimpleLimits ##endif ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,7103) ##local.LinkBoxNoHits ##endif ##endif
##if request.IsEqual(SubStyle,"Constellation") ##local.define(FrameContent) ##local.define(HandledError)1 ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,7103) No Hits /*TODO*/ ##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