This is an error in Firebug I keep seeing.
TypeError: $(\"#gallery-nav-button\") is null
[Break On This Error]
$(\'#gallery-nav-button\').addClass(\'anima
I know this has been answered and it is an old post but wanted to share my experience. I was having the hardest time getting my code to load and was getting this error constantly. I had my javascript external page loading in the head section. Once I moved it to just before the body ended the function fired up right away.