Can anyone see the problems with this code as I just cant see it?

Printable View