Thanks......It worked.....but i would really appreciate it if you could put a comment beside each line and tell me what it does.....Then i can understand how it works a bit better.