I've never done this, but you might look at the following approach:

http://sluglug.ucsc.edu/pipermail/sl...ch/016706.html

Let us know if this is a viable approach or if you find another that is.