public static function ErrorPage($code, $type) { self::$isErrorPage = true; self::SetPageAnnouncement(0); self::SetPageIndex('error'); }