Not sure, but please take a look at the script mentioned in this code listing.
Edit: I had to edit my answer because some of the smarter guys rated my answer negatively, I'm trying to find a solution to a problem that hasn't been answered for over a year.
source
to share