Hi pipsmultan

I notice @SamT has posted a possible solution for you. Please look at it and see if you think it will match your requirements. If you have any questions about it please put @SamT at the beginning of your reply

I will look at Sam's solution AFTER I have posted mine (it is more fun that way) . If you are happy to use that solution, that is fine. But I would appreciate the answers to my questions in order that I might complete my solution for you. Please reply to my questions with @yongle at beginning of your reply.

thanks