fires after a page is changed
$$("pager1").attachEvent("onAfterPageChange", function(new_page){ // your code here });