1234
if (Document.ActivePageReference.FilterPanel.Visible == False): Document.ActivePageReference.FilterPanel.Visible = Trueelse: Document.ActivePageReference.FilterPanel.Visible = False