##if request.IsEqual(SubView,Loading) ##local.Define(FrameContent) ##leg.ZONESOPAC.ViewNotes.Loading ##value.Data(Percent)% ##if value.IsEqual( State, "Ready" ) ##else ##if value.IsEqual(State,"FetchDetails") ##else State is ##value.State ##endif ##endif ##include(FrameBody) ##else ##local.defineByRender(HaveNotes)##session.ZonesGetInfo("HaveNotes") ##if local.IsEqual(HaveNotes,1) ##local.define(NotEmpty,1) ##endif ##local.define(SuppressViewNotesButton)1 ##local.define(Title)##leg.ZONESOPAC.ViewNotes.Title ##local.define(PageTitle)##leg.ZONESOPAC.ViewNotes.Title ##local.define(Advice) ##helpcontext.addHelp(ViewNotes) ##helpcontext.addHelp(Toolbar) ##local.define(AdviceRowTabs) ##if value.IsEqual(State,"Empty") ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)javascript:ConfirmDeleteNotes() ##local.Define(CommandButtonText)##leg.ZONESOPAC.ViewNotes.ClearNotes ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.ViewNotes.ClearNotesTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.ViewNotes.ClearNotesALT ##local.TabFMT ##local.define(Content) ##if value.IsEqual(State,FetchDetails) ##leg.ZONESOPAC.ViewNotes.Loading ##value.Data(Percent)% ##else ##if value.IsEqual(State,"Empty") ##leg.ZONESOPAC.ViewNotes.Empty ##else ##value.State ##endif ##endif ##include(Body) ##endif