Java problem using styles.override.tpl

I’ve been modifying the default-blue template. While making the modifications I’ve been logged in with the site open in customization mode. Yesterday I logged out and noticed that the scroller wasn’t working when logged out, then I noticed that when I was logged out the log-in popup box wasn’t working, nor was the lightbox image viewer. So I have a java problem.



This morning using the default green template I began adding my modified files one by one trying to locate where the problem was. It seems as soon as I create a styles.override.tpl file in the my_changes/hooks/index folder the java script gets turned off when I log out of the front end. I’m a bit lost at this point - anyone got any ideas.

Fixed it - an open tag - doh.