added Level() page control to be able to detect child pages or not.