A little proggy i wrote years ago.