http://homepages.nildram.co.uk/~krit...gers%20job.htm

Looks quitte simple.