The above snippet by chipmunk would have been the preferred way of writing the code. I do believe in reuse ... but you have to know the code is available before you can reuse it. I would think most people would agree that your statement does sound like you are accusing me of plagiarizing. Please word your posts more carefully in the future. Apologies for accusing you of accusing 8) .. but you have to agree it did sound that way.