Another go at making our cgi scripts xhtml compliant.
Submitted by: Daniel Gerzo <danger at rulez dot sk>