Updated page.class.php to be slightly faster and less redundant.

20130418
-Updated page.class.php to be slightly faster and less redundant.