I have a small challenge and you'll have to excuse me because I haven’t touched JS for some time and have gotten a bit rusty.

I have an intranet site at work that has roughly 500,000 htm pages (no joke). I have a search engine (zoom) that returns results of the various htm files. The site that I indexed is setup with about 41,600 folders with each folder containing 12 to 13 htm files. One of the htm files is a default.htm file...