I've written shorter versions of this many times, and rather than write it several times again in the future I thought I would centralize its location and just provide a link Might be a helpful link...