Capture signature custom control for Xpages

For the development of an XPage (but could be any webpage) for a pocketPC / smartPhone, I would like to capture a handwritten signature of an user and store it in a NotesDocument afterwards.

Questions:

  1. Which control/script to use for the signature capture for a mobile device

  2. Is there an example Notes app already having this functionality

I appreciate your advice.