Thanks Pike... It is working fine..
You have an amazing knowledge about how code works. I will really appretiate if you could add comment to your code (wherever required) therefore it may be easy to understand for me ?

Thanks again,
Ankit.