I came across the following code which appears on the bottom of some of my ages after the </html> tag.
The author of the template isn't sure what it's for either so maybe I added it somewhere along the way by accident, not sure.
It seems if I remove it things continue to work fine.
If anyone has any idea what the code is for please let me know.
window.open = SymWinOpen;
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
SymRealOnLoad = window.onload;
window.onload = SymOnLoad;