PageSourceSearch

https://basketkorea.com/support/join.js

js basketkorea.com collected 2026-10-02 19:27:38 UTC 5,332 bytes, 165 lines download raw bytes

1function infor_modify(){
2	var Regform = document.mjoin;
3	Regform.target = '';
4
5		if(Regform.repass.value !=""){
6	        if(Regform.passwd.value.length < 4){
7	           alert("변경할 비밀번호를 다시 입력하십시오.\n \n4~10자리 이내의 숫자,문자 조합.");
8	           Regform.passwd.focus();
9	           return false;
10	        }
11	        if(Regform.passwd.value != Regform.repass.value){
12	             alert("입력하신 두 비밀번호가 일치하지 않습니다. \n \n다시 입력하십시오.");
13	             Regform.passwd.value = '';
14	             Regform.repass.value = '';
15	             Regform.passwd.focus();
16	             return false;
17	        }
18	     }  
19        if(Regform.buyeremail.value.length < 5){
20           alert("E-mail을 다시 입력하십시오.");
21           Regform.buyeremail.focus();
22           return false;
23        }    
24        return true;
25     }
26
27// 아이디 중복체크
28
29  function new_idcheck(inputForm) {
30      var uidck = document.mjoin.userid.value;
31      if(!uidck) {
32		  alert('아이디를 입력하세요!!'); document.mjoin.userid.focus();
33		  return;
34	  }
35		if(document.mjoin.userid.value.length < 3){
36          alert("3~20자 이내입니다.");
37           document.mjoin.userid.focus();
38          return;
39	  }
40      window_open('join_idchack.php?uid='+uidck+'&inputForm='+inputForm, 'idchk', 410,303,1,1,0,0,0,1,0);
41     return;
42   }
43
44//ID에서 체크해야 할 사항
45function check_length(){ 
46    var strTmp = document.mjoin.userid.value;
47    if(strTmp == "") return;
48    if(strTmp.length < 3 || strTmp.length > 20) {
49     	 alert("ID는 3자이상 20자까지 입력가능합니다.");
50    	 document.mjoin.userid.value = "";
51    	 document.mjoin.userid.focus();
52    }
53}
54
55//주민번호 체크하기
56 function next_move(form){
57	 if (form.jumin1.value.length > 5){
58		 form.jumin2.focus();
59	}
60 }
61
62function CheckJumin(jum1, jum2){
63
64			var Number = jum1 + "-" + jum2;
65			var Sum=0;
66            var Mod=0;
67            var YearIn=0;
68            var MonthIn=0;
69            var DateIn=0;
70            var now = new Date();
71            var yearnow=now.getYear();
72            var monthnow=now.getMonth();
73            var datenow=now.getDate();
74
75            
76            for(i=0;i<13;i++) {
77                    if(i==0)
78                            YearIn+=parseInt(Number.charAt(i))*10
79                    if(i==1)
80                            YearIn+=parseInt(Number.charAt(i))
81                    if(i==2)
82                            MonthIn+=parseInt(Number.charAt(i))*10
83                    if(i==3)
84                            MonthIn+=parseInt(Number.charAt(i))
85                    if(i==4)
86                            DateIn+=parseInt(Number.charAt(i))*10
87                    if(i==5)
88                            DateIn+=parseInt(Number.charAt(i))
89                    if(i<6)
90                            Sum+=parseInt(Number.charAt(i))*(i+2)
91                    if(i>6&&i<9)
92                            Sum+=parseInt(Number.charAt(i))*(i+1)
93                    if(i>8)
94                            Sum+=parseInt(Number.charAt(i))*(i-7)
95            }
96            Mod=11-(Sum%11);
97            if((11-(Sum%11))>=10) Mod-=10
98            if(Mod!=parseInt(Number.charAt(13))) {
99                    alert("입력하신 주민등록번호는 정상적인 번호가 아닙니다!")
100                    return false
101            }
102            if(MonthIn < 1 || MonthIn > 12 || DateIn < 1 || DateIn > 31) {
103                    alert("입력하신 주민등록번호는 정상적인 번호가 아닙니다!")
104                    return false;
105					}
106            if((MonthIn ==4 || MonthIn == 6 || MonthIn == 9 || MonthIn == 11 ) && DateIn > 30) {
107                    alert("입력하신 주민등록번호는 정상적인 번호가 아닙니다!")
108                    return false;
109					}
110            if(MonthIn ==2 && DateIn > 29) {
111                    alert("입력하신 주민등록번호는 정상적인 번호가 아닙니다!")
112                    return false;
113            }
114		return true;
115}
116
117function CheckPayment(form){		
118   	if(form.gid[0].checked){
119    	var  paydiv = document.all['payzone']; 
120  		paydiv.style.display="";
121   	}else {
122   		hide_paymethod();
123	}
124}
125function hide_paymethod() {
126	var hidepay = document.all['payzone'];   
127	hidepay.style.display="none";
128}
129
130function CheckMode(form){
131   	if(form.paymode[1].checked){
132    	var  paybank = document.all['bankzone']; 
133  		paybank.style.display="";
134//		form.tmprice[2].disabled = false;
135   	}else if(form.paymode[0].checked){
136//		form.tmprice[1].checked = true;
137//		form.tmprice[2].disabled = true;
138   		hide_bank();
139	}
140}
141
142function hide_bank() {
143	var hidebank = document.all['bankzone'];   
144	hidebank.style.display="none";
145}
146
147function chk_dongil(form) {
148	if (form.dInfo.checked) {
149		form.banksender.value =  form.buyername.value;
150	}else{
151		form.banksender.value = "";
152   	}     
153}
154
155// checkbox, 라디오버튼 갯수 체크
156function OptionCount(form, option_name){
157	var this_count=0;
158	for(i=0;i<form.elements.length;++i){
159		if(form.elements[i].name==option_name&&form.elements[i].checked) {
160			this_count++;
161		}
162	}
163	return this_count;
164
165}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.