Please note that when posting code on the forum you must use code tags. I have added them for you on this occasion as it's your first post, but please use them in future.