Correct problem with shadowbox after paginating a "view" with ajax

When pagination is performed for a "view" that has ajax enabled, a problem arises if we have used shadowbox, it happens that on the second page shadowbox does not work, to solve this temporarily while a stable version for Views comes out with this patch . Include the following code in the view footer.

This way we ensure that after pagination we initialize shadownbox again.

You can follow the discussion at:  http://drupal.org/node/344298  .