I am trying to put a modified version of this into a text box in the footer of my site…
© 2010<script>new Date().getFullYear()>2010&&document.write("-"+new Date().getFullYear());</script>, Company.
When I do this though it breaks the preview screen for all of the footer but I have no idea why. I would like to have the copyright protection notification and for the year to auto update but I am not sure how to work round it. Could you help please?