function ajaxmemberProcess() { return false; } function call_member_ajax() { Ajax.init("/cjs/ajax/ajax.member.php", null , 'GET' , null , false , false ); } // °¡ÀÔ Æû üũ function com_member_formCheck() { call_member_ajax(); var mform = document.com_member; var rsXml = Ajax.rltXml(); var tempFrom = "com_member"; realMemberCheck(tempFrom); //[CS,2009-12-30,Jeong Yong Hun] -ºñ¹Ð¹øÈ£ À¯È¿¼º ó¸® var passwd = document.com_member.passwd.value; var checkResult = check_password_js_validate(passwd); if(checkResult == false) return false; var ssn_type = document.getElementsByName('ssn_type'); if(ssn_type) { var type = "1"; for(var i=0; i 0) { if(mform.ssn_namecheck.value == '') { alert('½Ç¸íÀÎÁõÀ» ÇØÁÖ¼¼¿ä.'); return false; } } } else { return false; } try { if(document.getElementById("isJunior").value != 'T') { alert('¹ýÁ¤´ë¸®ÀÎ ¾ÆÀÌÇÉÀÎÁõÀ» ÇϽñ⠹ٶø´Ï´Ù.'); return false; } } catch(e) {} return true; } /* * [±â´É°³¼±,2009-12-30,Jeong Yong Hun] * ºñ¹Ð¹øÈ£ À¯È¿¼º üũ * ±âÁØ : 1. ÃÖ¼Ò 8ÀÚ¸® ÀÌ»ó, 16ÀÚ¸® ¹Ì¸¸ 2. Ư¼ö¹®ÀÚÁß pgsql¿¡¼­ ¹ÞÁö ¸øÇϴ Ư¼ö¹®ÀÚ´Â Á¦¿ÜÇÏ°í, &, %, $, *, ', ", :, ; µîµµ »ç¿ë ºÒ°¡´É. (¸®¼¿·¯ ¾ØµåÀ¯Àú ¶§¹®¿¡ ºÒ°¡´É) 3. ºñ¹Ð¹øÈ£ÀÇ Ã¹ÀÚ¸®´Â ¹Ýµå½Ã ¿µ¹® (¼ýÀÚ, Ư¼ö¹®ÀÚ ºÒ°¡) 4. ºÒ°¡´ÉÇÑ ¹®ÀÚ ÀԷ½à ´ÙÀ½°ú °°ÀÌ ¸Þ¼¼Áö Ç¥½Ã - ºñ¹Ð¹øÈ£´Â 8ÀÚ¸® ÀÌ»ó 16ÀÚ¸® ÀÌÇÏÀÔ´Ï´Ù. - ºñ¹Ð¹øÈ£´Â ¿µ¹®ÀÚ·Î ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù. - »ç¿ëÇÒ ¼ö ¾ø´Â Ư¼ö¹®ÀÚ(*)ÀÔ´Ï´Ù. 5. ±âÁ¸¿¡ »ç¶÷µéÀÌ »ç¿ëÇÏ´ø ºñ¹øÀº »ó°ü¾øÀÌ, ÀÌÈÄ º¯°æÇϰųª °¡ÀÔÇÒ¶§¸¸ Àû¿ë. 6. ȸ¿ø°¡ÀÔ, ºñ¹øº¯°æ(¸¶ÀÌÆäÀÌÁö) µî¿¡ Àû¿ë */ // ±âÁ¸»ç¿ëÀÚ º¯°æ½Ã ȤÀº ½Å±Ô»ç¿ëÀÚ °¡ÀԽà º¯°æµÈ ºñ¹Ð¹øÈ£ À¯È¿¼º üũ. // ____________________________________________________________________________ function check_password_js_validate(passwd) { if(validationPasswordSubmit(passwd) == false){ return false; } return true; } /** * ºñ¹Ð¹øÈ£ Á¤ÇÕ¼º üũ */ function validationPasswordSubmit(passwd) { if(!passwd){ alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä."); return false; } if(passwd.length < 8 || passwd.length > 16){ alert("ºñ¹Ð¹øÈ£´Â 8ÀÚºÎÅÍ 16ÀÚ±îÁö °¡´ÉÇÕ´Ï´Ù."); return false; } if(checkInitialCharacterIsEnglish(passwd) == false){ alert("ºñ¹Ð¹øÈ£´Â ¿µ¹®ÀÚ·Î ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù."); return false; } var oRegexp = /[`"?;|=&%#]/; if(oRegexp.test(passwd)){ alert("ºñ¹Ð¹øÈ£¿¡ »ç¿ëÇÒ ¼ö ¾ø´Â ¹®ÀÚ¸¦ ÀÔ·ÂÇÏ¿´½À´Ï´Ù."); return false; } if(checkPasswordMixture(passwd) == false){ alert("ºñ¹Ð¹øÈ£´Â ¿µ¹®/¼ýÀÚ/Ư¼ö¹®ÀÚ Á¶ÇÕÀ¸·Î 8ÀÚ¸®~16ÀÚ¸®ÀÔ´Ï´Ù."); return false; } if(checkPasswordStreak(passwd) == 3){ alert("ºñ¹Ð¹øÈ£´Â 4ÀÚÀÌ»ó ¿¬¼ÓµÈ ¹®ÀÚ¸¦ »ç¿ëÇÒ ¼ö ¾ø½À´Ï´Ù."); return false; } if(checkPasswordStreak(passwd) == 2){ alert("ºñ¹Ð¹øÈ£´Â µ¿ÀϹ®ÀÚ¸¦ 3ÀÚÀÌ»ó ¹Ýº¹À¸·Î »ç¿ëÇÒ ¼ö ¾ø½À´Ï´Ù."); return false; } return true; } /** * ù±ÛÀÚ ¿µ¹® È®ÀÎ */ function checkInitialCharacterIsEnglish(passwd) { var initialChar = passwd.split('',1); var eng_pattern = /^[a-z]+$/i; var checkPatternResult = eng_pattern.test(initialChar); if(!checkPatternResult) { return false; } return true; } /** * ºñ¹Ð¹øÈ£ ¼ýÀÚ ¿µ¹® Ư¼ö¹®ÀÚ Á¶ÇÕ È®ÀÎ */ function checkPasswordMixture(passwd) { var chk_num = passwd.search(/[0-9]/g); var chk_eng = passwd.search(/[a-zA-Z]/ig); var chk_spc = passwd.search(/[\'\~\!\@\^\*\(\)\-\_\+\[\]\{\}\\\\:\,\.\<\>\/]/); if(chk_num < 0 || chk_eng < 0 || chk_spc < 0){ return false; } return true; } /** * ºñ¹Ð¹øÈ£ ¿¬¼Ó¼º È®ÀÎ */ function checkPasswordStreak(passwd) { var cnt2=1,cnt3=1; for(i=0;i < passwd.length;i++){ tempw1 = passwd.charAt(i); next_pass = (parseInt(tempw1.charCodeAt(0)))+1; temp_p = passwd.charAt(i+1); tempw2 = (parseInt(temp_p.charCodeAt(0))); if (tempw2 == next_pass) cnt2 = cnt2 + 1; else cnt2 = 1; if (tempw1 == temp_p) cnt3 = cnt3 + 1; else cnt3 = 1; if (cnt2 > 3){ return 3; } if (cnt3 > 2){ return 2; } } } function check_com_reg_no(no){ var objstring = no; var li_temp, li_lastid; var biz_value = Array(); biz_value[0] = ( parseFloat(objstring.substring(0 ,1)) * 1 ) % 10; biz_value[1] = ( parseFloat(objstring.substring(1 ,2)) * 3 ) % 10; biz_value[2] = ( parseFloat(objstring.substring(2 ,3)) * 7 ) % 10; biz_value[3] = ( parseFloat(objstring.substring(4 ,5)) * 1 ) % 10; biz_value[4] = ( parseFloat(objstring.substring(5 ,6)) * 3 ) % 10; biz_value[5] = ( parseFloat(objstring.substring(7 ,8)) * 7 ) % 10; biz_value[6] = ( parseFloat(objstring.substring(8 ,9)) * 1 ) % 10; biz_value[7] = ( parseFloat(objstring.substring(9,10)) * 3 ) % 10; li_temp = parseFloat(objstring.substring(10,11)) * 5 + "0"; biz_value[8] = parseFloat(li_temp.substring(0,1)) + parseFloat(li_temp.substring(1,2)); biz_value[9] = parseFloat(objstring.substring(11,12)); li_lastid = (10 - ( ( biz_value[0] + biz_value[1] + biz_value[2] + biz_value[3] + biz_value[4] + biz_value[5] + biz_value[6] + biz_value[7] + biz_value[8] ) % 10 ) ) % 10; if (biz_value[9] != li_lastid) { return false; } else return true; } // ȸ¿øÁ¤º¸ ¼öÁ¤ Æû üũ function com_member_modifyformCheck() { var tempFrom = "com_member_modify"; realMemberCheck(tempFrom); //[CS,2009-12-30,Jeong Yong Hun] -ºñ¹Ð¹øÈ£ À¯È¿¼º ó¸® var passwd = document.com_member_modify.passwd.value; if(passwd != '') { var checkResult = check_password_js_validate(passwd); if(checkResult) { if(passwd != document.com_member_modify.passwd_chk.value) { alert('ºñ¹Ð¹øÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù.'); document.com_member_modify.passwd_chk.focus(); return false; } } } else { var checkResult = true; } if(checkResult == false) return false; if(typeof(document.getElementsByName('com_reg_no1')[0]) == 'object') { var regno1 = document.getElementsByName('com_reg_no1')[0]; var regno2 = document.getElementsByName('com_reg_no2')[0]; var regno3 = document.getElementsByName('com_reg_no3')[0]; if(regno1.value != '' || regno2.value != '' || regno3.value != '') { var regno = regno1.value +'-'+ regno2.value +'-'+ regno3.value; var robj = check_com_reg_no(regno); if(robj == false) { regno1.value = ''; regno2.value = ''; regno3.value = ''; alert('»ç¾÷ÀÚ µî·Ï¹øÈ£¸¦ Á¤È®Çϱ⠾ʽÀ´Ï´Ù. ´Ù½Ã È®ÀÎÇØ ÁÖ¼¼¿ä.'); regno1.focus(); return false; } } } var jsCheck = FormCheck.init(tempFrom); if(jsCheck == true) { return true; } else { return false; } } //½ÇÁ¦ üũ·ÎÁ÷ function realMemberCheck(formName) { call_member_ajax(); var rsXml = Ajax.rltXml(); var xmlData = Ajax.rltXmlLoop(rsXml, "member_title"); var tempArr = new Array(); for(var i = 0; i < xmlData.length; i++) { tempArr[i] = new Array(); tempArr[i]["code"] = Ajax.rltXmlOnce(xmlData[i], "code"); tempArr[i]["name"] = Ajax.rltXmlOnce(xmlData[i], "name"); tempArr[i]["attribute"] = Ajax.rltXmlOnce(xmlData[i], "attribute"); tempArr[i]["necessary"] = Ajax.rltXmlOnce(xmlData[i], "necessary"); tempArr[i]["attribute_len"] = Ajax.rltXmlOnce(xmlData[i], "attribute_len"); tempArr[i]["attribute_use"] = Ajax.rltXmlOnce(xmlData[i], "attribute_use"); if(tempArr[i]["necessary"] == "Y") { if(tempArr[i]["attribute"] == "file") { var tempName = tempArr[i]["code"]+"_img"; if(document.getElementById(tempName) != null && document.getElementById(tempName) != "undefined"){ if(document.getElementById(tempName).href != ""){ continue; } } } switch (tempArr[i]["attribute"]) { case "text" : //ÀϹÝÅؽºÆ® if(tempArr[i]["code"] == "m_id") { FormCheck.setCheck(formName, tempArr[i]["code"], 'y', tempArr[i]["name"], 'num+eng', '4-'+tempArr[i]["attribute_len"]); } else if(tempArr[i]["code"] == "nickname") { FormCheck.setCheck(formName, tempArr[i]["code"], 'y', tempArr[i]["name"], '', '2-'+tempArr[i]["attribute_len"]); } else { FormCheck.setCheck(formName, tempArr[i]["code"], 'y', tempArr[i]["name"], '', '1-'+tempArr[i]["attribute_len"]); } break; case "password" : //ºñ¹Ð¹øÈ£ FormCheck.setCheck(formName, tempArr[i]["code"], 'y', tempArr[i]["name"], '', '1-'+tempArr[i]["attribute_len"]); FormCheck.setCheck(formName, tempArr[i]["code"]+'_chk', 'y', tempArr[i]["name"], '', '1-'+tempArr[i]["attribute_len"]); break; case "file" : //ÆÄÀÏ÷ºÎ case "url" : //url case "selectbox" : //¼¿·ºÆ®¹Ú½º case "textarea" : //ÅؽºÆ®¹Ú½º FormCheck.setCheck(formName, tempArr[i]["code"], 'y', tempArr[i]["name"], ''); break; case "juminno" : FormCheck.setCheck(formName, tempArr[i]["code"]+'1', 'y', tempArr[i]["name"], 'num+eng', '2-9'); FormCheck.setCheck(formName, tempArr[i]["code"]+'2', 'y', tempArr[i]["name"], 'jumin_number', '0-7', tempArr[i]["code"]+'1'); break; case "comregno" : //»ç¾÷ÀÚµî·Ï¹øÈ£ FormCheck.setCheck(formName, tempArr[i]["code"]+'1', 'y', tempArr[i]["name"], 'num', '3-3'); FormCheck.setCheck(formName, tempArr[i]["code"]+'2', 'y', tempArr[i]["name"], 'num', '2-2'); FormCheck.setCheck(formName, tempArr[i]["code"]+'3', 'y', tempArr[i]["name"], 'num', '5-5', tempArr[i]["code"]+'1'); break; case "date" : //³¯Â¥ FormCheck.setCheck(formName, tempArr[i]["code"]+'Y', 'y', tempArr[i]["name"], ''); FormCheck.setCheck(formName, tempArr[i]["code"]+'M', 'y', tempArr[i]["name"], ''); FormCheck.setCheck(formName, tempArr[i]["code"]+'D', 'y', tempArr[i]["name"], ''); break; case "email" : //À̸ÞÀÏ FormCheck.setCheck(formName, tempArr[i]["code"]+'1', 'y', tempArr[i]["name"], ''); FormCheck.setCheck(formName, tempArr[i]["code"]+'3', 'y', tempArr[i]["name"], ''); break; case "checkbox" : //üũ¹Ú½º FormCheck.setCheck(formName, tempArr[i]["code"], 'y', tempArr[i]["name"], 'checkbox', '', '', '1'); break; case "radio" : //¶óµð¿À FormCheck.setCheck(formName, tempArr[i]["code"], 'y', tempArr[i]["name"], 'checkbox', '', '', ''); break; case "address" : //ÁÖ¼Ò if(tempArr[i]["attribute_use"] == "Y") { FormCheck.setCheck(formName, tempArr[i]["code"]+'_post1', 'y', tempArr[i]["name"], 'num', '5-5'); //FormCheck.setCheck(formName, tempArr[i]["code"]+'_post1', 'y', tempArr[i]["name"], 'num', '3-3'); //FormCheck.setCheck(formName, tempArr[i]["code"]+'_post2', 'y', tempArr[i]["name"], 'num', '3-3'); } FormCheck.setCheck(formName, tempArr[i]["code"], 'y', tempArr[i]["name"], ''); break; case "tel" : //ÀüÈ­¹øÈ£ if(tempArr[i]["code"] == "mobile_no") { FormCheck.setCheck(formName, tempArr[i]["code"]+'1', 'y', tempArr[i]["name"]+'1', ''); FormCheck.setCheck(formName, tempArr[i]["code"]+'2', 'y', tempArr[i]["name"]+'2', 'num', '1-4'); FormCheck.setCheck(formName, tempArr[i]["code"]+'3', 'y', tempArr[i]["name"]+'3', 'num', '1-4'); } else { if(tempArr[i]["attribute_use"] == "Y") { FormCheck.setCheck(formName, tempArr[i]["code"], 'y', tempArr[i]["name"]+'0', 'num', '1-4'); } FormCheck.setCheck(formName, tempArr[i]["code"]+'1', 'y', tempArr[i]["name"]+'1', 'num', '1-4'); FormCheck.setCheck(formName, tempArr[i]["code"]+'2', 'y', tempArr[i]["name"]+'2', 'num', '1-4'); FormCheck.setCheck(formName, tempArr[i]["code"]+'3', 'y', tempArr[i]["name"]+'3', 'num', '1-4'); } break; } } } } // °¡ÀÔ¿©ºÎ Æûüũ(Áֹεî·Ï¹øÈ£) function com_member_confirmCheck() { call_member_ajax(); var mform = "com_member"; var rsXml = Ajax.rltXml(); var email_necessary = Ajax.rltXmlOnce(rsXml, "email_necessary"); FormCheck.setCheck(mform, 'com_member_name', 'y', 'À̸§', ''); if(email_necessary == "Y") { FormCheck.setCheck(mform, 'com_member_email', 'y', 'À̸ÞÀÏ', 'email'); } else { FormCheck.setCheck(mform, 'com_member_ssn1', 'y', 'Áֹεî·Ï¹øÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2', 'y', 'Áֹεî·Ï¹øÈ£', 'personal_number', '7-7', 'com_member_ssn1'); FormCheck.setCheck(mform, 'com_member_person_uniq_check', 'y', '°íÀ¯½Äº°Á¤º¸', 'checkbox', '', '', ''); } return FormCheck.init(mform); } // °¡ÀÔ¿©ºÎ ½ÇÇà(Áֹεî·Ï¹øÈ£) function com_member_confirm_submit() { var TEMPLATE_NAME = get_template(); if(com_member_confirmCheck() == false) return false; else { window.open('/chtml/member.php?template='+TEMPLATE_NAME, document.com_member.target, 'width=430,height=354,scrollbars=no'); SSL.send({ 'formName':'com_member' ,'elementName':['com_member_name','com_member_email'] ,'postName':'encrypted_str' }); return false; } } // °¡ÀÔ¿©ºÎ Æûüũ(¸ðµç µî·Ï¹øÈ£¿ë, Áֹεî·Ï¹øÈ£, ¿Ü±¹Àεî·Ï¹øÈ£, ¿©±Ç¹øÈ£, ¹ýÀιøÈ£) // Param : int type(1:Áֹεî·Ï¹øÈ£, 2:¿Ü±¹Àεî·Ï¹øÈ£, 3:¿©±Ç¹øÈ£, 4:¹ýÀιøÈ£) function com_member_confirmCheck_All(type) { var mform = "com_member"; switch(type) { case 1 : // Áֹεî·Ï¹øÈ£ document.getElementsByName('com_member_name_2')[0].value = ''; document.getElementsByName('com_member_ssn1_2')[0].value = ''; document.getElementsByName('com_member_ssn2_2')[0].value = ''; document.getElementsByName('com_member_name_3')[0].value = ''; document.getElementsByName('com_member_ssn1_3_1')[0].value = ''; document.getElementsByName('com_member_ssn1_3_2')[0].value = ''; document.getElementsByName('com_member_ssn2_3_1')[0].value = ''; document.getElementsByName('com_member_ssn2_3_2')[0].value = ''; FormCheck.setCheck(mform, 'com_member_ssn1_1', 'y', 'Áֹεî·Ï¹øÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_1', 'y', 'Áֹεî·Ï¹øÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_2', 'n', '¹ýÀιøÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_2', 'n', '¹ýÀιøÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_3_1', 'n', '¿©±Ç¹øÈ£', 'eng+num', '9'); FormCheck.setCheck(mform, 'com_member_ssn1_3_2', 'n', '¿Ü±¹Àεî·Ï¹øÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_3_2', 'n', '¿Ü±¹Àεî·Ï¹øÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn2_1', 'y', 'Áֹεî·Ï¹øÈ£', 'personal_number', '7-7', 'com_member_ssn1_1'); break; case 2 : // ¹ýÀÎ µî·Ï¹øÈ£ document.getElementsByName('com_member_name_1')[0].value = ''; document.getElementsByName('com_member_ssn1_1')[0].value = ''; document.getElementsByName('com_member_ssn2_1')[0].value = ''; document.getElementsByName('com_member_name_3')[0].value = ''; document.getElementsByName('com_member_ssn1_3_1')[0].value = ''; document.getElementsByName('com_member_ssn1_3_2')[0].value = ''; document.getElementsByName('com_member_ssn2_3_1')[0].value = ''; document.getElementsByName('com_member_ssn2_3_2')[0].value = ''; FormCheck.setCheck(mform, 'com_member_ssn1_2', 'y', '¹ýÀιøÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_2', 'y', '¹ýÀιøÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_1', 'n', 'Áֹεî·Ï¹øÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_1', 'n', 'Áֹεî·Ï¹øÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_3_1', 'n', '¿©±Ç¹øÈ£', 'eng+num', '9'); FormCheck.setCheck(mform, 'com_member_ssn1_3_2', 'n', '¿Ü±¹Àεî·Ï¹øÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_3_2', 'n', '¿Ü±¹Àεî·Ï¹øÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn2_2', 'y', '¹ýÀεî·Ï¹øÈ£', 'company_number', '7-7', 'com_member_ssn1_2'); break; case 3 : // ¿©±Ç¹øÈ£ document.getElementsByName('com_member_name_1')[0].value = ''; document.getElementsByName('com_member_ssn1_1')[0].value = ''; document.getElementsByName('com_member_ssn2_1')[0].value = ''; document.getElementsByName('com_member_name_2')[0].value = ''; document.getElementsByName('com_member_ssn1_2')[0].value = ''; document.getElementsByName('com_member_ssn2_2')[0].value = ''; document.getElementsByName('com_member_ssn2_3_1')[0].value = ''; document.getElementsByName('com_member_ssn2_3_2')[0].value = ''; FormCheck.setCheck(mform, 'com_member_ssn1_3_1', 'y', '¿©±Ç¹øÈ£', 'eng+num', '9'); FormCheck.setCheck(mform, 'com_member_ssn1_1', 'n', 'Áֹεî·Ï¹øÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_1', 'n', 'Áֹεî·Ï¹øÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_2', 'n', '¹ýÀιøÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_2', 'n', '¹ýÀιøÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_3_2', 'n', '¿Ü±¹Àεî·Ï¹øÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_3_2', 'n', '¿Ü±¹Àεî·Ï¹øÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_3_2', 'y', '¿©±Ç¹øÈ£', 'passport_number', '9', 'com_member_ssn1_3_1'); break; case 4 : // ¿Ü±¹Àεî·Ï¹øÈ£ document.getElementsByName('com_member_name_1')[0].value = ''; document.getElementsByName('com_member_ssn1_1')[0].value = ''; document.getElementsByName('com_member_ssn2_1')[0].value = ''; document.getElementsByName('com_member_name_2')[0].value = ''; document.getElementsByName('com_member_ssn1_2')[0].value = ''; document.getElementsByName('com_member_ssn2_2')[0].value = ''; document.getElementsByName('com_member_ssn1_3_1')[0].value = ''; FormCheck.setCheck(mform, 'com_member_ssn1_3_2', 'y', '¿Ü±¹Àεî·Ï¹øÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_3_2', 'y', '¿Ü±¹Àεî·Ï¹øÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_1', 'n', 'Áֹεî·Ï¹øÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_1', 'n', 'Áֹεî·Ï¹øÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_2', 'n', '¹ýÀιøÈ£', 'num', '6-6'); FormCheck.setCheck(mform, 'com_member_ssn2_2', 'n', '¹ýÀιøÈ£', 'num', '7-7'); FormCheck.setCheck(mform, 'com_member_ssn1_3_1', 'n', '¿©±Ç¹øÈ£', 'eng+num', '9'); FormCheck.setCheck(mform, 'com_member_ssn2_3_2', 'y', '¿Ü±¹Àεî·Ï¹øÈ£', 'foreigner_number', '7', 'com_member_ssn1_3_2'); break; } return FormCheck.init(mform); } // °¡ÀÔ¿©ºÎ ½ÇÇà(¸ðµç µî·Ï¹øÈ£¿ë, Áֹεî·Ï¹øÈ£, ¿Ü±¹Àεî·Ï¹øÈ£, ¿©±Ç¹øÈ£, ¹ýÀιøÈ£) function com_member_confirm_submit_All(){ var member_type = document.getElementsByName('member_type'); // ºÐ·ù : 1. °³ÀÎ, 2. ¹ýÀÎ, 3. ¿Ü±¹ÀÎ var member_type03 = document.getElementsByName('member_type03'); // ¿Ü±¹ÀÎ : 1. ¿©±Ç, 2. ¿Ü±¹Àεî·Ï¹øÈ£ var type = 1; // »ç¿ëÀÚ°¡ ¼±ÅÃÇÑ µî·Ï¹øÈ£ 1:Áֹεî·Ï¹øÈ£, 2:¹ýÀιøÈ£, 3:¿©±Ç¹øÈ£, 4:¿Ü±¹Àεî·Ï¹øÈ£ var rtnType = 1; var rtnType03 = 1; for(var i=0; i'); } iFramObj.name = "namecheckIframe"; iFramObj.id = "namecheckIframe"; iFramObj.style.display = 'none'; document.body.appendChild(iFramObj); } document.com_member_namecheck.target = "namecheckIframe"; document.com_member_namecheck.submit(); return false; } } // ½Ç¸íÀÎÁõ ó¸®(ȸ¿ø°¡ÀÔ) function com_member_namecheck() { var eSSNType = document.getElementsByName('ssn_type'); var type = 1; if(eSSNType != null) { var iLength = eSSNType.length; for(var i=0; i