Also please format your pasted code for the forum, see: How to help us help you - or How to ask a good question