/** 
 * ¹®ÀÚ¿­ °ø¹é Á¦°Å
 * @param str ¹®ÀÚ¿­
 */
String.prototype.trim = function( str )
{
	str = this != window ? this : str;
	return str.replace(/^\s+/g,'').replace(/\s+$/g,'');
}