The newer version of Firefox may not be putting "Mozilla Firefox" in the title like the BAT file is looking for. If there is some fixed text in the title bar of the browser, change the BAT file to use that to make sure topmost.exe finds it and brings it to the top.

Firefox keeps telling me that 3.5 is available, I guess I should upgrade sometime