I'd love to see the source of this (or something similar) so I could implement it privately. Any ideas?