Modifying the fbox js for the nav and close buttons.