// 字符串
/*
 * 字符串trim函数
 */
String.prototype.trim=function(){
	return this.replace(/(^\s*)|(\s*$)/g,"");
};

/*
 * 字符串encode
 */
String.prototype.encode=function() {
	return encodeURIComponent(this);
}
