The middle one seems to be what i want, can you be more specific about how to implement such a code?
Thanks