Thanks mikerickson, that works perfect for what I want. i think i was looking at it too basic, but i think yours will be more reliable and effective.