Please see Wiki - how to post code on this forum. Use this when posting code or error messages. Thanks.