well, he posted this 6 days ago. since then he got ahold of me on IRC and asked me what was wrong with the page and I told him.
First thing I did was search for SCRIPT tags. cause those kinds of errors only occures in scripts. so one of the scripts he was using had a syntax error on line 1.
first I came across some embedded javascript. no errors on line one. then further on I found this
<script type=text/javascript src=ibfhits.php</script>
well looky here, a PHP script being treated like a javascript. No wonder there's a syntax error on line one.