Ciao, io ho usato questo. Sembra buono.
L'ho riadattato un po' alle mie esigenze.. ho aperto anche un thread in proposito.