wow!
tnx Dave...

I checked your code and i understand it, thanks for the comments!
I'm going to change the code my way and adapt it to my project, and i'll keep you in touch with the progress soon