Public Sub ShowPage(nc As NavigationController, pg As Page, sTitle As String, vLayout As String, bHideBackButton As Boolean, bAnimated As Boolean)
vLayout = LCase(vLayout)
pg.Initialize("pg")
pg.Title = sTitle
pg.RootPanel.LoadLayout(vLayout)
pg.HideBackButton = bHideBackButton
nc.ShowPage2(pg,bAnimated)
End Sub