esmi, thanks, that did it. Not sure why I put that code there to be honest.
With regards to the template itself, the only things I have modified is bits and pieces within the header and footer, nothing major.
The main edits I have done codewise is removing the comments coding – I wanted the comments boxes etc completely removed from the site. Havent had any issues with this, it worked well.
Markup wise, there does seem to be some errors. But I cant see why the errors have happened, the code seems to be OK.