Greybox and Firefox Back Button Issue

I started using Greybox for one of my web projects recently.  I like it because it’s a little different that plain old lightbox.

BUT, there was a problem.  In Firefox, after viewing a image and closing it, the back button would no longer work.  The workaround was found by Jani at http://amix.dk/blog/viewEntry/19039

Hello,
Regarding the issue with the back button in Firefox, i think i found a solution.
First i came with this suggestion:
http://efrtw.spaces.live.com/Blog/cns!68A490680B58FBDC!139.entry

I did tweak the script a bit more, and now it seems to work fine in firefox.
Here is the new script for version 5.53:

http://myfreefilehosting.com/f/aeaad9cb1c_0.01MB

The new gb_scripts.js file worked great!