If cs.Infos.Flags.IsMA Then
If Container.GetTitle(5) <> "Device mA output" Then
Container.AddPageAt(Pan(4),"Device mA output",5)
End If
Else
If Container.GetTitle(5) = "Device mA output" Then
Container.DeletePage(5)
End If
End If
Container.notifyDataSetChanged