Xpages Clearable Textbox Custom Control

The control is originally created while developing an application for the MWLUG XDesign contest 2011. The clearable textbox is cool so I made it reusable and post it on OpenNTF so everyone can use it. After creating the control, while testing, I found out it also works on multiline editboxes and even comboboxes! See the xpDemo xpage inside the application.