Hi Jason,
Sorry, i typed it manually rather than copying the code and I missed off the trailing ).
I've tried wrapping with the If already but no joy, but I'll give it one more go. Its strange because it works fine in all browsers other than Firefox, and yet its supposed to be server side code.
Cheers
Ian