From the sound of it, it should only be a few lines of code. I could write it for you later today.