function normalize_phonenum(this_s) { this_s.value = this_s.value.toString().replace(/(0(?:2|[0-9]{2}))([0-9]+)([0-9]{4}$)/,"$1-$2-$3"); } //정규식을 이용한 방법을 수정한 것 function ck_telephone(this_s) { //02-281-4248; --> 9 //052-281-4248; --> 10 //052-2281-4248; --> 11 //0522-281-4248; --> 11 bs_number = this_s.value.toString(); bs_number = bs_number.replace(/[^0-9]/g,''); bs_number_length = bs_number.len..