Jens,
Before you beat up JJ too badly, remember that he has adopted Kent's UDF. While Kent is well-intentioned, he does not always write UDFs to your exacting standards. Often they are merely subroutines with a twist.

JJ,
Not all posted UDFs are ready-to-wear code. Some are just concepts that need further refinement.

Kent,
Sorry for the criticism. Perhaps some of your UDFs could stand to have a disclaimer.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.