Found this the other day that pretty much would handle what I was trying to do:
ajdams
2010-03-10 14:05:18
Found this the other day that pretty much would handle what I was trying to do: