PageSourceSearch

https://m.thankqcamping.com/js/cs.js?version=20260914-1

js thankqcamping.com collected 2026-09-24 12:07:07 UTC 19,962 bytes, 796 lines download raw bytes

1
2	//베너 이동
3	function actBnPop(bid) {
4		goUrl("/cs/event_view.hbb?brd_id="+bid,"Y","pop")
5	}
6	
7	function actBn(bid) {
8		goUrl("/cs/event_view.hbb?brd_id="+bid,"Y","pop")
9	}
10	
11	//캠핑장푸시광고
12	function actCampEvent(seq) {
13		//bodyFreezeScroll();
14	  if ($("#Lmnu").attr("class").indexOf("in") < 0) $("#Lmnu").modal("toggle");
15		$("#Lmnu").html('<div class="modal-dialog"><div class="modal-content"><div id="spinner_pop"></div></div></div>');
16		//$("#spinner_pop").show();
17		
18		$.ajax({
19			type: "POST",
20	    url: "/inc/incCampEventCont.hbb",
21	    data:{seq:seq},
22	    async: false,
23	    success: onSuccess,
24	    error: onError
25		});
26		function onSuccess(dataobj) {
27			//$("#spinner_pop").hide();
28			$("#Lmnu").html(dataobj);
29			$("#Lmnu").animate({scrollTop: 0},500);
30	  }
31	  function onError() {}   
32	}
33
34
35	//베너 이동
36	function actNotice(bid) {
37		
38		//bodyFreezeScroll();
39	  if ($("#Lmnu").attr("class").indexOf("in") < 0) $("#Lmnu").modal("toggle");
40		$("#Lmnu").html('<div class="modal-dialog"><div class="modal-content"><div id="spinner_pop"></div></div></div>');
41		//$("#spinner_pop").show();
42		
43		$.ajax({
44			type: "POST",
45	    url: "/inc/incNoticeCont.hbb",
46	    data:{brd_id:bid},
47	    async: false,
48	    success: onSuccess,
49	    error: onError
50		});
51		function onSuccess(dataobj) {
52			//$("#spinner_pop").hide();
53			$("#Lmnu").html(dataobj);
54			$("#Lmnu").animate({scrollTop: 0},500);
55	  }
56	  function onError() {}   
57	}
58	
59	//배너 팝업
60	function actBnPopLink(bid) {
61		$.ajax({
62			type: "POST",
63	    url: "/inc/axBnLink.hbb",
64	    data:{brd_id:bid},
65	    success: onSuccess,
66	    error: onError
67		});
68		function onSuccess(dataobj) {
69			if(dataobj!='') {
70				if(app_yn=='Y' && app_os=='android') {
71					outOpen(dataobj)
72				} else
73				if(app_yn=='Y' && app_os=='ios') {
74					goIosAp('openBrowser',dataobj)
75				} else {
76					winOpen(dataobj,1,'팝업차단기능이 설정되어 있습니다.\n차단해제후 다시 이용하시기 바랍니다.');
77				}
78			}
79	  }
80	  function onError() {}   
81	}
82
83	//배너 팝업
84	function actBnLink(bid) {
85		$.ajax({
86			type: "POST",
87	    url: "/inc/axBnLink.hbb",
88	    data:{brd_id:bid},
89	    success: onSuccess,
90	    error: onError
91		});
92		function onSuccess(dataobj) {
93			if(dataobj!='') {
94				goUrl(dataobj,"N","pop")
95			}
96	  }
97	  function onError() {}   
98	}
99	
100	//베너 덧글
101	function actTag(tcnt) {
102		var frm = document.tagForm;
103		if (ckItemTxt(frm.comment,"덧글을 입력해 주십시오.")== false) return;
104		$.ajax({
105			type: "POST",
106	    url: "/inc/incBnContTagOk.hbb",
107	    data:{tbl_id:frm.tbl_id.value,brd_id:frm.brd_id.value,comment:frm.comment.value,tcnt:tcnt},
108	    success: onSuccess,
109	    error: onError
110		});
111		function onSuccess(dataobj) {
112			frm.comment.value = '';
113			$("#tag").append(dataobj);
114			$("#tag").show();
115			$('#modal-dialog').css('padding-bottom','0px'); 
116			
117	  }
118	  function onError() {}   
119	}
120	
121	//베너 덧글삭제
122	function delTag(tid) {
123		var frm = document.tagForm;
124		$.ajax({
125			type: "POST",
126	    url: "/inc/incBnContTagDelOk.hbb",
127	    data:{tbl_id:frm.tbl_id.value,brd_id:frm.brd_id.value,tag_id:tid},
128	    success: onSuccess,
129	    error: onError
130		});
131		function onSuccess(dataobj) {
132			$("#tag").html(dataobj);
133	  }
134	  function onError() {}   
135	}
136	
137	//베너 덧글 로그인
138	function tagLogin() {
139		alert("로그인 후 이용바랍니다.")
140		popLogin();		
141	}
142	
143//댓글쓰기
144function clkTag2(tp,tbl_id,bid,tid,grp,stp,loc) {
145	if(tp.indexOf('DEL') == -1 ) {
146		$.ajax({
147			type: "POST",
148	    url: "/cs/cs_tag.hbb",
149	    data:{tp:tp,tbl_id:tbl_id,brd_id:bid,tag_id:tid,grp:grp,stp:stp,loc:loc},
150	    async: false,
151	    success: onSuccess,
152	    error: onError
153		});
154		function onSuccess(dataobj) {
155			$('#pop_reply').html(dataobj);
156			openFc('pop_reply')
157	  }
158	  function onError() {}
159	} else {
160		if(confirm('삭제하시겠습니까?')) {
161			$.ajax({
162				type: "POST",
163		    url: "/cs/cs_tag_ok.hbb",
164		    data:{tp:tp,tbl_id:tbl_id,brd_id:bid,tag_id:tid},
165		    async: false,
166		    success: onSuccess,
167		    error: onError
168			});
169			function onSuccess(dataobj) {
170				var txt = dataobj.split('$')[0]
171				var cnt = dataobj.split('$')[1]
172				if(txt=='Y') {
173					if(tp=="DEL") {
174						$('#divTag_'+tid).remove();
175					} else
176					if(tp=="REDEL") {
177						$('#divTagReOri_'+tid).remove();
178					}
179					$('#reply_cnt').html(cnt)
180				} else {
181					alert('삭제에 실패하였습니다.')
182				}
183		  }
184		  function onError() {}		
185		}
186	}
187}
188
189//댓글쓰기
190function savTag2() {
191	var frm = document.form
192	//frm.action = "/talk/ax_tag2_ok.hbb"
193	//frm.submit()
194	if(frm.msg.value=='') {
195		alert('댓글을 입력해 주십시오.');
196	} else
197	if(frm.msg.value.length < 10) {
198		alert('10자이상 입력해 주십시오.');
199	} else {
200		var param = $('form[name="form"]').serialize();
201		$.ajax({
202			type: "POST",
203	    url: "/cs/cs_tag_ok.hbb",
204	    data:param,
205	    async: false,
206	    success: onSuccess,
207	    error: onError
208		});
209		function onSuccess(dataobj) {
210			if(frm.tp.value=="ADD") {
211				var txt = dataobj.split('$')[0]
212				var cnt = parseInt(dataobj.split('$')[1])
213				$('#re_list').prepend(txt);
214				$('#reply_cnt').html(cnt)
215				if(cnt > 0) {
216					$('#tagList').show()
217				} else {
218					$('#tagList').hide()
219				}
220			} else
221			if(frm.tp.value=="MOD") {
222				$('#divTagOri_'+frm.tag_id.value).html(dataobj);
223			} else
224			if(frm.tp.value=="REP") {
225				var txt = dataobj.split('$')[0]
226				var cnt = parseInt(dataobj.split('$')[1])
227				$('#divTagRe_'+frm.tag_id.value).append(txt);
228				$('#reply_cnt').html(cnt)
229				if(cnt > 0) {
230					$('#tagList').show()
231				} else {
232					$('#tagList').hide()
233				}
234			} else
235			if(frm.tp.value=="REMOD") {
236				$('#divTagReOri_'+frm.tag_id.value).html(dataobj);
237			} else
238			if(frm.tp.value=="REREP") {
239				var txt = dataobj.split('$')[0]
240				var cnt = parseInt(dataobj.split('$')[1])
241				$('#divTagRe_'+frm.tag_oid.value).append(txt);
242				$('#reply_cnt').html(cnt)
243				if(cnt > 0) {
244					$('#tagList').show()
245				} else {
246					$('#tagList').hide()
247				}
248			} else
249			if(frm.tp.value=="LIST") {
250				var txt = dataobj.split('$')[0]
251				var cnt = dataobj.split('$')[1]
252				$('#spnTagCnt_'+frm.brd_id.value).html(cnt)
253			}
254			$('#pop_reply').html('');
255			closeFc('pop_reply')
256	  }
257	  function onError() {}
258		
259	}
260}
261
262//추천
263function actReco(tbl_id,id) {
264	var frm = document.form;
265	$.ajax({
266		type: "POST",
267    url: "/cs/ax_reco_ok.hbb",
268    data:{tbl_id:tbl_id, brd_id:id},
269    success: onSuccess,
270    error: onError
271	});
272	function onSuccess(dataobj) {
273		reco_yn 	= dataobj.split('$')[0];
274		reco_cnt 	= dataobj.split('$')[1];
275		if(reco_yn=='Y') {
276			$(".reco").addClass("on");
277		} else {
278			$(".reco").removeClass("on");
279		}
280		$("#spnRecoCnt").html(reco_cnt);		
281  }
282  function onError() {}   
283}
284
285//공지사항
286function goNoticeList(pg) {
287	location.replace("notice.hbb?page_num="+pg)
288}
289
290//공지사항
291function goQnaList(pg) {
292	location.replace("qna.hbb?page_num="+pg)
293}
294
295//글쓰기
296function goQnaAdd(bbs_gb) {
297	var add_url = "qna_write.hbb"
298	add_url += "?bbs_gb=" + bbs_gb
299	if(app_yn=='Y') {
300		if (app_os == "android" && parseInt(app_ver) < 49) {
301			goUrl("/cs/"+add_url,"Y","talk")
302		} else {
303			goUrl("/cs/"+add_url,"Y","pop")
304		}
305	} else {
306		goUrl("/cs/"+add_url,"Y","pop")
307	}
308}
309
310//문의등록
311function SavQnaAdd() {
312	var frm = document.form
313	var ok_ment = frm.ok_ment.value
314	frm.target = "self"
315	if (frm.bbs_subcode.value!='' && frm.bbs_cd.value=='') {
316		alert("구분을 선택해 주세요.")
317		return;
318	} else		
319	if (frm.title.value=="") {
320		alert("제목을 입력해 주세요.")
321		frm.title.focus();
322		return;
323	} else
324	var w_tp = frm.w_tp.value	
325	//var content_cnt = (w_tp=='2') ? $("#imgTxt").children().size() : frm.content.length;
326	var content_cnt = (w_tp=='2') ? $("#imgTxt").children().size() : $("#content").val().length;
327	
328	if (content_cnt==0) {
329		alert("등록할 내용을 작성해 주세요.")
330		frm.content.focus();
331	} else {
332		$("#BtnAdd").hide();	
333		$("#BtnAddIng").show();	
334		if (w_tp=='2') {
335			$("span").remove()
336			frm.content.value = $("#imgTxt").html();
337		}
338		for(i=1;i<frm.filelist.length;i++) {
339	     frm.filelist.options[i].selected = true;
340	  }
341		var param = $('form[name="form"]').serialize();
342		$.ajax({
343			type: "POST",
344	    url: "/talk/write_ok.hbb",
345	    data:param,
346	    success: onSuccess,
347	    error: onError
348		});
349		function onSuccess(dataobj) {	
350			console.log(dataobj);
351			if (dataobj=="Y") {
352				alert("등록되었습니다.\n"+ok_ment)
353				//if(app_yn=='Y') {
354				//	appPopReloadAp()
355				//} else {
356					self.close();
357					opener.location.reload()
358				//}
359			} else {
360				alert("등록되지 않았습니다.")
361			}
362	  }
363	  function onError(request,status,error) {
364		console.log("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);		
365	  }
366	}	
367}
368
369//문의등록
370function SavQnaAdd2() {
371	var frm = document.form
372	frm.target = "self"
373	if (frm.bbs_cd.value=="") {
374		alert("구분을 선택해 주세요.")
375		return;
376	} else
377	if (frm.title.value=="") {
378		alert("제목을 입력해 주세요.")
379		return;
380	} else
381	if (frm.content.value=="") {
382		alert("등록할 내용을 작성해 주세요.")
383	} else {
384		$("#BtnAdd").hide();	
385		$("#BtnAddIng").show();	
386		for(i=1;i<frm.filelist.length;i++) {
387	     frm.filelist.options[i].selected = true;
388	  }
389		var param = $('form[name="form"]').serialize();
390		$.ajax({
391			type: "POST",
392	    url: "/talk/write_ok.hbb",
393	    data:param,
394	    success: onSuccess,
395	    error: onError
396		});
397		function onSuccess(dataobj) {	
398			if (dataobj=="Y") {
399				alert("등록되었습니다.")
400				//if(app_yn=='Y') {
401				//	appPopReloadAp()
402				//} else {
403					self.close();
404					opener.location.reload()
405				//}
406			} else {
407				alert("등록되지 않았습니다.")
408			}
409	  }
410	  function onError() {}
411	}	
412}
413
414//캠톡수정
415function SavQnaMod() {
416	var frm = document.form
417	frm.target = "self"
418	var w_tp = frm.w_tp.value
419	var content_cnt = (w_tp=='2') ? $("#imgTxt").children().size() : frm.content.value.length;
420	if (content_cnt==0) {
421		alert("등록할 내용을 작성해 주세요.")
422	} else {
423		$("#BtnAdd").hide();	
424		$("#BtnAddIng").show();	
425		if (w_tp=='2') {
426			$("span").remove()
427			frm.content.value = $("#imgTxt").html();
428		}
429		for(i=1;i<frm.filelist.length;i++) {
430	     frm.filelist.options[i].selected = true;
431	  }
432		var param = $('form[name="form"]').serialize();
433		$.ajax({
434			type: "POST",
435	    url: "/talk/modify_ok.hbb",
436	    data:param,
437	    success: onSuccess,
438	    error: onError
439		});
440		function onSuccess(dataobj) {	
441			if (dataobj=="Y") {
442				alert("수정되었습니다.")
443				//if(app_yn=='Y') {
444				//	appPopReloadAp()
445				//} else {
446					self.close();
447					opener.location.reload()
448				//}
449			} else {
450				alert("수정되지 않았습니다.")
451			}
452	  }
453	  function onError() {}
454	}
455}
456
457//기획전보기
458function clkCollView(tp,seq,loc) {
459	//location.href = "/cs/collect_view.hbb?seq="+seq
460	if(tp=='C') {
461		goUrl("/cs/collect_cview.hbb?seq="+seq,"Y","pop2")
462	} else {
463		goUrl("/cs/collect_view.hbb?seq="+seq,"Y","pop2")
464	}
465}
466
467//메인페이지 기획전 아이팀 클릭시
468function goMainCollCs(cseq,csseq,seq,pr_yn,st) {
469	$.ajax({
470		type: "POST",
471    url: "/cs/axCollectPr.hbb",
472    data:{cseq:cseq, csseq:csseq, campseq:seq, pr_yn:pr_yn, status:st, main_yn : 'Y'},
473    success: onSuccess,
474    error: onError
475	});	
476	function onSuccess(dataobj) {
477		clkCampView(seq);
478  }
479  function onError() {
480		clkCampView(seq);
481	}	
482}
483
484//기획전 아이팀 클릭
485function goCollCs(tp,csseq,seq,pr_yn,st) {
486	if(tp=='C'||tp=='E') {
487		$.ajax({
488			type: "POST",
489	    url: "/cs/axCollectPr.hbb",
490	    data:{csseq:csseq, campseq:seq, pr_yn:pr_yn, status:st },
491	    success: onSuccess,
492	    error: onError
493		});	
494		function onSuccess(dataobj) {
495			//clkCampView(seq);
496			clkNewView(seq,'')
497	  }
498	  function onError() {
499			clkCampView(seq);
500		}	
501	} else {
502		clkGoodView(seq);
503	}
504}
505
506//기획전 아이팀 클릭
507function goCollCsSubLink(tp,csseq,seq,pr_yn,st,surl) {
508	if(tp=='C'||tp=='E') {
509		$.ajax({
510			type: "POST",
511	    url: "/cs/axCollectPr.hbb",
512	    data:{csseq:csseq, campseq:seq, pr_yn:pr_yn, status:st},
513	    success: onSuccess,
514	    error: onError
515		});	
516		function onSuccess(dataobj) {
517			goUrl(surl,'Y','pop3') //pop3
518	  }
519	  function onError() {
520			goUrl(surl,'Y','pop3') //pop3
521		}	
522	} else {
523		goUrl(surl,'Y','pop3') //pop3
524	}
525}
526
527//리뷰보기
528function clkReView(seq,loc) {
529	goUrl("/cs/review.hbb?seq="+seq,"Y","pop"+loc)
530}
531
532//캠핑장정보오류 글쓰기
533function goQnaAdd2(bbs_gb,campseq,pop_loc) {
534	var add_url = (parseInt(app_ver)>=23 || app_yn!='Y') ? "qna_write_v2.hbb" : "qna_write.hbb"
535	add_url += "?bbs_gb=" + bbs_gb + '&campseq=' + campseq
536	if(app_yn=='Y') {
537		if (app_os == "android" && parseInt(app_ver) < 49) {
538			goUrl("/cs/"+add_url,"Y","talk")
539		} else {
540			goUrl("/cs/"+add_url,"Y",pop_loc)
541		}
542	} else {
543		goUrl("/cs/"+add_url,"Y",pop_loc)
544	}
545}
546
547//캠퍼가 등록한 사진 등록
548function SavCamperPicAdd() {
549	var frm = document.form
550	frm.target = "self"
551	if (frm.bbs_cd.value=="") {
552		alert("카테고리를 선택해 주세요.")
553		return;
554	} else
555	if (frm.p_img.value=="") {
556		alert("사진을 등록해 주세요.")
557	//} else
558	//if (frm.content.value=="") {
559	//	alert("등록할 내용을 작성해 주세요.")
560	} else {
561		$("#BtnAdd").hide();	
562		$("#BtnAddIng").show();	
563		for(i=1;i<frm.filelist.length;i++) {
564	     frm.filelist.options[i].selected = true;
565	  }
566		var param = $('form[name="form"]').serialize();
567		$.ajax({
568			type: "POST",
569	    url: "/talk/write_ok.hbb",
570	    data:param,
571	    success: onSuccess,
572	    error: onError
573		});
574		function onSuccess(dataobj) {	
575			if (dataobj=="Y") {
576				alert("등록되었습니다.")
577				//if(app_yn=='Y') {
578				//	appPopReloadAp()
579				//} else {
580					self.close();
581					opener.location.reload()
582				//}
583			} else {
584				alert("등록되지 않았습니다.")
585			}
586	  }
587	  function onError() {}
588	}		
589}
590
591//사진삭제
592function photoExDel() {
593	if (confirm("이미지를 삭제하시겠습니까?")) {
594		var frm = document.form
595		var fimg = frm.p_file.value
596		frm.p_img.value = ""
597		frm.p_file.value = ""
598		$(".btn_img").html('<span class="sprite image"></span>');
599		$(".del").hide()
600		photoDelAp(fimg)
601	}
602}
603
604//배송지 등록하기
605function goDlivAddr(gb,cd,tp,tit,ment) {
606	location.replace("/cs/dliv_addr.hbb?dliv_gb="+gb+"&dliv_cd="+cd+"&dliv_tp="+tp+"&title="+tit+"&ment="+ment)
607}
608
609//댓글 가져오기
610function goTagList(tid,bid,cnt,pg,psize) {
611	$.ajax({
612		type: "POST",
613	  url: "/cs/ax_tag.hbb",
614	  data:{tbl_id:tid, brd_id:bid, tag_cnt:cnt, page_num:pg, pagesize:psize},
615	  success: onSuccess,
616	  error: onError
617	});
618	function onSuccess(dataobj) {	
619	//	if(pg==1) {
620			$('#div_tag_list').html(dataobj)
621	//	} else {
622			
623	//	}
624	}
625	function onError() {}
626}
627
628//내댓글 가져오기
629function goMyTag(tid,bid,cnt,pg,psize) {
630	$.ajax({
631		type: "POST",
632	  url: "/cs/ax_tag.hbb",
633	  data:{tbl_id:tid, brd_id:bid, tag_cnt:cnt, page_num:pg, pagesize:psize,my_yn:'Y'},
634	  success: onSuccess,
635	  error: onError
636	});
637	function onSuccess(dataobj) {	
638	//	if(pg==1) {
639			$('#div_tag_list').html(dataobj)
640	//	} else {
641			
642	//	}
643	}
644	function onError() {}	
645}
646
647//글삭제
648function goQnaDel(id) {
649	var frm = document.form
650	if (confirm("게시글을 삭제하시겠습니까?")) {
651		$.ajax({
652			type: "POST",
653	    url: "/talk/del_ok.hbb",
654	    data:{bbs_id:id},
655	    success: onSuccess,
656	    error: onError
657		});
658		function onSuccess(dataobj) {
659			if (dataobj=='Y') {
660				//if(app_yn=='Y') {
661				//	appPopReloadAp()
662				//} else {
663					self.close();
664					opener.location.reload()
665				//}
666			} else {
667				alert('삭제에 실패하였습니다.');
668			}
669	  }
670	  function onError() {}	
671	}
672}
673
674//글수정
675function goQnaMod(id,tp,pop_loc) {
676	//location.replace("/cs/qna_modify.hbb?bbs_id="+id)
677	goUrl("/cs/qna_modify.hbb?bbs_id="+id,"Y","talk") 
678}
679
680//상품보기
681function goGoodView(gid) {
682	//goShopUrl('/shop/view.hbb?gid='+gid,'Y','order')
683	location.href = '/shop/view.hbb?gid='+gid
684}
685
686//응모하기
687function clkDrawApp(tbl_id,seq,qualify,dt) {
688	//open("/cs/ax_draw_add.hbb?tbl_id="+tbl_id+"&brd_id="+seq+"&qualify="+qualify,"","")
689	if(app_yn=='Y') {
690		$.ajax({
691			type: "POST",
692	    url: "/cs/ax_draw_add.hbb",
693	    data:{tbl_id:tbl_id,brd_id:seq,qualify:qualify,draw_dt:dt},
694	    success: onSuccess,
695	    error: onError
696		});
697		function onSuccess(dataobj) {
698			if (dataobj.split('$')[0]=='Y') {
699				action_popup.alert('응모 되었습니다.')
700				$("#DrawCnt").html(dataobj.split('$')[1])
701			} else
702			if (dataobj.split('$')[0]=='B') {
703				action_popup.alert('이벤트 방문후기 미작성으로 응모 제한되었습니다.<br>(후기 작성 시 응모 가능하며, 3개월이 지나면 무기한 참가 제한됩니다.)')
704			} else
705			if (dataobj.split('$')[0]=='D') {
706				action_popup.alert('이미 응모되어 있습니다.')
707			} else
708			if (dataobj.split('$')[0]=='R') {
709				action_popup.alert(dataobj.split('$')[1]+'의 응모자격이 되지 않아 응모하실수 없습니다.')
710			} else {
711				action_popup.alert('응모에 실패하였습니다.');
712			}
713	  }
714	  function onError() {}	
715	} else {
716		action_popup.alert('앱을 통해서만 응모가 가능합니다.')
717	}	
718}
719
720//신청자격체크
721function chkQualify(tbl_id,org_tbl_id,brd_id) {
722	$.ajax({
723		type: "POST",
724    url: "/cs/ax_qualify_chk.hbb",
725    data:{tbl_id:tbl_id,brd_id:brd_id},
726    success: onSuccess,
727    error: onError
728	});
729	function onSuccess(dataobj) {
730		if (dataobj.split('$')[0]=='Y') {
731			clkTag2('ADD',org_tbl_id,brd_id,'','','','')
732		} else {
733			action_popup.alert(dataobj.split('$')[1]+'의 조건이 되지 않아 참여하실 수 없습니다.')
734		}
735  }
736  function onError() { return false }		
737}
738
739//건의등록
740function SavSuggestAdd() {
741	var frm = document.form
742	var ok_ment = frm.ok_ment.value
743	frm.target = "self"
744	if (frm.bbs_subcode.value!='' && frm.bbs_cd.value=='') {
745		alert("구분을 선택해 주세요.")
746		return;
747	} else		
748	if (frm.title.value=="") {
749		alert("제목을 입력해 주세요.")
750		frm.title.focus();
751		return;
752	} else
753	var w_tp = frm.w_tp.value	
754	//var content_cnt = (w_tp=='2') ? $("#imgTxt").children().size() : frm.content.length;
755	var content_cnt = (w_tp=='2') ? $("#imgTxt").children().size() : $("#content").val().length;
756	
757	if (content_cnt==0) {
758		alert("등록할 내용을 작성해 주세요.")
759		frm.content.focus();
760	} else {
761		$("#BtnAdd").hide();	
762		$("#BtnAddIng").show();	
763		if (w_tp=='2') {
764			$("span").remove()
765			frm.content.value = $("#imgTxt").html();
766		}
767		for(i=1;i<frm.filelist.length;i++) {
768	     frm.filelist.options[i].selected = true;
769	  }
770		var param = $('form[name="form"]').serialize();
771		$.ajax({
772			type: "POST",
773	    url: "/talk/write_ok.hbb",
774	    data:param,
775	    success: onSuccess,
776	    error: onError
777		});
778		function onSuccess(dataobj) {	
779			console.log(dataobj);
780			if (dataobj=="Y") {
781				alert("등록되었습니다.\n"+ok_ment)
782				//if(app_yn=='Y') {
783				//	appPopReloadAp()
784				//} else {
785					self.close();
786					opener.location.reload()
787				//}
788			} else {
789				alert("등록되지 않았습니다.")
790			}
791	  }
792	  function onError(request,status,error) {
793		console.log("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);		
794	  }
795	}	
796}

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.