yop, this looks and works quite fine...also not so difficult as my first solution, however i still dont know what was wrong smile
So the script is almost complete, it needs just some tuning and debuging.
Thanks again for your assistance.