Hi I have uploaded the following script onto my home page

This is coming up with quite a few script errors whilst it looks fine I need it tweaked to remove these errors

the errors are HTML...