I am trying to use a photo gallery that was produced by Lightroom 4 in one of my web pages. Everything works fine except when you click on a large image to return to the page with all the thumbnail images.

I have to tell you the thumbnail page uses a file extension of shtml, and the Javascript is returning to the correct page except it has a file extension of html.

I have traced the problem down to this variable in the Javascript:

var needThumbImgLink = !isFirefoxPat;

Apparently the variable is coming from !isFirefoxPat; but I don't know what this is and doing a search on the internet comes up with nothing.

Can someone tell me how to convert the variable from html to shtml?