For logical condition tests, is the following allowed: if (!$page OR !$permit) or this: if ((!$page) OR (!$permit)) or are they equivalent? thanks! Hans