Having a code parse error would like some help

The problem is with all that JavaScript, because you're not escaping your single-quotes.

This is why you should never use echo when it would be just as easy to escape out of PHP. Code like yours is just asking for syntax errors.

Your code was nearly impossible to debug (because I could barely figure out which single-quotes belonged to PHP and which belonged to JavaScript, but rewritten it should looks something like this.
Alexei Kubarev said:
just reconfigure your php.ini to add magic quotes...

No. Magic quotes won't fix parse errors. They'll fix parse errors in, say, MySQL queries, but not in your actual PHP code.
One more example :
echo "<td width=\"10%\" align=\"center\" class=\"MyFont\">MyText</td>";