##formatter.TextRender() ##local.define(em1px)1px ##local.define(BNNoResultsAdvice) ##this.SubView(##request.SubStyle) ##local.define(ZonesSection)AdvancedSearch ##include(Defaults) ##local.SetDefaultLoc ##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 ##if sessioncfg.ZONES.DidYouMean.Enabled
##endif ##if error.IsEqual(Details.Diagnostic,"SpellingSuggestion")
##endif ##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(BNNoResultsAdvice) ##local.define(LinkBoxNoHits) ##helpcontext.addHelp(AdvancedSearch) ##helpcontext.addHelp(Toolbar) ##local.define(Title)##leg.ZONESOPAC.ZoneSearch.Advanced ##local.define(Advice)##leg.ZONESOPAC.ZoneSearch.AdvancedAdvice ##local.define(APSMAP)advancedsearch ##local.define(PageHeaderScripts) ##if sessioncfg.ZONES.Portal3.AutoComplete.InAdvancedSearch ##endif ##local.define(Content) ##local.Version3Content ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,7103) ##local.LinkBoxNoHits ##endif ##endif ##local.Define(Version3Content)
##this.stylesetforform ##local.SearchFieldsTable ##if error.Level
##local.SearchErrorAdvice
##endif ##local.define(ShowLimits)0 ##if sessioncfg.ZONES.BrowseOptions.ShowSearchLimits.OnAdvancedSearch ##local.define(ShowLimits)1 ##helpcontext.addHelp(ASQueryLimits) ##endif ##if local.IsEqual(ShowLimits,"1") ##local.define(RoundBoxContent) ##local.SearchLimits ##local.RoundBox ##endif ##if local.IsEqual(SearchAndDeleteButtonsAfterSearchLimits, "1")
##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)buttonAdSearch ##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)buttonAdSearchClr ##local.ButtonFMT
##else ##endif
##local.define(SearchFieldsTable) ##local.define(FirstRowDone)0 ##local.define(RowNum)0 ##local.define(LogicRowNum)1 ##sessioncfg.With(rows,"ZONES.CCLAdvancedSearch.CCLQueryFormOptions") ##rows.ForEachIn(row,"") ##local.increment(RowNum) ##local.increment(LogicRowNum) ##local.define(WaterMark) ##local.defineByRender(defaultOPT)##row ##if sessioncfg.ZONES.CCLAdvancedSearch.CCLShowMatchOptions ##endif ##if sessioncfg.ZONES.CCLAdvancedSearch.CCLShowMatchOptions ##else ##endif ##if local.IsEqual(SearchAndDeleteButtonsAfterSearchLimits, "1") ##else ##endif
##sessioncfg.With(list,"ZONES.CCLAdvancedSearch.CCLTermOptions") ##sessioncfg.With(list,"ZONES.CCLAdvancedSearch.CCLMatchOptions") ##if local.skinSpecificCCLTermWidth ##local.define(TermWidth)##local.skinSpecificCCLTermWidth /* correction local.local. */ ##else ##local.define(TermWidth)60 ##endif
##if sessioncfg.ZONES.Portal3.FieldSwapInAdvancedSearch ##if row.__IsLast() ##else ##endif ##else   ##endif ##if row.__IsLast() ##else ##local.defineByRender(NextLogicRowNum)##local.LogicRowNum ##sessioncfg.With(list,"ZONES.CCLAdvancedSearch.CCLLogicOptions") ##endif
##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)buttonAdSearch ##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)buttonAdSearchClr ##local.ButtonFMT
##include(Body)