Thanks it works, but I have to tweek it to the extent that it is able to be used for my purposes. Is there any copyright on that code, or isn't there??? I am not quite sure, I didn't see anything that said that it couldn't be used in your projects!!