// ½ºÆ®¸µ °´Ã¼¿¡ ¹ÙÀÌÆ® ¸®ÅÏ ¸Þ¼Òµå Ãß°¡ String.prototype.bytes = function (str) { str = this != window ? this : str; var len = 0; for(j=0; j 128) ? 2 : 1 } return len; } // ½ºÆ®¸µ °´Ã¼¿¡ trim ¸Þ¼Òµå Ãß°¡ String.prototype.trim = function (str) { str = this != window ? this : str; return str.replace(/^\s+/g,'').replace(/\s+$/g,''); } // ½ºÆ®¸µ °´Ã¼¿¡ µû¿ÈÇ¥(',")°¡ ÀÖ´ÂÁö °Ë»ç String.prototype.isquot = function (str) { str = this != window ? this : str; if ((str.indexOf("'") >= 0) || (str.indexOf("\"") >= 0)) return true; return false; } // checkbox Àüü¼±ÅÃ/ÇØÁ¦ (ÇØ´ç üũ¹Ú½ºÀÇ °³¼ö ¸®ÅÏ) function QcheckAll(form, name, checked) { var form_len = form.length; var chkcnt = 0; if (checked) checked = true; else checked = false; for(i=0; i