I’ve been asking on a couple different forums and haven’t gotten a solution yet. Since i got the code for the dynamic replace from this site, I was hoping somebody might have an idea where the problem is coming from. I also have discovered that it seems that FF 3.5.9 and earlier does not work. So only the newest versions of IE and FF are working. Haven’t tested in Chrome as of yet.
Can probably ignore the shadowbox thing until I get the gallery replace issue figured out.