Contacts - input mask for phone numbers

Wondering if anyone can tell me if it is possible to put an input mask on different fields. Specifically the phone numbers.

Thanks!

Wondering if this might be a start:

http://developer.sugarcrm.com/2010/03/05/masked-input-field/#more-881