trim = function (str) {
                        return str.replace(/^\s+|\s+$/g, '')
                    }
jQuery calendar plugin
@author yuji@baidu.com
@update 2013/10/17

Compatibility:
1. IE 6-10, Firefox, Opera, Chrome, Safari
2. ltr/rtl
3. Windows / Mac

TODO: