Hi There
I developed something on this recently - see This Link to see if it helps in any way
Regards
Krystian