hmm to add my two cents, RobA's idea seems a nice way and if you know java it shouldnt be a problem for you.