Alright, that seemed a little to easy. Christophe, try putting your global declaration at the top of your script and not in the middle. That seems to correct the problem for me. Let us know if it works.
_________________________
Eric