pager.class.php ajax function