PageSourceSearch

https://ssfoodmall.com/ind-script/optimizer_user.php?filename=jZFB…c671e5d85dec3e98b49413a&t=1767947646&user=T

js ssfoodmall.com collected 2026-10-06 14:02:53 UTC 28,261 bytes, 641 lines download raw bytes

1$(function(){ 
2    if($(".menuCategory > li").length==0){
3         $(".menuCategory").hide();
4    };
5});
6/**
7 * 조건별 검색 기능 스크립트
8 */
9$(function()
10{
11    var sParentElement = 'select.SecondSelect';
12    $('select.FirstSelect').on('change', function()
13    {
14        var iGroupNo = $(this).find('option:selected').val();
15        if (iGroupNo > 0) {
16            $.ajax({
17                url : '/product/provider/selectsearch.xml?GroupNo=' + iGroupNo,
18                dataType : 'text',
19                success : function(data){
20                    if ( window.DOMParser ) {
21                        tmp = new DOMParser();
22                        xml = tmp.parseFromString( data , "text/xml" );
23                    } else {
24                        xml = new ActiveXObject( "Microsoft.XMLDOM" );
25                        xml.async = "false";
26                        xml.loadXML( data );
27                    }
28
29                    $(sParentElement).html('');
30                    getOptionElement('','-세부항목선택-').appendTo(sParentElement);
31                    var nodes = $(xml).find('searchkey');
32                    for ( var x = 0 ; x < nodes.length ; x++) {
33                        getOptionElement($(nodes[x]).find('search_value').text(),$(nodes[x]).find('search_value').text()).appendTo(sParentElement);
34                    }
35                }
36            });
37        }
38    });
39    $('a.SelectSearch').on('click', function()
40    {
41        var sGroup = $('select.FirstSelect').val();
42        var sItem = $('select.SecondSelect').val();
43        if (!sGroup) {
44            alert('조건을 선택해 주세요.');
45            return false;
46        }
47        if (!sItem) {
48            alert('세부 항목을 선택해 주세요.');
49            return false;
50        }
51        location.href = document.location.href.split('?')[0].split(document.domain)[1] + '?' + sSSUrl + '&sGroup=' + sGroup + '&sItem=' + sItem;
52    });
53
54    function getOptionElement(sVal, sTitle)
55    {
56        return $("<option value='" + sVal + "'>" + sTitle + "</option>");
57    }
58});
59EC$(function($) {
60	//할인율표기
61	discount();
62	function discount(){
63		//상품목록
64		$('.prdList').each(function(){
65			$(this).find('> li').each(function(){
66				var price1 = String($(this).find('.description').attr('ec-data-custom')).replace(/\,/g, '').replace('원', ''); //소비자가
67				var price2 = String($(this).find('.description').attr('ec-data-price')).replace(/\,/g, '').replace('원', ''); //판매가
68				var price2 = price2.split(' '); //판매가참조화폐 구분
69				if (!isNaN(price1) && !isNaN(price2[0])) {
70					discountRate = Math.round((price1 - price2[0]) / price1 * 100);
71					if(discountRate > 0 && discountRate != 100 && ($(this).find('.ec-sale-rate').length < 1)){
72						$(this).find('.display판매가').append('<div class="ec-sale-rate">'+discountRate+'%</div>');
73					}
74				}
75			});
76		});
77	}
78
79	if($('.xans-product-detaildesign').length){
80		discount2();
81		function discount2(){
82			//상품상세,확대보기(팝업)
83			var price1 = String($('.xans-product-detail #span_product_price_custom').text()).replace(/\,/g, '').replace('원', ''); //소비자가
84			var price2 = String($('.xans-product-detail #span_product_price_text').text()).replace(/\,/g, '').replace('원', ''); //판매가
85			var price2 = price2.split(' '); //판매가참조화폐 구분
86			if (!isNaN(price1) && !isNaN(price2[0])) {
87				discountRate = Math.round((price1 - price2[0]) / price1 * 100);
88				if(discountRate > 0 && discountRate != 100 && ($(this).find('.ec-sale-rate').length < 1)){
89					$('.xans-product-detail #span_product_price_text').append('<span class="ec-sale-rate">'+discountRate+'%</span>');
90				}
91			}
92		}
93	}
94});
95/* 가로 카테고리 스크롤 고정 */
96$(document).ready(function(){
97    var top_btn = $("#menuFix").offset().top;
98    $(window).scroll(function(){
99        if($(window).scrollTop() > top_btn+50) {
100            $('#menuFix').addClass('menuFix_fixed');
101        }
102        else {
103            $('#menuFix').removeClass('menuFix_fixed');
104        }
105    });
106});
107
108/* 카테고리 */
109$(document).ready(function(){
110	//console.log('allcate');
111
112	//category
113	var aCategory = {};
114	function get() {
115		$.ajax({
116			url : '/exec/front/Product/SubCategory',
117			dataType: 'json',
118			success: function(_aCategory) {
119				$(_aCategory).each(function() {
120					if (!aCategory[this.parent_cate_no]) {
121						aCategory[this.parent_cate_no] = [];
122					}
123				aCategory[this.parent_cate_no].push(this);
124			});
125				draw();
126			}
127		});
128	}
129	function draw() {
130		var _iCateNo = 0;
131		var _aTmp    = [];
132		$('#categoryMenu .menu-dp1 > li > a').each(function() {
133			_aTmp = $(this).attr('href').split('?cate_no=');
134			_iCateNo = _aTmp[1];
135			if(!aCategory[_iCateNo]) {
136				return;
137			}
138			var aHtml = [];
139			aHtml.push('<ul class="menu-dp2">');
140			for(var i=0; i<aCategory[_iCateNo].length; i++) {
141				aHtml.push('<li><a href="/product/list.html'+aCategory[_iCateNo][i].param+'">'+aCategory[_iCateNo][i].name+'</a></li>');
142			}
143			aHtml.push('</ul>');
144			$(this).parent('.menu-dp1 > li').append(aHtml.join(''));
145
146			$(this).siblings('.menu-dp2').find(' > li > a').each(function() {
147				_aTmp = $(this).attr('href').split('?cate_no=');
148				_iCateNo = _aTmp[1];
149				if(!aCategory[_iCateNo]) {
150					return;
151				}
152				var aHtml = [];
153				aHtml.push('<ul class="menu-dp3">');
154				for(var i=0; i<aCategory[_iCateNo].length; i++) {
155					aHtml.push('<li><a href="/product/list.html'+aCategory[_iCateNo][i].param+'">'+aCategory[_iCateNo][i].name+'</a></li>');
156				}
157				aHtml.push('</ul>');
158				$(this).parent('li').append(aHtml.join(''));
159
160				$(this).siblings('.menu-dp3').find(' > li > a').each(function() {
161					_aTmp = $(this).attr('href').split('?cate_no=');
162					_iCateNo = _aTmp[1];
163					if(!aCategory[_iCateNo]) {
164						return;
165					}
166					var aHtml = [];
167					aHtml.push('<ul class="menu-dp4">');
168					for(var i=0; i<aCategory[_iCateNo].length; i++) {
169						aHtml.push('<li><a href="/product/list.html'+aCategory[_iCateNo][i].param+'">'+aCategory[_iCateNo][i].name+'</a></li>');
170					}
171					aHtml.push('</ul>');
172					$(this).parent('li').append(aHtml.join(''));
173				});
174			});
175		});
176	}
177	get();
178});
179
180/* 메인슬라이드 재생,정지 */  
181$(document).ready(function(){
182    var slide = 0;
183
184    $('.btns').click(function(){
185        if(slide == 0) {
186            $('.btns').addClass('active');
187            main_swiper.autoplay.stop();
188            slide = 1;
189        } else {
190            $('.btns').removeClass('active');
191            main_swiper.autoplay.start();
192            slide = 0;
193        }
194    });
195});
196
197/* 스크롤시 나타나는 우측 하단버튼 */
198$(document).ready(function(){
199    $(window).scroll(function () {
200        if ($(this).scrollTop() > 10) { 
201            $('.fixed_btn').fadeIn();
202        } else {
203            $('.fixed_btn').fadeOut();
204        }
205    });
206
207    $(".btn.up").click(function(){
208        return $("html, body").animate({scrollTop:0},1200,"easeInOutExpo"),!1});
209
210    $(".btn.down").click(function(){
211        return $("html, body").animate({scrollTop:$(document).height()},1200,"easeInOutExpo"),!1});
212});
213
214jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});
215/*! Respond.js v1.4.2: min/max-width media query polyfill
216 * Copyright 2014 Scott Jehl
217 * Licensed under MIT
218 * http://j.mp/respondjs */
219/**
220 * 움직이는 배너 Jquery Plug-in
221 * @author  cafe24
222 */
223
224(function($){
225
226    $.fn.floatBanner = function(options) {
227        options = $.extend({}, $.fn.floatBanner.defaults , options);
228
229        return this.each(function() {
230            var aPosition = $(this).position();
231            var jbOffset = $(this).offset();
232            var node = this;
233
234            $(window).on('scroll', function() {
235                var _top = $(document).scrollTop() + 120;
236                _top = (aPosition.top < _top) ? _top : aPosition.top;
237
238                setTimeout(function () {
239                    var newinit = $(document).scrollTop();
240
241                    if ( newinit >
241 jbOffset.top ) {
242                        _top -= jbOffset.top;
243                        var container_height = $("#wrap").height();
244                        var quick_height = $(node).height();
245                        var cul = container_height - quick_height;
246                        if(_top > cul){
247                            _top = cul;
248                        }
249                    } else {
250                        _top = 0;
251                    }
252
253                    $(node).stop().animate({top: _top}, options.animate);
254                }, options.delay);
255            });
256        });
257    };
258
259    $.fn.floatBanner.defaults = {
260        'animate'  : 500,
261        'delay'    : 500
262    };
263
264})(jQuery);
265
266/**
267 * 문서 구동후 시작
268 */
269$(function(){
270    $('#banner:visible, #quick:visible').floatBanner();
271
272    //placeholder
273    $(".ePlaceholder input, .ePlaceholder textarea").each(function(i){
274        var placeholderName = $(this).parents().attr('title');
275        $(this).attr("placeholder", placeholderName);
276    });
277    /* placeholder ie8, ie9 */
278    $.fn.extend({
279        placeholder : function() {
280            //IE 8 버전에는 hasPlaceholderSupport() 값이 false를 리턴
281           if (hasPlaceholderSupport() === true) {
282                return this;
283            }
284            //hasPlaceholderSupport() 값이 false 일 경우 아래 코드를 실행
285            return this.each(function(){
286                var findThis = $(this);
287                var sPlaceholder = findThis.attr('placeholder');
288                if ( ! sPlaceholder) {
289                   return;
290                }
291                findThis.wrap('<label class="ePlaceholder" />');
292                var sDisplayPlaceHolder = $(this).val() ? ' style="display:none;"' : '';
293                findThis.before('<span' + sDisplayPlaceHolder + '>' + sPlaceholder + '</span>');
294                this.onpropertychange = function(e){
295                    e = event || e;
296                    if (e.propertyName == 'value') {
297                        $(this).trigger('focusout');
298                    }
299                };
300                //공통 class
301                var agent = navigator.userAgent.toLowerCase();
302                if (agent.indexOf("msie") != -1) {
303                    $(".ePlaceholder").css({"position":"relative"});
304                    $(".ePlaceholder span").css({"position":"absolute", "padding":"0 4px", "color":"#878787"});
305                    $(".ePlaceholder label").css({"padding":"0"});
306                }
307            });
308        }
309    });
310
311    $(':input[placeholder]').placeholder(); //placeholder() 함수를 호출
312
313    //클릭하면 placeholder 숨김
314    $('body').on('click', '.ePlaceholder span', function(){
315        $(this).hide();
316    });
317
318    //input창 포커스 인 일때 placeholder 숨김
319    $('body').on('focusin', '.ePlaceholder :input', function(){
320        $(this).prev('span').hide();
321    });
322
323    //input창 포커스 아웃 일때 value 가 true 이면 숨김, false 이면 보여짐
324    $('body').on('focusout', '.ePlaceholder :input', function(){
325        if (this.value) {
326            $(this).prev('span').hide();
327        } else {
328            $(this).prev('span').show();
329        }
330    });
331
332    //input에 placeholder가 지원이 되면 true를 안되면 false를 리턴값으로 던져줌
333    function hasPlaceholderSupport() {
334        if ('placeholder' in document.createElement('input')) {
335            return true;
336        } else {
337            return false;
338        }
339    }
340});
341
342/**
343 *  썸네일 이미지 엑박일경우 기본값 설정
344 */
345$(window).on('load', function() {
346    $("img.thumb,img.ThumbImage,img.BigImage").each(function($i,$item){
347        var $img = new Image();
348        $img.onerror = function () {
349            $item.src="//img.echosting.cafe24.com/thumb/img_product_big.gif";
350        }
351        $img.src = this.src;
352    });
353});
354
355/**
356 *  tooltip
357 */
358$('.eTooltip').each(function(i){
359    $(this).find('.btnClose').attr('tabIndex','-1');
360});
361//tooltip input focus
362$('.eTooltip').find('input').on('focus', function() {
363    var targetName = returnTagetName(this);
364    targetName.siblings('.ec-base-tooltip').show();
365});
366$('.eTooltip').find('input').on('focusout', function() {
367    var targetName = returnTagetName(this);
368    targetName.siblings('.ec-base-tooltip').hide();
369});
370function returnTagetName(_this){
371    var ePlacename = $(_this).parent().attr("class");
372    var targetName;
373    if(ePlacename == "ePlaceholder"){ //ePlaceholder 대응
374        targetName = $(_this).parents();
375    }else{
376        targetName = $(_this);
377    }
378    return targetName;
379}
380
381/**
382 *  eTab
383 */
384$("body").on("click", ".eTab a", function(e){
385    // 클릭한 li 에 selected 클래스 추가, 기존 li에 있는 selected 클래스는 삭제.
386    var _li = $(this).parent("li").addClass("selected").siblings().removeClass("selected"),
387    _target = $(this).attr("href"),
388    _siblings = $(_target).attr("class"),
389    _arr = _siblings.split(" "),
390    _classSiblings = "."+_arr[0];
391
392    //클릭한 탭에 해당하는 요소는 활성화, 기존 요소는 비활성화 함.
393    $(_target).show().siblings(_classSiblings).hide();
394
395
396    //preventDefault 는 a 태그 처럼 클릭 이벤트 외에 별도의 브라우저 행동을 막기 위해 사용됨.
397    e.preventDefault();
398});
399
400
401
402//window popup script
403function winPop(url) {
404    window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no");
405}
406/**
407 * document.location.href split
408 * return array Param
409 */
410function getQueryString(sKey)
411{
412    var sQueryString = document.location.search.substring(1);
413    var aParam       = {};
414
415    if (sQueryString) {
416        var aFields = sQueryString.split("&");
417        var aField  = [];
418        for (var i=0; i<aFields.length; i++) {
419            aField = aFields[i].split('=');
420            aParam[aField[0]] = aField[1];
421        }
422    }
423
424    aParam.page = aParam.page ? aParam.page : 1;
425    return sKey ? aParam[sKey] : aParam;
426};
427
428$(function(){
429    // tab
430    $.eTab = function(ul){
431        $(ul).find('a').on('click', function(){
432            var _li = $(this).parent('li').addClass('selected').siblings().removeClass('selected'),
433                _target = $(this).attr('href'),
434                _siblings = '.' + $(_target).attr('class');
435            $(_target).show().siblings(_siblings).hide();
436            return false
437        });
438    }
439    if ( window.call_eTab ) {
440        call_eTab();
441    };
442});
443(function($){
444    $.fn.extend({
445        center: function() {
446            this.each(function() {
447                var
448                    $this = $(this),
449                    $w = $(window);
450                $this.css({
451                    position: "absolute",
452                    top: ~~(($w.height() - $this.outerHeight()) / 2) + $w.scrollTop() + "px",
453                    left: ~~(($w.width() - $this.outerWidth()) / 2) + $w.scrollLeft() + "px"
454                });
455            });
456            return this;
457        }
458    });
459    $(function() {
460        var $container = function(){/*
461    <div id="modalContainer">
462        <iframe id="modalContent" scroll="0" scrolling="no" frameBorder="0"></iframe>
463    </div>');
464    */}.toString().slice(14,-3);
465        $('body')
466        .append($('<div id="modalBackpanel"></div>'))
467        .append($($container));
468        function closeModal () {
469            $('#modalContainer').hide();
470            $('#modalBackpanel').hide();
471        }
472        $('#modalBackpanel').on('click',closeModal);
473        zoom = function ($piProductNo, $piCategoryNo, $piDisplayGroup) {
474            var $url = '/product/image_zoom.html?product_no=' + $piProductNo + '&cate_no=' + $piCategoryNo + '&display_group=' + $piDisplayGroup;
475            $('#modalContent').attr('src', $url);
476            $('#modalContent').on("load",function(){
477                $(".header .close",this.contentWindow.document.body).on("click", closeModal);
478            });
479            $('#modalBackpanel').css({width:$("body").width(),height:$("body").height(),opacity:.4}).show();
480            $('#modalContainer').center().show();
481        }
482    });
483})(jQuery);
484$(function(){
485    if (typeof(EC_SHOP_MULTISHOP_SHIPPING) != "undefined") {
486        var sShippingCountryCode4Cookie = 'shippingCountryCode';
487        var bShippingCountryProc = false;
488
489        // 배송국가 선택 설정이 사용안함이면 숨김
490        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) {
491            $('.xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist').hide();
492            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptioncountry').hide();
493        } else {
494            $('.thumb .xans-layout-multishoplistitem').hide();
495            var aShippingCountryCode = document.cookie.match('(^|;) ?'+sShippingCountryCode4Cookie+'=([^;]*)(;|$)');
496            if (typeof(aShippingCountryCode) != 'undefined' && aS
496hippingCountryCode != null && aShippingCountryCode.length > 2) {
497                var sShippingCountryValue = aShippingCountryCode[2];
498            }
499
500            // query string으로 넘어 온 배송국가 값이 있다면, 그 값을 적용함
501            var aHrefCountryValue = decodeURIComponent(location.href).split("/?country=");
502
503            if (aHrefCountryValue.length == 2) {
504                var sShippingCountryValue = aHrefCountryValue[1];
505            }
506
507            // 메인 페이지에서 국가선택을 안한 경우, 그 외의 페이지에서 셋팅된 값이 안 나오는 현상 처리
508            if (location.href.split("/").length != 4 && $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()) {
509                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
510
511                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
512                    $("#f_country").val($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
513                }
514            }
515            if (typeof(sShippingCountryValue) != "undefined" && sShippingCountryValue != "" && sShippingCountryValue != null) {
516                sShippingCountryValue = sShippingCountryValue.split("#")[0];
517                var bShippingCountryProc = true;
518
519                $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
520                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
521                var expires = new Date();
522                expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
523                document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
524                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
525                    $("#f_country").val(sShippingCountryValue).change();
526                }
527            }
528        }
529        // 언어선택 설정이 사용안함이면 숨김
530        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingLanguageSelection === false) {
531            $('.xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist').hide();
532            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptionlanguage').hide();
533        } else {
534            $('.thumb .xans-layout-multishoplistitem').hide();
535        }
536
537        // 배송국가 및 언어 설정이 둘 다 사용안함이면 숨김
538        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShipping === false) {
539            $(".xans-layout-multishopshipping").hide();
540            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption').hide();
541        } else if (bShippingCountryProc === false && location.href.split("/").length == 4) { // 배송국가 값을 처리한 적이 없고, 메인화면일 때만 선택 레이어를 띄움
542            var sShippingCountryValue = $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val();
543            $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
544            $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
545            // 배송국가 선택을 사용해야 레이어를 보이게 함
546            if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === true) {
547                $(".xans-layout-multishopshipping").show();
548            }
549        }
550
551        $(".xans-layout-multishopshipping .close").on("click", function() {
552            $(".xans-layout-multishopshipping").hide();
553        });
554
555        $(".xans-layout-multishopshipping .ec-base-button a").on("click", function() {
556            var expires = new Date();
557            expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
558            document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
559
560            // 도메인 문제로 쿠키로 배송국가 설정이 안 되는 경우를 위해 query string으로 배송국가 값
560을 넘김
561            var sQuerySting = (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) ? "" : "/?country="+encodeURIComponent($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
562
563            location.href = '//'+$(".xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist").val()+sQuerySting;
564        });
565        $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a").on("click", function() {
566            $(".xans-layout-multishopshipping").show();
567        });
568    }
569});
570;
571(function(c) {
572    c.fn.DB_topFloating = function(d) {
573        var a = {
574            checkbox_id: "",
575            layer: "off",
576            openType: "slide",
577            openDelayTime: 500,
578            closeType: "slide",
579            //autoCloseTime: 9999999,
580            slideSpeed: 800,
581            day: 1,
582            bugHeight: 0
583        };
584        c.extend(a, d);
585        return this.each(function() {
586            function d() {
587                b.slideDown(a.slideSpeed)
588            }
589
590            function e() {
591                0 == a.bugHeight ? b.slideUp(a.slideSpeed) : b.animate({
592                    "margin-top": -a.bugHeight
593                }, a.slideSpeed)
594            }
595
596            function f() {
597                g.bind("click", function() {
598                    "slide" == a.closeType ? e() : b.hide();
599                    1 == h.checked && c.cookie("topBanner", "hide", {
600                        path: "/",
601                        expires: a.day
602                    })
603                })
604            }
605            var b = c(this),
606                g = b.find(".top_closeBtn"),
607                h = a.checkbox_id;
608            "on" == a.layer ? b.css({
609                position: "absolute"
610            }) : b.css({
611                position: "relative"
612            });
613            "none" == a.openType && b.show();
614            "hide" == c.cookie("topBanner") ? b.hide() : ("slide" == a.openType && (b.hide(), setTimeout(d, a.openDelayTime)), setTimeout(e/*, a.autoCloseTime*/ + a.openDelayTime), f())
615        })
616    }
617})(jQuery);
618
619$('.topBanner').DB_topFloating({
620    //checkbox_id:document.getElementById('topBanner_check'),       
621    layer:"off",                                                  
622    openType:"none",                                          
623    openDelayTime:300,                                          
624    closeType:"slide",                                           
625    //autoCloseTime: 9999999,                                           
626    slideSpeed:500,                                            
627    day:1,											           
628    bugHeight:0                                                
629});
630
631var navi_swiper = new Swiper('.swiperMenu', {
632    speed: 600,
633    slidesPerView: 'auto',
634    spaceBetween: 0,
635    freeMode: true,
636    centeredSlides: false,
637    watchOverflow: true,
638    navigation: {
639        nextEl: '.swiper-button-next-menu',
640    },        
641});

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.