AI OnAI Off
If MainMenuContainer = "" Then MainMenuContainer = Application("EPnStartPage")
If Application("EPnStartPage") = EPnPageID Then
EPnPageIDorg = EPnPageID
EPnPageID = MainMenuContainer
End If
Set o = Server.CreateObject("ElektroPost.BasicTree2")
aTree = o.BuildPageMenuTree(MainMenuContainer, Null, Array(EPnPageID), EPsSID, nAccessRead, conn )
Its something obvious isnt it? I just cant see it...