PageSourceSearch

https://neochair.co.kr/ind-script/optimizer_user.php?filename=jdA9…f7840a5be28dd1a1bab6cb7&t=1689924226&user=T

js neochair.co.kr collected 2026-10-08 20:34:41 UTC 39,125 bytes, 917 lines download raw bytes

vendor: 4,422 bytes, lines 1-122
1$(document).ready(function(){
2    if(!location.href.includes('ecudemo')){
3        if ($('.snsArea li.displaynone').length + $('.snsArea li.dp_sample').length  == $('.snsArea li').length){
4            $('.snsArea').addClass('displaynone');
5        }
6    }
7});
8/*
9 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
10 *
11 * Uses the built in easing capabilities added In jQuery 1.1
12 * to offer multiple easing options
13 *
14 * TERMS OF USE - jQuery Easing
15 *
16 * Open source under the BSD License.
17 *
18 * Copyright 짤 2008 George McGinley Smith
19 * All rights reserved.
20 *
21 * Redistribution and use in source and binary forms, with or without modification,
22 * are permitted provided that the following conditions are met:
23 *
24 * Redistributions of source code must retain the above copyright notice, this list of
25 * conditions and the following disclaimer.
26 * Redistributions in binary form must reproduce the above copyright notice, this list
27 * of conditions and the following disclaimer in the documentation and/or other materials
28 * provided with the distribution.
29 *
30 * Neither the name of the author nor the names of contributors may be used to endorse
31 * or promote products derived from this software without specific prior written permission.
32 *
33 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
34 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
35 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
36 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
37 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
38 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
39 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
40 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
41 * OF THE POSSIBILITY OF SUCH DAMAGE.
42 *
43*/
44
45// t: current time, b: begInnIng value, c: change In value, d: duration
46jQuery.easing['jswing'] = jQuery.easing['swing'];
47
48jQuery.extend( jQuery.easing,
49{
50	def: 'easeOutQuad',
51	swing: function (x, t, b, c, d) {
52		//alert(jQuery.easing.default);
53		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
54	},
55	easeInQuad: function (x, t, b, c, d) {
56		return c*(t/=d)*t + b;
57	},
58	easeOutQuad: function (x, t, b, c, d) {
59		return -c *(t/=d)*(t-2) + b;
60	},
61	easeInOutQuad: function (x, t, b, c, d) {
62		if ((t/=d/2) < 1) return c/2*t*t + b;
63		return -c/2 * ((--t)*(t-2) - 1) + b;
64	},
65	easeInCubic: function (x, t, b, c, d) {
66		return c*(t/=d)*t*t + b;
67	},
68	easeOutCubic: function (x, t, b, c, d) {
69		return c*((t=t/d-1)*t*t + 1) + b;
70	},
71	easeInOutCubic: function (x, t, b, c, d) {
72		if ((t/=d/2) < 1) return c/2*t*t*t + b;
73		return c/2*((t-=2)*t*t + 2) + b;
74	},
75	easeInQuart: function (x, t, b, c, d) {
76		return c*(t/=d)*t*t*t + b;
77	},
78	easeOutQuart: function (x, t, b, c, d) {
79		return -c * ((t=t/d-1)*t*t*t - 1) + b;
80	},
81	easeInOutQuart: function (x, t, b, c, d) {
82		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
83		return -c/2 * ((t-=2)*t*t*t - 2) + b;
84	},
85	easeInQuint: function (x, t, b, c, d) {
86		return c*(t/=d)*t*t*t*t + b;
87	},
88	easeOutQuint: function (x, t, b, c, d) {
89		return c*((t=t/d-1)*t*t*t*t + 1) + b;
90	},
91	easeInOutQuint: function (x, t, b, c, d) {
92		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
93		return c/2*((t-=2)*t*t*t*t + 2) + b;
94	},
95	easeInSine: function (x, t, b, c, d) {
96		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
97	},
98	easeOutSine: function (x, t, b, c, d) {
99		return c * Math.sin(t/d * (Math.PI/2)) + b;
100	},
101	easeInOutSine: function (x, t, b, c, d) {
102		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
103	},
104	easeInExpo: function (x, t, b, c, d) {
105		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
106	},
107	easeOutExpo: function (x, t, b, c, d) {
108		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
109	},
110	easeInOutExpo: function (x, t, b, c, d) {
111		if (t==0) return b;
112		if (t==d) return b+c;
113		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
114		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
115	},
116	easeInCirc: function (x, t, b, c, d) {
117		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
118	},
119	easeOutCirc: function (x, t, b, c, d) {
120		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
121	},
122	easeInOutCirc: function (x, t, b, c, d) {
vendor: 5,405 bytes, lines 123-221
123		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
124		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
125	},
126	easeInElastic: function (x, t, b, c, d) {
127		var s=1.70158;var p=0;var a=c;
128		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
129		if (a < Math.abs(c)) { a=c; var s=p/4; }
130		else var s = p/(2*Math.PI) * Math.asin (c/a);
131		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
132	},
133	easeOutElastic: function (x, t, b, c, d) {
134		var s=1.70158;var p=0;var a=c;
135		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
136		if (a < Math.abs(c)) { a=c; var s=p/4; }
137		else var s = p/(2*Math.PI) * Math.asin (c/a);
138		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
139	},
140	easeInOutElastic: function (x, t, b, c, d) {
141		var s=1.70158;var p=0;var a=c;
142		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
143		if (a < Math.abs(c)) { a=c; var s=p/4; }
144		else var s = p/(2*Math.PI) * Math.asin (c/a);
145		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
146		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
147	},
148	easeInBack: function (x, t, b, c, d, s) {
149		if (s == undefined) s = 1.70158;
150		return c*(t/=d)*t*((s+1)*t - s) + b;
151	},
152	easeOutBack: function (x, t, b, c, d, s) {
153		if (s == undefined) s = 1.70158;
154		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
155	},
156	easeInOutBack: function (x, t, b, c, d, s) {
157		if (s == undefined) s = 1.70158;
158		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
159		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
160	},
161	easeInBounce: function (x, t, b, c, d) {
162		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
163	},
164	easeOutBounce: function (x, t, b, c, d) {
165		if ((t/=d) < (1/2.75)) {
166			return c*(7.5625*t*t) + b;
167		} else if (t < (2/2.75)) {
168			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
169		} else if (t < (2.5/2.75)) {
170			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
171		} else {
172			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
173		}
174	},
175	easeInOutBounce: function (x, t, b, c, d) {
176		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
177		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
178	}
179});
180
181/*
182 *
183 * TERMS OF USE - EASING EQUATIONS
184 *
185 * Open source under the BSD License.
186 *
187 * Copyright 짤 2001 Robert Penner
188 * All rights reserved.
189 *
190 * Redistribution and use in source and binary forms, with or without modification,
191 * are permitted provided that the following conditions are met:
192 *
193 * Redistributions of source code must retain the above copyright notice, this list of
194 * conditions and the following disclaimer.
195 * Redistributions in binary form must reproduce the above copyright notice, this list
196 * of conditions and the following disclaimer in the documentation and/or other materials
197 * provided with the distribution.
198 *
199 * Neither the name of the author nor the names of contributors may be used to endorse
200 * or promote products derived from this software without specific prior written permission.
201 *
202 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
203 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
204 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
205 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
206 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
207 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
208 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
209 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
210 * OF THE POSSIBILITY OF SUCH DAMAGE.
211 *
212 */
213/**
214* 카테고리자동생성
215* 제작 : 웹퍼블릭(http://webpublic.co.kr)
216* 버전 : 2.4
217* 최종업데이트 : 2018.06.08
218* 디자인퍼블릭에서 개발된 플러그인으로 무단 복제/사용 하실 수 없습니다
219* 주석제거 시 플러그인을 사용하실 수 없습니다.
220*/
221var _0x615b=["\x23\x63\x61\x74\x65\x67\x6F\x72\x79","\x2E\x63\x61\x74\x65\x2D\x6C\x69\x73\x74","\x65\x78\x74\x65\x6E\x64","\x69\x73\x4D\x61\x6B\x65\x43\x61\x74\x65\x4D\x65\x6E\x75","\x63\x61\x74\x65\x4D\x65\x6E\x75\x54\x61\x72\x67\x65\x74","\x69\x73\x4D\x61\x6B\x65\x41\x6C\x6C\x43\x61\x74\x65","\x61\x6C\x6C\x43\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x2F\x65\x78\x65\x63\x2F\x66\x72\x6F\x6E\x74\x2F\x50\x72\x6F\x64\x75\x63\x74\x2F\x53\x75\x62\x43\x61\x74\x65\x67\x6F\x72\x79","\x6A\x73\x6F\x6E","\x6A\x64\x61\x74\x61","\x61\x6A\x61\x78","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6D\x61\x6B\x65\x43\x61\x74\x65\x4D\x65\x6E\x75\x48\x74\x6D\x6C","\x6D\x61\x6B\x65\x41\x6C\x6C\x43\x61\x74\x65\x48\x74\x6D\x6C","\x68\x69\x64\x65\x5F\x63\x61\x74\x65\x5F\x6E\x6F","\x64\x61\x74\x61\x2D\x70\x61\x72\x61\x6D","\x61\x74\x74\x72","\x63\x61\x74\x65\x5F\x6E\x6F","\x67\x65\x74\x51\x75\x65\x72\x79\x53\x74\x72\x69\x6E\x67\x55\x72\x6C","\x6D\x61\x6B\x65\x43\x61\x74\x65\x4D\x65\x6E\x75\x43\x68\x69\x6C\x64\x4C\x69\x73\x74","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x27\x63\x6F\x6E\x74\x73\x27\x3E","\x3C\x2F\x64\x69\x76\x3E","\x61\x70\x70\x65\x6E\x64","\x2E\x62\x6F\x78","\x66\x69\x6E\x64","\x6
2215\x61\x63\x68","\x64\x6C","\x64\x61\x74\x61\x2D\x6D\x61\x6E\x75\x61\x6C","\x6F\x6E","\x72\x65\x6D\x6F\x76\x65","\x2E\x73\x75\x62\x2D\x63\x61\x74\x65\x67\x6F\x72\x79","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x73\x75\x62\x2D\x6C\x65\x66\x74\x22\x3E","\x70\x72\x65\x70\x65\x6E\x64","\x6C\x69","\x63\x68\x69\x6C\x64\x72\x65\x6E","","\x69\x73\x43\x68\x69\x6C\x64\x72\x65\x6E\x43\x61\x74\x65","\x3C\x75\x6C\x20\x63\x6C\x61\x73\x73\x3D\x27\x73\x75\x62\x30\x32\x20\x73\x75\x62\x30\x32\x5F","\x27\x3E","\x70\x61\x72\x65\x6E\x74\x5F\x63\x61\x74\x65\x5F\x6E\x6F","\x61\x72\x72\x6F\x77","\x3C\x6C\x69\x20\x63\x6C\x61\x73\x73\x3D\x22\x63\x61\x74\x65\x5F\x6E\x6F\x5F","\x20","\x22\x3E\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x2F","\x64\x65\x73\x69\x67\x6E\x5F\x70\x61\x67\x65\x5F\x75\x72\x6C","\x3F\x63\x61\x74\x65\x5F\x6E\x6F\x3D","\x22\x3E","\x6E\x61\x6D\x65","\x3C\x2F\x61\x3E","\x3C\x75\x6C\x20\x63\x6C\x61\x73\x73\x3D\x27\x73\x75\x62\x30\x33\x20\x73\x75\x62\x30\x33\x5F","\x3C\x75\x6C\x20\x63\x6C\x61\x73\x73\x3D\x27\x73\x75\x62\x30\x34\x20\x73\x75\x62\x30\x34\x5F","\x3C\x2F\x61\x3E\x3C\x2F\x6C\x69\x3E","\x3C\x2F\x75\x6C\x3E","\x3C\x2F\x6C\x69\x3E","\x3F","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x26","\x73\x70\x6C\x69\x74","\x6C\x65\x6E\x67\x74\x68","\x3D","\x70\x61\x67\x65"];var _self=null;var makeCateList=function(_0xaf5ex3){_self= this;var _0xaf5ex4={isMakeCateMenu:true,cateMenuTarget:_0x615b[0],isMakeAllCate:true,allCateTarget:_0x615b[1]};var _0xaf5ex5=jQuery[_0x615b[2]](_0xaf5ex4,_0xaf5ex3);this[_0x615b[3]]= _0xaf5ex5[_0x615b[3]];this[_0x615b[4]]= _0xaf5ex5[_0x615b[4]];this[_0x615b[5]]= _0xaf5ex5[_0x615b[5]];this[_0x615b[6]]= _0xaf5ex5[_0x615b[6]];$[_0x615b[10]]({url:_0x615b[7],cache:false,dataType:_0x615b[8],timeout:10000,async:false,beforeSend:function(){},error:function(_0xaf5ex6,_0xaf5ex7,_0xaf5ex8){return},success:function(_0xaf5ex9){_self[_0x615b[9]]= _0xaf5ex9}});this[_0x615b[11]]()};makeCateList[_0x615b[12]][_0x615b[11]]= function(){if(_self[_0x615b[3]]){this[_0x615b[13]]()};if(_self[_0x615b[5]]){this[_0x615b[14]]()}};makeCateList[_0x615b[12]][_0x615b[14]]= function(){var _0xaf5exa=this[_0x615b[9]];var _0xaf5exb=this[_0x615b[15]];var _0xaf5exc;$(this[_0x615b[6]])[_0x615b[25]](_0x615b[27])[_0x615b[26]](function(_0xaf5exd){var _0xaf5exe=$(this);var _0xaf5exf=_self[_0x615b[19]](_0xaf5exe[_0x615b[17]](_0x615b[16]),_0x615b[18]);if(!_0xaf5exf){return};_0xaf5exc= _self[_0x615b[20]](_0xaf5exf);if(!_0xaf5exc){return};var _0xaf5ex10=_0x615b[21]+ _0xaf5exc+ _0x615b[22];_0xaf5exe[_0x615b[25]](_0x615b[24])[_0x615b[23]](_0xaf5ex10)})};makeCateList[_0x615b[12]][_0x615b[13]]= function(){var _0xaf5exa=this[_0x615b[9]];var _0xaf5exb=this[_0x615b[15]];var _0xaf5exc;$(this[_0x615b[4]])[_0x615b[35]](_0x615b[34])[_0x615b[26]](function(_0xaf5exd){var _0xaf5exe=$(this);var _0xaf5exf=_self[_0x615b[19]](_0xaf5exe[_0x615b[17]](_0x615b[16]),_0x615b[18]);if(!_0xaf5exf){return};_0xaf5exc= _self[_0x615b[20]](_0xaf5exf);var _0xaf5ex11=_0xaf5exe[_0x615b[17]](_0x615b[28]);if(!_0xaf5exc&& _0xaf5ex11!= _0x615b[29]){_0xaf5exe[_0x615b[25]](_0x615b[31])[_0x615b[30]]();return};_0xaf5exe[_0x615b[25]](_0x615b[31])[_0x615b[33]](_0x615b[32]+ _0xaf5exc+ _0x615b[22])})};makeCateList[_0x615b[12]][_0x615b[20]]= function(_0xaf5ex12){var _0xaf5ex13=_0x615b[36];var _0xaf5exa=_self[_0x615b[9]];if(_self[_0x615b[37]](_0xaf5ex12)){_0xaf5ex13+= _0x615b[38]+ _0xaf5ex12+ _0x615b[39];$(_0xaf5exa)[_0x615b[26]](function(_0xaf5ex14){if(_0xaf5exa[_0xaf5ex14][_0x615b[40]]== _0xaf5ex12){var _0xaf5ex15=false;var _0xaf5ex16=_0x615b[36];if(_self[_0x615b[37]](_0xaf5exa[_0xaf5ex14][_0x615b[18]])){_0xaf5ex15= true;_0xaf5ex16= _0x615b[41]};_0xaf5ex13+= _0x615b[42]+ _0xaf5exa[_0xaf5ex14][_0x615b[18]]+ _0x615b[43]+ _0xaf5ex16+ _0x615b[44]+ _0xaf5exa[_0xaf5ex14][_0x615b[45]]+ _0x615b[46]+ _0xaf5exa[_0xaf5ex14][_0x615b[18]]+ _0x615b[47]+ _0xaf5exa[_0xaf5ex14][_0x615b[48]]+ _0x615b[49];if(_0xaf5ex15){_0xaf5ex13+= _0x615b[50]+ _0xaf5exa[_0xaf5ex14][_0x615b[18]]+ _0x615b[39];$(_0xaf5exa)[_0x615b[26]](function(_0xaf5ex17){if(_0xaf5exa[_0xaf5ex17][_0x615b[40]]== _0xaf5exa[_0xaf5ex14][_0x615b[18]]){var _0xaf5ex18=false;var _0xaf5ex19=_0x615b[36];if(_self[_0x615b[37]](_0xaf5exa[_0xaf5ex17][_0x615b[18]])){_0xaf5ex18= true;_0xaf5ex19= _0x615b[41]};_0xaf5ex13+= _0x615b[42]+ _0xaf5exa[_0xaf5ex17][_0x615b[18]]+ _0x615b[43]+ _0xaf5ex19+ _0x615b[44]+ _0xaf5exa[_0xaf5ex14][_0x615b[45]]+ _0x615b[46]+ _0xaf5exa[_0xaf5ex17][_0x615b[18]]+ _0x615b[47]+ _0xaf5exa[_0xaf5ex17][_0x615b[48]]+ _0x615b[49];if(_0xaf5ex18){_0xaf5ex13+= _0x615b[51]+ _0xaf5exa[_0xaf5ex17][_0x615b[18]]+ _0x615b[39];$(_0xaf5exa)[_0x615b[26]](function(_0xaf5ex1a){if(_0xaf5exa[_0xaf5ex1a][_0x615b[40]]== _0xaf5exa[_0xaf5ex17][_0x615b[18]]){_0xaf5ex13+= _0x615b[42]+ _0xaf5exa[_0xaf5ex1a][_0x615b[18]]+ _0x615b[44]+ _0xaf5exa[_0xaf5ex14][_0x615b[45]]+ _0x615b[46]+ _0xaf5exa[_0xaf5ex1a][_0x615b[18]]+ _0x615b[47]+ _0xaf5exa[_0xaf5ex1a][_0x615b[48]]+ _0x615b[52]}});_0xaf5ex13+= _0x615b[53]};_0xaf5ex13+= _0x615b[54]}});_0xaf5ex13+= _0x615b[53]};_0xaf5ex13+= _0x615b[54]}});_0xaf5ex13+= _0x615b[53];return _0xaf5ex13}};makeCateList[_0x615b[12]][_0x615b[37]]= function(_0xaf5ex1b){var _0xaf5exa=_self[_0x615b[9]];var _0xaf5ex1c=false;$(_0xaf5exa)[_0x615b[26]](function(_0xaf5ex14){if(_0xaf5exa[_0xaf5ex14][_0x615b[40]]== _0xaf5ex1b){_0xaf5ex1c= true}});return _0xaf5ex1c};makeCateList[_0x615b[12]][_0x615b[19]]= function(_0xaf5ex1d,_0xaf5ex1e){if(!_0xaf5ex1d){return};var _0xaf5ex1f=_0xaf5ex1d[_0x615b[57]](_0xaf5ex1d[_0x615b[56]](_0x615b[55])+ 1);var _0xaf5ex20={};if(_0xaf5ex1f){var _0xaf5ex21=_0xaf5ex1f[_0x615b[59]](_0x615b[58]);var _0xaf5ex22=[];for(var _0xaf5ex14=0;_0xaf5ex14< _0xaf5ex21[_0x615b[60]];_0xaf5ex14++){_0xaf5ex22= _0xaf5ex21[_0xaf5ex14][_0x615b[59]](_0x615b[61]);_0xaf5ex20[_0xaf5ex22[0]]= _0xaf5ex22[1]}};_0xaf5ex20[_0x615b[62]]= _0xaf5ex20[_0x615b[62]]?_0xaf5ex20[_0x615b[62]]:1;return _0xaf5ex1e?_0xaf5ex20[_0xaf5ex1e]:_0xaf5ex20};
222var wpMakeCate = new makeCateList({cateMenuTarget:'#category > ul', isMakeAllCate : false});
223
224
225    if (!String.prototype.includes) {
226        String.prototype.includes = function(search, start) {
227            'use strict';
228
229            if (search instanceof RegExp) {
230                throw TypeError('first argument must not be a RegExp');
231            }
232            if (start === undefined) { start = 0; }
233            return this.indexOf(search, start) !== -1;
234        };
235    }
236/**
237 * WEBPULIC COMMON SCRIPT
238*/
239
240$(window).scroll(function(){
241	var scrollTop = parseInt($(this).scrollTop());
242
243	if (!$('#prdDetail').length > 0)
244	{
245		var innerTop = $('#header .cate-wrap').offset().top;
246		if (scrollTop > innerTop){
247			if (!$('#header').hasClass('fixed')) {
248				$('#header').addClass('fixed');
249				var logoWidth = $('#header .cate-wrap .logo-img img').width();
250				$('#header .cate-wrap .logo-img').css('marginRight',50);
251				$('#header .cate-wrap .logo-img').animate({
252					width:logoWidth,
253					}, 300,
254				function(){
255					$('#header .cate-wrap .logo-img').css('visibility','visible').animate({
256						opacity:1,
257					}, 600);
258				});
259			}
260		}else{
261			if ($('#header').hasClass('fixed')) {
262				$('#header').removeClass('fixed');
263				$('#header .cate-wrap .logo-img').stop().css({
264					width : 0,
265					marginRight : 0,
266					opacity:0,
267					visibility:'hidden',
268				});
269			}
270		}
271	}
272});
273
274$(document).ready(function(){
275
276	copyright();
277    
278    // 검색창 자동완성 끄기
279    $('#keyword').attr('autocomplete','off');
280
281	// 리뷰 그리드 설정
282	if (isReviewGridPage()){
283		if (readCookie('gridTypePC')){
284			$('.gridType dd').each(function(){
285				$(this).removeClass('selected');
286			});
287			$('.gridType dd').each(function(){
288				if ($(this).hasClass('g'+readCookie('gridTypePC'))){
289					$(this).addClass('selected');
290				}
291			});
292
293			var target = $('.gridType').data('target');
294			var grids = ['grid0', 'grid1', 'grid2', 'grid3', 'grid4'];
295			$(target).removeClass(grids.join(' '));
296			$(target).addClass('grid'+readCookie('gridTypePC'));
297		}
298	}
299
300	// 카테고리 경로 재설정
301	$('.cate-override a').each(function(){
302		var _self = $(this);
303		var cateNo = getQueryStringUrl('cate_no',$(this).attr('href'));
304
305		if (cateNo){
306			$.each(setLink,function(i,v){
307				if (parseInt(cateNo) == parseInt(i)){
308					_self.attr('href',v);
309				}
310			});
311		}
312	});
313
314	// 리뷰 경로 재설정
315	$('.boardlink a').each(function(){
316		var href = $(this).attr('href');
317		if (href.indexOf('?') > -1){
318			if (getQueryStringUrl('board_no',href) == '4'){
319				$(this).attr('href', href.replace('/product/', '/review/'));
320			}
321		}else{
322
323		}
324	})
325});
326
327/************************************************************************************************************/
328
329function copyright() {
330	if($("body").size) {
331		if($("body").attr("id") == "popup") { return ; }
332		style = 'padding:5px 10px; font-family:Verdana; font-size:11px; background:#eee; color: #555; border-radius:5px;font-style:italic';
333		console.log('%c ** DESIGNED BY WEBPUBLIC (https://webpublic.co.kr) **', style);
334	}
335}
336
337function getQueryStringUrl(paramName, url) {
338	if (url){
339		var sURL = url;
340	}else{
341		var sURL = window.document.URL.toString();
342	}
343
344	if (sURL.indexOf("?") > 0)
345	{
346		var arrParams = sURL.split("?");
347		var arrURLParams = arrParams[1].split("&");
348		var arrParamNames = new Array(arrURLParams.length);
349		var arrParamValues = new Array(arrURLParams.length);
350		var i = 0;
351
352		for (i=0;i<arrURLParams.length;i++)
353		{
354			var sParam =  arrURLParams[i].split("=");
355			arrParamNames[i] = sParam[0];
356			if (sParam[1] != "")
357				arrParamValues[i] = unescape(sParam[1]);
358			else
359				arrParamValues[i] = "No Value";
360		}
361
362		for (i=0;i<arrURLParams.length;i++)
363		{
364			if(arrParamNames[i] == paramName){
365				return arrParamValues[i];
366			 }
367		}
368
369		return null;
370	}
371};
372
373function createCookie(name, value, days) {
374	var expires;
375
376	if (days) {
377		var date = new Date();
378		date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
379		expires = "; expires=" + date.toGMTString();
380	} else {
381		expires = "";
382	}
383	document.cookie = escape(name) + "=" + escape(value) + expires + "; path=/";
384}
385
386function readCookie(name) {
387	var nameEQ = escape(name) + "=";
388	var ca = document.cookie.split(';');
389	for (var i = 0; i < ca.length; i++) {
390		var c = ca[i];
391		while (c.charAt(0) === ' ') c = c.substring(1, c.length);
392		if (c.indexOf(nameEQ) === 0) return unescape(c.substring(nameEQ.length, c.length));
393	}
394	return null;
395}
396
397function eraseCookie(name) {
398	createCookie(name, "", -1);
399}
400
401// 할인율
402var discountRate = function(t, name){
403	if (!t) t = '';
404	if (!name) name = '.discount_rate';
405	$(t + ' .custom').each(function(){
406		var price = $(this).text().replace(/[^0-9]/g,'');
407		price = parseFloat(price);
408
409		if (price > 0) $(this).show();
410	});
411
412	$(t + ' ' + name).each(function(){
413		var custom_price = parseInt($(this).attr('data-prod-custom').replace(/[^0-9]/g,''));
414		var prod_price = parseInt($(this).attr('data-prod-price').replace(/[^0-9]/g,''));
415
416		var rate = 0;
417		if (!isNaN(custom_price) && !isNaN(prod_price)) {
418			rate = Math.round((custom_price - prod_price) / custom_price * 100);
419		}
420		$(this).text(rate + '');
421
422		var $ds = $(this);
423
424		$(this).parent().find('.spec li').each(function(){
425			if ( $(this).find('.title span').text().trim() == '판매가' ){
426				$(this).append($ds);
427			}
428		});
429		if (rate <= 0 || isNaN(rate)){
430			$(this).hide();
431		}else{
432			$(this).show();
433		}
434	});
435}
436
437function pageScroll(d){
438	if($('html, body').is(':animated')){return};
439
440	if (d == 'up') {
441		$('html, body').stop().animate({scrollTop:0}, 'slow');
442	} else if (d == 'down') {
443		var btmTop = $(document).height() - $(window).height();
444		$('html, body').stop().animate({scrollTop:btmTop}, 'slow');
445	}
446}
447// select wrapping
448//$('select').wrap('<div class="selectbox"></div>');
449
450
451// 상세페이지, 리뷰목록 체크
452function isReviewGridPage(){
453	if ($('meta[name="path_role"]').attr('content') == 'PRODUCT_DETAIL'
454		|| location.pathname.indexOf('/review/list') > -1){
455		return true;
456	}else{
457		return false;
458	}
459}
460
461
462jQuery11(document).on('click','.gridType dd a',function(){
463    var li = $(this).parent();
464	var item = li.siblings();
465	var target = $(this).closest('dl').data('target');
466
467	if (target){
468		if ($(target).length == 0) return;
469	}else{
470		return;
471	}
472
473	$(item).each(function(){
474		$(this).removeClass('selected');
475	});
476
477	li.addClass('selected');
478
479	var $prdList = $(target);
480	var grids = ['grid0', 'grid1', 'grid2', 'grid3', 'grid4'];
481
482	$prdList.removeClass(grids.join(' '));
483
484	if (li.hasClass('g0')){
485		$prdList.addClass(grids[0]);
486        if (isReviewGridPage()) createCookie('gridTypePC', 0);
487	}
488
489	if (li.hasClass('g1')){
490		$prdList.addClass(grids[1]);
491        if (isReviewGridPage()) createCookie('gridTypePC', 1);
492	}
493
494	if (li.hasClass('g2')){
495		$prdList.addClass(grids[2]);
496        if (isReviewGridPage()) createCookie('gridTypePC', 2);
497	}
498
499	if (li.hasClass('g3')){
500		$prdList.addClass(grids[3]);
501        if (isReviewGridPage()) createCookie('gridTypePC', 3);
502	}
503
504	if (li.hasClass('g4')){
505		$prdList.addClass(grids[4]);
506        if (isReviewGridPage()) createCookie('gridTypePC', 4);
507	}
508});
509
510
511/**
512* 상단 배너 플러그인
513* 제작 : 웹퍼블릭(http://webpublic.co.kr)
514* 버전 : 2.0
515* 최종업데이트 : 2020.10.20
516* 디자인퍼블릭에서 개발된 플러그인으로 무단 복제/사용 하실 수 없습니다
517* 주석제거 시 플러그인을 사용하실 수 없습니다.
518*/
519$(document).ready(function(){
520    var tbanner = new Swiper('#tbanner',{
521        direction: 'vertical',
522        speed: 500,
523        autoplay : {
524            delay:4500,
525            disableOnInteraction: false,
526        },
527        loop:true,
528        grabCursor: true,
529    });
530});
531
532$(document).ready(function(){
533    // 사이드 버튼 스크롤에 방향에 따른 show / hide
534    var hideLimit = 150;
535
536    $(window).scroll(function(){
537        hasScrolled();
538    });
539
540    function hasScrolled() {
541        var st = $(window).scrollTop();
542        if (st > hideLimit){
543            $('.side_bnr_wrap').addClass('active');
544        } else {
545            $('.side_bnr_wrap').removeClass('active');
546        }
547    }
548
549    hasScrolled();
550});
551
552
553
554$(document).ready(function(){
555    setTimeout(function(){
556        $('#wrapper').removeClass('loading').css({
557        	visibility:'visible',
558            opacity:1,
559        });
560        $('.mul13').addClass('inactive');
561    },400);
562    
563    jQuery11(document).on('transitionend','.mul13',function(){
564        jQuery11(this).remove();
565    });
566});
567/**
568 * 움직이는 배너 Jquery Plug-in
569 * @author  cafe24
570 */
571
572(function($){
573
574    $.fn.floatBanner = function(options) {
575        options = $.extend({}, $.fn.floatBanner.defaults , options);
576
577        return this.each(function() {
578            var aPosition = $(this).position();
579            var jbOffset = $(this).offset();
580            var node = this;
581
582            $(window).scroll(function() {
583                var _top = $(document).scrollTop();
584                _top = (aPosition.top < _top) ? _top : aPosition.top;
585
586                setTimeout(function () {
587                    var newinit = $(document).scrollTop();
588
589                    if ( newinit > jbOffset.top ) {
590                        _top -= jbOffset.top;
591                        var container_height = $("#wrap").height();
592                        var quick_height = $(node).height();
593                        var cul = container_height - quick_height;
594                        if(_top > cul){
595                            _top = cul;
596                        }
597                    }else {
598                        _top = 0;
599                    }
600
601                    $(node).stop().animate({top: _top}, options.animate);
602                }, options.delay);
603            });
604        });
605    };
606
607    $.fn.floatBanner.defaults = {
608        'animate'  : 500,
609        'delay'    : 500
610    };
611
612})(jQuery);
613
614/**
615 * 문서 구동후 시작
616 */
617$(document).ready(function(){
618    $('#banner:visible, #quick:visible').floatBanner();
619
620    //placeholder
621    $(".ePlaceholder input, .ePlaceholder textarea").each(function(i){
622        var placeholderName = $(this).parents().attr('title');
623        $(this).attr("placeholder", placeholderName);
624    });
625    /* placeholder ie8, ie9 */
626    $.fn.extend({
627        placeholder : function() {
628            //IE 8 버전에는 hasPlaceholderSupport() 값이 false를 리턴
629           if (hasPlaceholderSupport() === true) {
630                return this;
631            }
632            //hasPlaceholderSupport() 값이 false 일 경우 아래 코드를 실행
633            return this.each(function(){
634                var findThis = $(this);
635                var sPlaceholder = findThis.attr('placeholder');
636                if ( ! sPlaceholder) {
637                   return;
638                }
639                findThis.wrap('<label class="ePlaceholder" />');
640                var sDisplayPlaceHolder = $(this).val() ? ' style="display:none;"' : '';
641                findThis.before('<span' + sDisplayPlaceHolder + '>' + sPlaceholder + '</span>');
642                this.onpropertychange = function(e){
643                    e = event || e;
644                    if (e.propertyName == 'value') {
645                        $(this).trigger('focusout');
646                    }
647                };
648                //공통 class
649                var agent = navigator.userAgent.toLowerCase();
650                if (agent.indexOf("msie") != -1) {
651                    $(".ePlaceholder").css({"position":"relative"});
652                    $(".ePlaceholder span").css({"position":"absolute", "padding":"0 4px", "color":"#878787"});
653                    $(".ePlaceholder label").css({"padding":"0"});
654                }
655            });
656        }
657    });
658
659    $(':input[placeholder]').placeholder(); //placeholder() 함수를 호출
660
661    //클릭하면 placeholder 숨김
662    $('body').delegate('.ePlaceholder span', 'click', function(){
663        $(this).hide();
664    });
665
666    //input창 포커스 인 일때 placeholder 숨김
667    $('body').delegate('.ePlaceholder :input', 'focusin', function(){
668        $(this).prev('span').hide();
669    });
670
671    //input창 포커스 아웃 일때 value 가 true 이면 숨김, false 이면 보여짐
672    $('body').delegate('.ePlaceholder :input', 'focusout', function(){
673        if (this.value) {
674            $(this).prev('span').hide();
675        } else {
676            $(this).prev('span').show();
677        }
678    });
679
680    //input에 placeholder가 지원이 되면 true를 안되면 false를 리턴값으로 던져줌
681    function hasPlaceholderSupport() {
682        if ('placeholder' in document.createElement('input')) {
683            return true;
684        } else {
685            return false;
686        }
687    }
688});
689
690/**
691 *  썸네일 이미지 엑박일경우 기본값 설정
692 */
693$(window).load(function() {
694    $("img.thumb,img.ThumbImage,img.BigImage").each(function($i,$item){
695        var $img = new Image();
696        $img.onerror = function () {
697                $item.src="//img.echosting.cafe24.com/thumb/img_product_big.gif";
698        }
699        $img.src = this.src;
700    });
701});
702
703/**
704 *  tooltip
705 */
706$('.eTooltip').each(function(i){
707    $(this).find('.btnClose').attr('tabIndex','-1');
708});
709//tooltip input focus
710$('.eTooltip').find('input').focus(function() {
711    var targetName = returnTagetName(this);
712    targetName.siblings('.ec-base-tooltip').show();
713});
714$('.eTooltip').find('input').focusout(function() {
715    var targetName = returnTagetName(this);
716    targetName.siblings('.ec-base-tooltip').hide();
717});
718function returnTagetName(_this){
719    var ePlacename = $(_this).parent().attr("class");
720    var targetName;
721    if(ePlacename == "ePlaceholder"){ //ePlaceholder 대응
722        targetName = $(_this).parents();
723    }else{
724        targetName = $(_this);
725    }
726    return targetName;
727}
728
729/**
730 *  eTab
731 */
732 $("body").delegate(".eTab a", "click", function(e){
733    // 클릭한 li 에 selected 클래스 추가, 기존 li에 있는 selected 클래스는 삭제.
734    var _li = $(this).parent("li").addClass("selected").siblings().removeClass("selected"),
735    _target = $(this).attr("href"),
736    _siblings = $(_target).attr("class"),
737    _arr = _siblings.split(" "),
738    _classSiblings = "."+_arr[0];
739
740    //클릭한 탭에 해당하는 요소는 활성화, 기존 요소는 비활성화 함.
741    $(_target).show().siblings(_classSiblings).hide();
742
743
744    //preventDefault 는 a 태그 처럼 클릭 이벤트 외에 별도의 브라우저 행동을 막기 위해 사용됨.
745    e.preventDefault();
746});
747
748
749
750//window popup script
751function winPop(url) {
752    window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no");
753}
754/**
755 * document.location.href split
756 * return array Param
757 */
758function getQueryString(sKey)
759{
760    var sQueryString = document.location.search.substring(1);
761    var aParam       = {};
762
763    if (sQueryString) {
764        var aFields = sQueryString.split("&");
765        var aField  = [];
766        for (var i=0; i<aFields.length; i++) {
767            aField = aFields[i].split('=');
768            aParam[aField[0]] = aField[1];
769        }
770    }
771
772    aParam.page = aParam.page ? aParam.page : 1;
773    return sKey ? aParam[sKey] : aParam;
774};
775
776$(document).ready(function(){
777    // tab
778    $.eTab = function(ul){
779        $(ul).find('a').click(function(){
780            var _li = $(this).parent('li').addClass('selected').siblings().removeClass('selected'),
781                _target = $(this).attr('href'),
782                _siblings = '.' + $(_target).attr('class');
783            $(_target).show().siblings(_siblings).hide();
784            return false
785        });
786    }
787    if ( window.call_eTab ) {
788        call_eTab();
789    };
790});
791(function($){
792$.fn.extend({
793    center: function() {
794        this.each(function() {
795            var
796                $this = $(this),
797                $w = $(window);
798            $this.css({
799                position: "absolute",
800                top: ~~(($w.height() - $this.outerHeight()) / 2) + $w.scrollTop() + "px",
801                left: ~~(($w.width() - $this.outerWidth()) / 2) + $w.scrollLeft() + "px"
802            });
803        });
804        return this;
805    }
806});
807$(function() {
808    var $container = function(){/*
809<div id="modalContainer">
810    <iframe id="modalContent" scroll="0" scrolling="no" frameBorder="0"></iframe>
811</div>');
812*/}.toString().slice(14,-3);
813    $('body')
814    .append($('<div id="modalBackpanel"></div>'))
815    .append($($container));
816    function closeModal () {
817        $('#modalContainer').hide();
818        $('#modalBackpanel').hide();
819    }
820    $('#modalBackpanel').click(closeModal);
821    zoom = function ($piProductNo, $piCategoryNo, $piDisplayGroup) {
822        var $url = '/product/image_zoom.html?product_no=' + $piProductNo + '&cate_no=' + $piCategoryNo + '&display_group=' + $piDisplayGroup;
823        $('#modalContent').attr('src', $url);
824        $('#modalContent').bind("load",function(){
825            $(".header .close",this.contentWindow.document.body).bind("click", closeModal);
826        });
827        $('#modalBackpanel').css({width:$("body").width(),height:$("body").height(),opacity:.4}).show();
828        $('#modalContainer').center().show();
829    }
830});
831})(jQuery);
832$(document).ready(function(){
833    if (typeof(EC_SHOP_MULTISHOP_SHIPPING) != "undefined") {
834        var sShippingCountryCode4Cookie = 'shippingCountryCode';
835        var bShippingCountryProc = false;
836
837        // 배송국가 선택 설정이 사용안함이면 숨김
838        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) {
839            $('.xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist').hide();
840            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptioncountry').hide();
841        } else {
842            $('.thumb .xans-layout-multishoplistitem').hide();
843            var aShippingCountryCode = document.cookie.match('(^|;) ?'+sShippingCountryCode4Cookie+'=([^;]*)(;|$)');
844            if (typeof(aShippingCountryCode) != 'undefined' && aShippingCountryCode != null && aShippingCountryCode.length > 2) {
845                var sShippingCountryValue = aShippingCountryCode[2];
846            }
847
848            // query string으로 넘어 온 배송국가 값이 있다면, 그 값을 적용함
849            var aHrefCountryValue = decodeURIComponent(location.href).split("/?country=");
850
851            if (aHrefCountryValue.length == 2) {
852                var sShippingCountryValue = aHrefCountryValue[1];
853            }
854
855            // 메인 페이지에서 국가선택을 안한 경우, 그 외의 페이지에서 셋팅된 값이 안 나오는 현상 처리
856            if (location.href.split("/").length != 4 && $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()) {
857                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
858
859                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
860                    $("#f_country").val($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
861                }
862            }
863            if (typeof(sShippingCountryValue) != "undefined" && sShippingCountryValue != "" && sShippingCountryValue != null) {
864                sShippingCountryValue = sShippingCountryValue.split("#")[0];
865                var bShippingCountryProc = true;
866
867                $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
868                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
869                var expires = new Date();
870                expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
871                document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
872                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
873                    $("#f_country").val(sShippingCountryValue).change();;
874                }
875            }
876        }
877        // 언어선택 설정이 사용안함이면 숨김
878        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingLanguageSelection === false) {
879            $('.xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist').hide();
880            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptionlanguage').hide();
881        } else {
882            $('.thumb .xans-layout-multishoplistitem').hide();
883        }
884
885        // 배송국가 및 언어 설정이 둘 다 사용안함이면 숨김
886        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShipping === false) {
887            $(".xans-layout-multishopshipping").hide();
888            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption').hide();
889        } else if (bShippingCountryProc === false && location.href.split("/").length == 4) { // 배송국가 값을 처리한 적이 없고, 메인화면일 때만 선택 레이어를 띄움
890            var sShippingCountryValue = $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val();
891            $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
892            $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
893            // 배송국가 선택을 사용해야 레이어를 보이게 함
894            if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === true) {
895                $(".xans-layout-multishopshipping").show();
896            }
897        }
898
899        $(".xans-layout-multishopshipping .close").bind("click", function() {
900            $(".xans-layout-multishopshipping").hide();
901        });
902
903        $(".xans-layout-multishopshipping .ec-base-button a").bind("click", function() {
904            var expires = new Date();
905            expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
906            document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
907
908            // 도메인 문제로 쿠키로 배송국가 설정이 안 되는 경우를 위해 query string으로 배송국가 값
908을 넘김
909            var sQuerySting = (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) ? "" : "/?country="+encodeURIComponent($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
910
911            location.href = '//'+$(".xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist").val()+sQuerySting;
912        });
913        $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a").bind("click", function() {
914            $(".xans-layout-multishopshipping").show();
915        });
916    }
917});

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.