PageSourceSearch

https://www.yanggu.go.kr/contract/css/web_design/javascript/main.js

js yanggu.go.kr collected 2026-10-02 16:40:19 UTC 64,041 bytes, 1,721 lines download raw bytes

1
2;(function($) {
3	
4		$(".tab-list > li > a").on("click",function(){
5			var now_tab = $(this).data('type');
6
7			$(this).closest('div.group-box.group-box1').find('div.list').hide();
8			$(this).closest('div.group-box.group-box1').find('div.'+now_tab).show();
9		});	
10		
11    $(".tab-list > li > a").on("click", function() {
12        $(this).parent().addClass('active').siblings().removeClass('active');
13    });
14    
15    //���û���Ʈ
16    if($('.channel-slide.owl-carousel .item').length > 0){
17        var channelSlide = $('.channel-slide.owl-carousel');
18        channelSlide.owlCarousel({                
19            margin:0,
20            nav:false,
21            loop:true,          
22            autoplay:true,      
23            responsive:{
24                360:{
25                    items:1,
26                    nav:true
27                },
28                550:{
29                    items:1,
30                    nav:true
31                },
32                800:{
33                    items:1,
34                    nav:false
35                },
36                1024:{
37                    items:2,
38                    nav:true,
39                    loop:true
40                },
41                1360:{
42                    items:2,
43                    nav:true,
44                    loop:true
45                },
46                1440:{
47                    items:2,
48                    nav:true,
49                    loop:true
50                }                                
51            }
52        })
53
54        $('.channel-slide-btn.prev').click(function() {             
55            channelSlide.trigger('prev.owl.carousel');
56            return false;
57        })
58
59        $('.channel-slide-btn.next').click(function() {
60            channelSlide.trigger('next.owl.carousel');
61            return false;
62        })
63    }     
64    
65
66   'use strict'
67        var isMobile = {
68            Android: function() {
69                return navigator.userAgent.match(/Android/i);
70            },
71            BlackBerry: function() {
72                return navigator.userAgent.match(/BlackBerry/i);
73            },
74            iOS: function() {
75                return navigator.userAgent.match(/iPhone|iPad|iPod/i);
76            },
77            Opera: function() {
78                return navigator.userAgent.match(/Opera Mini/i);
79            },
80            Windows: function() {
81                return navigator.userAgent.match(/IEMobile/i);
82            },
83            any: function() {
84                return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
85            }
86        }; // is Mobile
87
88        var responsiveMenu = function() {
89            var menuType = 'desktop';
90
91            $(window).on('load resize', function() {
92                var currMenuType = 'desktop';
93
94                if ( matchMedia( 'only screen and (max-width: 991px)' ).matches ) {
95                    currMenuType = 'mobile';
96                }
97
98                if ( currMenuType !== menuType ) {
99                    menuType = currMenuType;
100
101                    if ( currMenuType === 'mobile' ) {
102                        var $mobileMenu = $('#mainnav').attr('id', 'mainnav-mobi').hide();
103                        var hasChildMenu = $('#mainnav-mobi').find('ul.menu').children('li');
104                        var hasSubmenuChild = $('.submenu').find('li.has-submenu-child');
105
106                        $('#header').after($mobileMenu);
107                        hasChildMenu.children('div.submenu').hide();
108                        $(".menu-mega").hide();
109                        hasChildMenu.children('a').after('<span class="btn-submenu"></span>');
110                        $('.btn-menu').removeClass('active');
111                        $('.submenu-child').hide();
112                        hasSubmenuChild.children('a').after('<span class="btn-submenu-child"></span>');
113
114                    } else {
115                        var $desktopMenu = $('#mainnav-mobi').attr('id', 'mainnav').removeAttr('style');
116                        $('div.submenu').show();
117                        $desktopMenu.find('.menu-mega').removeAttr('style');
118                        $('#header').find('.nav-wrap').append($desktopMenu);
119                        $('.btn-submenu').remove();
120                        $('.submenu-child').show();
121                    }
122
123                    if ($('#header').hasClass('style1') || $('#header').hasClass('style2 v1')) {
124                        $('#mainnav-mobi').css({
125                            // top: '100px'
126                        });
127                    }
128                }
129            });
130
131            $('.btn-menu').on('click', function() {         
132                $('#mainnav-mobi').slideToggle(300);
133                $(this).toggleClass('active');
134                return false;
135            });
136
137            $(document).on('click', '#mainnav-mobi li .btn-submenu', function(e) {
138                $(this).toggleClass('active').next('.submenu').slideToggle(500);
139                $(this).next('.menu-mega').slideToggle(500);
140                e.stopImmediatePropagation();
141                return false;
142            });
143
144            $(document).on('click', '#mainnav-mobi li .submenu .btn-submenu-child', function(e) {
145                $(this).toggleClass('active').next('ul.submenu-child').slideToggle(500);
146                // $(this).next('.menu-mega').slideToggle(500);
147                e.stopImmediatePropagation();
148                return false;
149            });
150        }; // Responsive Menu
151
152        var headerFixed = function() {
153            if ( $('body').hasClass('header_sticky') ) {
154                var nav = $('.header');
155                if ( nav.size() != 0 ) {
156                    
157                    var offsetTop = $('.header').offset().top,
158                        headerHeight = $('.header').height(),
159                        injectSpace = $('<div />', { height: headerHeight }).insertAfter(nav);   
160                        injectSpace.hide();                 
161
162                    $(window).on('load scroll', function(){
163                        if ( $(window).scrollTop() > offsetTop + 100 ) {
164                            injectSpace.show();
165                            $('.header').addClass('downscrolled');
166                            
167                        } else {
168                            $('.header').removeClass('downscrolled');
169                            injectSpace.hide();
170                        }
171
172                        if ( $(window).scrollTop() > 600) {
173                            $('.header').addClass('upscrolled');
174                        } else {
175                            $('.header').removeClass('upscrolled');
176                        }
177                    })
178                }
179            }
180        }; // Header Fixed
181
182        var searchButton = function() {
183            var showsearch = $('.box-search .icon_search');
184            var closesearch = $('.box-search form .input-search .delete');
185            showsearch.on('click',function() {
186                $(this).parent('.box-search').children('form').css({
187                    opacity: '1',
188                    visibility: 'visible',
189                    width: '100%'
190                });
191            });
192            closesearch.on('click', function() {
193                $(this).closest('.box-search').children('form').css({
194                    opacity: '0',
195                    visibility: 'visible',
196                    width: '0%'
197                });
198            });
199        }; // Search button
200
201        var menuCanvas = function() {
202            var buttonCavas = $('.box-canvas span.ti-align-right');
203            var closeCanvas = $('.menu-canvas .close');
204            buttonCavas.on('click', function() {
205                $(this).closest('section').children('.menu-canvas').css({
206                    opacity: '1',
207                    visibility: 'visible',
208                    right: '0'
209                });
210            });
211
212            closeCanvas.on('click', function() {
213                $(this).parent('.menu-canvas').css({
214                    opacity: '0',
215                    visibility: 'hidden',
216                    right: '-520px',
217                });
218            });
219        }; // Menu Canvas
220
221        var Filterbox = function(){
222            var buttonFilter = $('.filter');
223            var buttonHideFilter = $('.box-filter .hide');
224            $('.box-filter').hide();
225            buttonFilter.on('click',function(){
226                $('.box-filter').slideDown();
227            });
228
229            buttonHideFilter.on('click',function(){
230                $('.box-filter').slideUp();
231            });
232        };  // Filterbox
233
234        var slidePartner = function() {
235            $(".owl-carousel").owlCarousel({
236                autoplay:true,
237                dots:false,
238                margin:30,
239                loop:true,
240                items:6,
241                responsive:{
242                    0:{
243                        items: 2
244                    },
245
246                    479:{
247                        items: 3
248                    },
249                    768:{
250                        items: 4
251                    },
252                    991:{
253                        items: 5
254                    },
255                    1200: {
256                        items: 6
257                    }
258                }
259            });
260        };// slide Partner
261
262        var slideTestimonial = function() {
263            $(".owl-carousel-1").owlCarousel({
264                autoplay:true,
265                dots:true,
266                margin: 28,
267                loop:true,
268                items:1,
269            });
270        };// slide Testimonial
271
272        var slideTestimonial_S2 = function() {
273            $(".owl-carousel-2").owlCarousel({
274                autoplay:true,
275                dots:false,
276                nav:true,
277                loop:true,
278                items:1,
279                responsive:{
280                    0:{
281                        items: 1,
282                        nav: false
283                    },
284                    479:{
285                        items: 1,
286                        nav: false
287                    },
288                    768:{
289                        items: 1,
290                        nav: false
291                    },
292                    991:{
293                        items: 1
294                    },
295                    1200: {
296                        items: 1
297                    }
298                }
299            });
300        };// slide Testimonial s2
301
302        var slideTestimonial_S3 = function() {
303            $(".owl-carousel-3").owlCarousel({
304                autoplay:true,
305                dots:true,
306                margin: 28,
307                loop:true,
308                items:2,
309                responsive:{
310                    0:{
311                        items: 1
312                    },
313
314                    479:{
315                        items: 1
316                    },
317                    768:{
318                        items: 1
319                    },
320                    991:{
321                        items: 2
322                    },
323                    1200: {
324                        items: 2
325                    }
326                }
327            });
328        };// slide Testimonial s3
329
330        var slideTestimonial_S4 = function() {
331            $(".owl-carousel-4").owlCarousel({
332                autoplay:true,
333                dots:false,
334                nav: true,
335                margin: 28,
336                loop:true,
337                items:1,
338            });
339        };// slide Testimonial s4
340
341        var slideCarousel = function() {
342            $(".owl-carousel-5").owlCarousel({
343                autoplay:true,
344                dots:true,
345                margin: 30,
346                loop:true,
347                items:3,
348            });
349        };// slide Carousel
350
351        var slideClients = function() {
352            $(".owl-carousel-6").owlCarousel({
353                autoplay:true,
354                dots:false,
355                margin: 0,
356                loop:true,
357                items:6,
358                responsive:{
359                    0:{
360                        items: 2
361                    },
362
363                    479:{
364                        items: 3
365                    },
366                    768:{
367                        items: 4
368                    },
369                    991:{
370                        items: 5
371                    },
372                    1200: {
373                        items: 6
374                    }
375                }
376            });
377        };// slide Clients
378
379        var slideRelated = function() {
380            $(".owl-carousel-7").owlCarousel({
381                autoplay:true,
382                nav:true,
383                dots: false,
384                margin: 30,
385                loop:true,
386                items:4,
387                responsive:{
388                    0:{
389                        items: 1
390                    },
391
392                    479:{
393                        items: 2
394                    },
395                    768:{
396                        items: 3
397                    },
398                    991:{
399                        items: 4
400                    },
401                    1200: {
402                        items: 4
403                    }
404                }
405            });
406        };// slide Related
407
408        var slideSingleSimple = function() {
409            $(".owl-carousel-8").owlCarousel({
410                autoplay:true,
411                nav:true,
412                dots: true,
413                margin: 10,
414                loop:true,
415                items:1,
416                responsive:{
417                    0:{
418                        nav: false,
419                    },
420
421                    479:{
422                        nav: false,
423                    },
424                    768:{
425                        items: 1
426                    },
427                    991:{
428                        items: 1
429                    },
430                    1200: {
431                        items: 1
432                    }
433                }
434            });
435        };// slide Singlesimple
436
437        var slidePhotography = function() {
438            $(".owl-carousel-9").owlCarousel({
439                autoplay:false,
440                nav:false,
441                dots: false,
442                margin: 20,
443                loop: true,
444                items:1,
445            });
446        };// slide Photography
447
448        var slidePhotography_s2 = function() {
449            $(".owl-carousel-10").owlCarousel({
450                autoplay:false,
451                nav:true,
452                dots: false,
453                margin: 0,
454                loop:true,
455                items:1,
456                responsive:{
457                    0:{
458                        items: 1,
459                        nav: false
460                    },
461                    479:{
462                        items: 1,
463                        nav: false
464                    },
465                    576:{
466                        items: 1,
467                        nav: false
468                    },
469                    768:{
470                        items: 1,
471                    },
472                    991:{
473                        items: 1
474                    },
475                    1200: {
476                        items: 1
477                    }
478                }
479            });
480        };// slide Photography_S2
481
482        var slideVideo = function() {
483            $(".owl-carousel-11").owlCarousel({
484                autoplay:true,
485                nav:false,
486                dots: true,
487                margin: 0,
488                loop:true,
489                items:1,
490            });
491        };// slide video
492
493        var slideVideo_S2 = function() {
494            $(".owl-carousel-12").owlCarousel({
495                autoplay:true,
496                nav:true,
497                dots: false,
498                margin: 30,
499                loop:true,
500                items:4,
501                responsive:{
502                    0:{
503                        items: 1
504                    },
505                    479:{
506                        items: 2
507                    },
508                    576:{
509                        items: 2
510                    },
511                    768:{
512                        items: 3
513                    },
514                    991:{
515                        items: 4
516                    },
517                    1200: {
518                        items: 4
519                    }
520                }
521            });
522        };// slide video S2
523
524        var slideProject = function() {
525            $(".owl-carousel-13").owlCarousel({
526                autoplay:true,
527                nav:false,
528                dots: false,
529                margin: 30,
530                loop:true,
531                items:3,
532                responsive:{
533                    0:{
534                        items: 1
535                    },
536                    479:{
537                        items: 1
538                    },
539                    576:{
540                        items: 2
541                    },
542                    768:{
543                        items: 2
544                    },
545                    991:{
546                        items: 3
547                    },
548                    1200: {
549                        items: 3
550                    }
551                }
552            });
553        };// slide Project
554
555        var slideImagebox = function() {
556            $(".owl-carousel-14").owlCarousel({
557                autoplay:true,
558                nav:false,
559                dots: true,
560                margin: 30,
561                loop:true,
562                items:3,
563                responsive:{
564                    0:{
565                        items: 1
566                    },
567                    479:{
568                        items: 1
569                    },
570                    576:{
571                        items: 2
572                    },
573                    768:{
574                        items: 2
575                    },
576                    991:{
577                        items: 3
578                    },
579                    1200: {
580                        items: 3
581                    }
582                }
583            });
584        };// slide Imagebox
585
586        var slideImagebox_s2 = function() {
587            $(".owl-carousel-15").owlCarousel({
588                autoplay:true,
589                nav:false,
590                dots: false,
591                margin: 0,
592                loop:true,
593                items:3,
594                 responsive:{
595                    0:{
596                        items: 1
597                    },
598                    479:{
599                        items: 1
600                    },
601                    576:{
602                        items: 1
603                    },
604                    768:{
605                        items: 2
606                    },
607                    991:{
608                        items: 2
609                    },
610                    1200: {
611                        items: 3
612                    }
613                }
614            });
615        };// slide Imagebox S2
616
617        var slideOurwork = function() {
618            $(".owl-carousel-16").owlCarousel({
619                autoplay:true,
620                nav:false,
621                dots: false,
622                margin: 0,
623                loop:true,
624                items:4,
625                 responsive:{
626                    0:{
627                        items: 1
628                    },
629                    479:{
630                        items: 1
631                    },
632                    576:{
633                        items: 2
634                    },
635                    768:{
636                        items: 3
637                    },
638                    991:{
639                        items: 3
640                    },
641                    1200: {
642                        items: 4
643                    }
644                }
645            });
646        };// slide ourwork
647
648        var slideOwl_carousel = function() {
649            $(".owl-carousel-17").owlCarousel({
650                autoplay:true,
651                nav:false,
652                dots: true,
653                margin: 30,
654                loop:true,
655                items:3,
656                 responsive:{
657                    0:{
658                        items: 1
659                    },
660                    479:{
661                        items: 1
662                    },
663                    576:{
664                        items: 1
665                    },
666                    768:{
667                        items: 2
668                    },
669                    991:{
670                        items: 2
671                    },
672                    1200: {
673                        items: 3
674                    }
675                }
676            });
677        };// slide Owl carousel
678
679        var slideImagebox_s3 = function() {
680            $(".owl-carousel-18").owlCarousel({
681                autoplay:true,
682                nav:false,
683                dots: false,
684                margin: 30,
685                loop:true,
686                items:4,
687                responsive:{
688                    0:{
689                        items: 1
690                    },
691                    479:{
692                        items: 1
693                    },
694                    576:{
695                        items: 2
696                    },
697                    768:{
698                        items: 3
699                    },
700                    991:{
701                        items: 4
702                    },
703                    1200: {
704                        items: 4
705                    }
706                }
707            });
708        };// slide Imagebox S3
709
710        var slidePartner_s2 = function() {
711            $(".owl-carousel-19").owlCarousel({
712                autoplay:true,
713                nav:false,
714                dots: false,
715                margin: 0,
716                loop:true,
717                items:5,
718                responsive:{
719                    0:{
720                        items: 2
721                    },
722                    479:{
723                        items: 2
724                    },
725                    576:{
726                        items: 3
727                    },
728                    768:{
729                        items: 4
730                    },
731                    991:{
732                        items: 4
733                    },
734                    1200: {
735                        items: 5
736                    }
737                }
738            });
739        };// slide Partner S3
740
741        var tabAbout = function() {
742            $('.tab-about').each(function() {
743            $(this).children('.content-tab').children().hide();
744            $(this).children('.content-tab').children().first().show()
745            $(this).find('.tab-list-about').children('li').on('click', function(){
746                var liActive = $(this).index(),
747                contentActive = $(this).siblings().removeClass('active').parents('.tab-about').children('.content-tab').children().eq(liActive);
748                contentActive.addClass('active').fadeIn("slow");
749                contentActive.siblings().removeClass('active');
750                $(this).addClass('active').parents('.tab-about').children('.content-tab').children().eq(liActive).siblings().hide();
751            });
752            });
753        }; // Tab About
754
755        var counterAbout = function() {      
756            if ( $().countTo ) {
757                $('.wrap-counter').on('on-appear', function() {
758                    $(this).find('.numb-count').each(function() {
759                        var to = parseInt( $(this).data('to'), 10 ),
760                            speed = parseInt( $(this).data('speed'), 10 );
761                            
762                        $(this).countTo({
763                            to: to,
764                            speen: speed
765                        });
766                    });
767                }); // wrap counter
768            };
769        }; // Counter About
770
771        var progressBar = function() {        
772            $('.progress-bar').on('on-appear', function() {
773                $(this).each(function() {
774                    $(this).css("overflow", "inherit");
775                    var percent = $(this).data('percent');                
776                    $(this).find('.progress-animate').animate({
777                        "overflow":"inherit",
778                        "width": percent + '%'
779                    }, $(this).find('.progress-animate').data('duration') );
780
781                    $(this).parent('.progress-item').find('.perc').addClass('show').animate({
782                        "overflow":"inherit",
783                        "width": percent + '%'
784                    }, $(this).find('.progress-animate').data('duration') );
785                });
786            });
787        }; // Progress Bar
788
789        var countdown_1 = function() {
790            $('.countdown-1').final_countdown();
791        }// Countdown 1 
792
793        var CountDown = function() {
794            var before = '<div class="square"><div class="numb">',
795                textday = '</div><div class="text">DAY',
796                texthour = '</div><div class="text">HOURS',
797                textmin = '</div><div class="text">MINUTES',
798                textsec = '</div><div class="text">SECONDS';
799                if ($().countdown) {
800                    $(".countdown").countdown('2018/01/31', function(event) {
801                      $(this).html(event.strftime(before + '%D' + textday + '</div></div>' + before + '%H' + texthour + '</div></div>' + before + '%M' + textmin + '</div></div>' + before + '%S' + textsec + '</div>'));
802                    });
803                };
804        }; // Count Down
805
806        var CountDown_S2 = function() {
807            var before = '<div class="col-md-3 col-sm-6"><div class="square"><div class="numb">',
808                textday = '</div><div class="text">/DAY',
809                texthour = '</div><div class="text">/HOURS',
810                textmin = '</div><div class="text">/MINUTES',
811                textsec = '</div><div class="text">/SECONDS';
812                if ($().countdown) {
813                    $(".countdown-2").countdown('2018/01/31', function(event) {
814                      $(this).html(event.strftime(before + '%D' + textday + '</div></div></div>' + before + '%H' + texthour + '</div></div></div>' + before + '%M' + textmin + '</div></div></div>' + before + '%S' + textsec + '</div></div>'));
815                    });
816                };
817        }; // Count Down s2
818
819        var detectViewport = function() {
820            $('[data-waypoint-active="yes"]').waypoint(function() {
821                $(this).trigger('on-appear');
822            }, { offset: '95%', triggerOnce: true });
823             $(window).on('load', function() {
824                setTimeout(function() {
825                    $.waypoints('refresh');
826                }, 100);
827            });
828        }; // Detect Viewport
829
830        var videoPopup =  function() {
831            $(".fancybox").on("click", function(){
832                $.fancybox({
833                  href: this.href,
834                  type: $(this).data("type")
835                }); // fancybox
836                return false   
837            }); // on
838        }; // Video Popup
839
840        var accordionToggle = function() {
841            var speed = {duration: 400};
842            $('.toggle-content').hide();
843            $('.accordion-toggle .toggle-title.active').siblings('.toggle-content').show();
844            $('.accordion').find('.toggle-title').on('click', function() {
845                $(this).toggleClass('active');
846                $(this).next().slideToggle(speed);
847                $(".toggle-content").not($(this).next()).slideUp(speed);
848                if ($(this).is('.active')) {
849                    $(this).closest('.accordion').find('.toggle-title.active').toggleClass('active')
850                    $(this).toggleClass('active');
851                };
852            });
853        }; // Accordion Toggle
854
855        var portfolioIsotope = function() { 
856            if ( $().isotope ) {           
857                var $container = $('.wrap-portfolio');
858                $container.imagesLoaded(function(){
859                    $container.isotope({
860                        itemSelector: '.ipsotope',
861                        transitionDuration: '1s'
862                    });
863                });
864
865                $('.tab-product-list li').on('click',function() {                           
866                    var selector = $(this).attr('data-filter');
867                    $('.tab-product-list li').removeClass('active');
868                    $(this).addClass('active');
869                    $container.isotope({ filter: selector });
870                    return false;
871                });            
872            };
873        }; // Portfolio Isotope
874
875        var googleMap = function() {            
876            if ( $().gmap3 ) {  
877                $(".map").gmap3({
878                    map:{
879                        options:{
880                            zoom: 11,
881                            mapTypeId: 'themesflat_style',
882                            mapTypeControlOptions: {
883                                mapTypeIds: ['themesflat_style', google.maps.MapTypeId.SATELLITE, google.maps.MapTypeId.HYBRID]
884                            },
885                            scrollwheel: false
886                        }
887                    },
888                    getlatlng:{
889                        address:  $('.flat-maps').data('address'),
890                        callback: function(results) {
891                            if ( !results ) return;
892                            $(this).gmap3('get').setCenter(new google.maps.LatLng(results[0].geometry.location.lat(), results[0].geometry.location.lng()));
893                            $(this).gmap3({
894                                marker:{
895                                    latLng:results[0].geometry.location,
896                                    options:{
897                                        icon: $('.flat-maps').data('image')
898                                    }
899                                }
900                            });
901                        }
902                    },
903                    styledmaptype:{
904                        id: "themesflat_style",
905                        options:{
906                            name: "Yolo Map"
907                        },
908                        styles:[
909                            {
910                                "featureType": "water",
911                                "elementType": "geometry",
912                                "stylers": [
913                                    {
914                                        "color": "#e9e9e9"
915                                    },
916                                    {
917                                        "lightness": 17
918                                    }
919                                ]
920                            },
921                            {
922                                "featureType": "landscape",
923                                "elementType": "geometry",
924                                "stylers": [
925                                    {
926                                        "color": "#f5f5f5"
927                                    },
928                                    {
929                                        "lightness": 20
930                                    }
931                                ]
932                            },
933                            {
934                                "featureType": "road.highway",
935                                "elementType": "geometry.fill",
936                                "stylers": [
937                                    {
938                                        "color": "#ffffff"
939                                    },
940                                    {
941                                        "lightness": 17
942                                    }
943                                ]
944                            },
945                            {
946                                "featureType": "road.highway",
947                                "elementType": "geometry.stroke",
948                                "stylers": [
949                                    {
950                                        "color": "#ffffff"
951                                    },
952                                    {
953                                        "lightness": 29
954                                    },
955                                    {
956                                        "weight": 0.2
957                                    }
958                                ]
959                            },
960                            {
961                                "featureType": "road.arterial",
962                                "elementType": "geometry",
963                                "stylers": [
964                                    {
965                                        "color": "#ffffff"
966                                    },
967                                    {
968                                        "lightness": 18
969                                    }
970                                ]
971                            },
972                            {
973                                "featureType": "road.local",
974                                "elementType": "geometry",
975                                "stylers": [
976                                    {
977                                        "color": "#ffffff"
978                                    },
979                                    {
980                                        "lightness": 16
981                                    }
982                                ]
983                            },
984                            {
985                                "featureType": "poi",
986                                "elementType": "geometry",
987                                "stylers": [
988                                    {
989                                        "color": "#f5f5f5"
990                                    },
991                                    {
992                                        "lightness": 21
993                                    }
994                                ]
995                            },
996                            {
997                                "featureType": "poi.park",
998                                "elementType": "geometry",
999                                "stylers": [
1000                                    {
1001                                        "color": "#dedede"
1002                                    },
1003                                    {
1004                                        "lightness": 21
1005                                    }
1006                                ]
1007                            },
1008                            {
1009                                "elementType": "labels.text.stroke",
1010                                "stylers": [
1011                                    {
1012                                        "visibility": "on"
1013                                    },
1014                                    {
1015                                        "color": "#ffffff"
1016                                    },
1017                                    {
1018                                        "lightness": 16
1019                                    }
1020                                ]
1021                            },
1022                            {
1023                                "elementType": "labels.text.fill",
1024                                "stylers": [
1025                                    {
1026                                        "saturation": 36
1027                                    },
1028                                    {
1029                                        "color": "#333333"
1030                                    },
1031                                    {
1032                                        "lightness": 40
1033                                    }
1034                                ]
1035                            },
1036                            {
1037                                "elementType": "labels.icon",
1038                                "stylers": [
1039                                    {
1040                                        "visibility": "off"
1041                                    }
1042                                ]
1043                            },
1044                            {
1045                                "featureType": "transit",
1046                                "elementType": "geometry",
1047                                "stylers": [
1048                                    {
1049                                        "color": "#f2f2f2"
1050                                    },
1051                                    {
1052                                        "lightness": 19
1053                                    }
1054                                ]
1055                            },
1056                            {
1057                                "featureType": "administrative",
1058                                "elementType": "geometry.fill",
1059                                "stylers": [
1060                                    {
1061                                        "color": "#fefefe"
1062                                    },
1063                                    {
1064                                        "lightness": 20
1065                                    }
1066                                ]
1067                            },
1068                            {
1069                                "featureType": "administrative",
1070                                "elementType": "geometry.stroke",
1071                                "stylers": [
1072                                    {
1073                                        "color": "#fefefe"
1074                                    },
1075                                    {
1076                                        "lightness": 17
1077                                    },
1078                                    {
1079                                        "weight": 1.2
1080                                    }
1081                                ]
1082                            }
1083                        ]
1084                        
1085                    },  
1086                });
1087            }
1088            $('.map').css( 'height', $('.flat-maps').data('height') );
1089        }; // Google Map
1090
1091        var googleMap_S2 = function() {            
1092            if ( $().gmap3 ) {  
1093                $(".map-2").gmap3({
1094                    map:{
1095                        options:{
1096                            zoom: 16,
1097                            mapTypeId: 'themesflat_style',
1098                            mapTypeControlOptions: {
1099                                mapTypeIds: ['themesflat_style', google.maps.MapTypeId.SATELLITE, google.maps.MapTypeId.HYBRID]
1100                            },
1101                            scrollwheel: false
1102                        }
1103                    },
1104                    getlatlng:{
1105                        address:  $('.flat-maps-2').data('address'),
1106                        callback: function(results) {
1107                            if ( !results ) return;
1108                            $(this).gmap3('get').setCenter(new google.maps.LatLng(results[0].geometry.location.lat(), results[0].geometry.location.lng()));
1109                            $(this).gmap3({
1110                                marker:{
1111                                    latLng:results[0].geometry.location,
1112                                    options:{
1113                                        icon: $('.flat-maps-2').data('image')
1114                                    }
1115                                }
1116                            });
1117                        }
1118                    },
1119                    styledmaptype:{
1120                        id: "themesflat_style",
1121                        options:{
1122                            name: "Yolo Map"
1123                        },
1124                        styles:[
1125                            {
1126                                "featureType": "all",
1127                                "elementType": "labels.text.fill",
1128                                "stylers": [
1129                                    {
1130                                        "saturation": 36
1131                                    },
1132                                    {
1133                                        "color": "#000000"
1134                                    },
1135                                    {
1136                                        "lightness": 40
1137                                    }
1138                                ]
1139                            },
1140                            {
1141                                "featureType": "all",
1142                                "elementType": "labels.text.stroke",
1143                                "stylers": [
1144                                    {
1145                                        "visibility": "on"
1146                                    },
1147                                    {
1148                                        "color": "#000000"
1149                                    },
1150                                    {
1151                                        "lightness": 16
1152                                    }
1153                                ]
1154                            },
1155                            {
1156                                "featureType": "all",
1157                                "elementType": "labels.icon",
1158                                "stylers": [
1159                                    {
1160                                        "visibility": "off"
1161                                    }
1162                                ]
1163                            },
1164                            {
1165                                "featureType": "administrative",
1166                                "elementType": "geometry.fill",
1167                                "stylers": [
1168                                    {
1169                                        "color": "#000000"
1170                                    },
1171                                    {
1172                                        "lightness": 20
1173                                    }
1174                                ]
1175                            },
1176                            {
1177                                "featureType": "administrative",
1178                                "elementType": "geometry.stroke",
1179                                "stylers": [
1180                                    {
1181                                        "color": "#000000"
1182                                    },
1183                                    {
1184                                        "lightness": 17
1185                                    },
1186                                    {
1187                                        "weight": 1.2
1188                                    }
1189                                ]
1190                            },
1191                            {
1192                                "featureType": "landscape",
1193                                "elementType": "geometry",
1194                                "stylers": [
1195                                    {
1196                                        "color": "#000000"
1197                                    },
1198                                    {
1199                                        "lightness": 20
1200                                    }
1201                                ]
1202                            },
1203                            {
1204                                "featureType": "poi",
1205                                "elementType": "geometry",
1206                                "stylers": [
1207                                    {
1208                                        "color": "#000000"
1209                                    },
1210                                    {
1211                                        "lightness": 21
1212                                    }
1213                                ]
1214                            },
1215                            {
1216                                "featureType": "road.highway",
1217                                "elementType": "geometry.fill",
1218                                "stylers": [
1219                                    {
1220                                        "color": "#000000"
1221                                    },
1222                                    {
1223                                        "lightness": 17
1224                                    }
1225                                ]
1226                            },
1227                            {
1228                                "featureType": "road.highway",
1229                                "elementType": "geometry.stroke",
1230                                "stylers": [
1231                                    {
1232                                        "color": "#000000"
1233                                    },
1234                                    {
1235                                        "lightness": 29
1236                                    },
1237                                    {
1238                                        "weight": 0.2
1239                                    }
1240                                ]
1241                            },
1242                            {
1243                                
1243"featureType": "road.arterial",
1244                                "elementType": "geometry",
1245                                "stylers": [
1246                                    {
1247                                        "color": "#000000"
1248                                    },
1249                                    {
1250                                        "lightness": 18
1251                                    }
1252                                ]
1253                            },
1254                            {
1255                                "featureType": "road.local",
1256                                "elementType": "geometry",
1257                                "stylers": [
1258                                    {
1259                                        "color": "#000000"
1260                                    },
1261                                    {
1262                                        "lightness": 16
1263                                    }
1264                                ]
1265                            },
1266                            {
1267                                "featureType": "transit",
1268                                "elementType": "geometry",
1269                                "stylers": [
1270                                    {
1271                                        "color": "#000000"
1272                                    },
1273                                    {
1274                                        "lightness": 19
1275                                    }
1276                                ]
1277                            },
1278                            {
1279                                "featureType": "water",
1280                                "elementType": "geometry",
1281                                "stylers": [
1282                                    {
1283                                        "color": "#000000"
1284                                    },
1285                                    {
1286                                        "lightness": 17
1287                                    }
1288                                ]
1289                            }
1290                        ]
1291                        
1292                    },  
1293                });
1294            }
1295            $('.map-2').css( 'height', $('.flat-maps-2').data('height') );
1296        }; // Google Map S2
1297
1298        var parallax = function() {
1299            if ( $().parallax && isMobile.any() === null ) {
1300                $('.parallax1').parallax("50%", 0.3);
1301                $('.parallax2').parallax("30%", 0.5);
1302                $('.parallax3').parallax("50%", 0.5);
1303                $('.parallax4').parallax("50%", 0.5);  
1304                $('.parallax5').parallax("50%", 0.7);
1305                $('.parallax6').parallax("50%", 0.5);
1306                $('.parallax7').parallax("50%", 0.5); 
1307                $('.parallax8').parallax("50%", 0.5);
1308                $('.parallax9').parallax("50%", 0.5);
1309                $('.parallax10').parallax("50%", 0.4);
1310                $('.parallax11').parallax("50%", 0.4); 
1311                $('.parallax12').parallax("100%", 0.5);
1312                $('.parallax13').parallax("50%", 0.5);
1313                $('.parallax15').parallax("50%", 0.6); 
1314            }
1315        }; // Parallax
1316
1317        var heights = function() {
1318            $(window).on('load', function() { 
1319                $('.row-box').each(function() {
1320                    var h = $(".info-image").height();
1321                    $(".info-text").css({
1322                        height: h,
1323                    });
1324                    var h1 = $(".info-image.v1").height();
1325                    $(".info-text.v1").css({
1326                        height: h1,
1327                    });
1328                });
1329            });
1330        }; // Heights
1331
1332        var tabProduct = function() {
1333            $('#main-contents .wrap-product').each(function() {
1334            $(this).find('.tab-product-content').children().hide();
1335            $(this).find('.tab-product-content').children().first().show().addClass('active');
1336            $(this).find('.tab-product-list').children('li').on('click', function(){
1337                    var liActive = $(this).index(),
1338                    contentActive = $(this).siblings().removeClass('active').parents('.wrap-product').find('.tab-product-content').children().eq(liActive);
1339                    contentActive.addClass('active').fadeIn("slow");
1340                    contentActive.siblings().removeClass('active');
1341                    $(this).addClass('active').parents('.wrap-product').find('.tab-product-content').children().eq(liActive).siblings().hide();
1342                });
1343            })
1344        }; // Tab Product
1345
1346        var tabDetailProduct = function() {
1347            $('.product-content').each(function() {
1348            $(this).find('.tab-content').children().hide();
1349            $(this).find('.tab-content').children().first().show().addClass('active');
1350            $(this).find('.tab-detail-list').children('li').on('click', function(){
1351                var liActive = $(this).index(),
1352                contentActive = $(this).siblings().removeClass('active').parents('.product-content').find('.tab-content').children().eq(liActive);
1353                contentActive.addClass('active').fadeIn("slow");
1354                contentActive.siblings().removeClass('active');
1355                $(this).addClass('active').parents('.product-content').find('.tab-content').children().eq(liActive).siblings().hide();
1356            });
1357            });
1358        }; // Tab Detail Product
1359
1360        var flexProduct = function() {
1361            $('.flexslider').flexslider({
1362                animation: "slide",
1363                controlNav: "thumbnails"
1364            });
1365        }; // Flex Product
1366
1367        var gridPhotography = function() { 
1368            if ( $().isotope ) {           
1369                var $grid = $('.wrap-portfolio.padding-5');
1370                $grid.imagesLoaded(function(){
1371                    $grid.isotope({
1372                        itemSelector: '.ipsotope',
1373                        layoutMode: 'fitRows',
1374                        transitionDuration: '1s',
1375                        masonry: {
1376                            columnWidth: '.wrap-portfolio.padding-5'
1377                        }
1378                    });
1379                });          
1380            }; // Portfolio Isotope
1381        }; // Grid Photography
1382
1383        var shopMetroIpsotope = function() { 
1384            if ( $().isotope ) {           
1385                var $container = $('.wrap-portfolio.style5.v1');
1386                $container.imagesLoaded(function(){
1387                    $container.isotope({
1388                        itemSelector: '.ipsotope',
1389                        layoutMode: 'masonry',
1390                        transitionDuration: '1s',
1391                        masonry: {
1392                            columnWidth: '.wrap-portfolio.style5.v1 .portfolio-item.one-four'
1393                        }
1394                    });          
1395                }); // Portfolio Isotope
1396            };
1397        }; // Grid Photography
1398
1399        var ajaxSubscribe = {
1400            obj: {
1401                subscribeEmail    : $('#subscribe-email'),
1402                subscribeButton   : $('#subscribe-button'),
1403                subscribeMsg      : $('#subscribe-msg'),
1404                subscribeContent  : $("#subscribe-content"),
1405                dataMailchimp     : $('#subscribe-form').attr('data-mailchimp'),
1406                success_message   : '<div class="notification_ok">Thank you for joining our mailing list! Please check your email for a confirmation link.</div>',
1407                failure_message   : '<div class="notification_error">Error! <strong>There was a problem processing your submission.</strong></div>',
1408                noticeError       : '<div class="notification_error">{msg}</div>',
1409                noticeInfo        : '<div class="notification_error">{msg}</div>',
1410                basicAction       : 'mail/subscribe.php',
1411                mailChimpAction   : 'mail/subscribe-mailchimp.php'
1412            },
1413
1414            eventLoad: function() {
1415                var objUse = ajaxSubscribe.obj;
1416
1417                $(objUse.subscribeButton).on('click', function() {
1418                    if ( window.ajaxCalling ) return;
1419                    var isMailchimp = objUse.dataMailchimp === 'true';
1420
1421                    if ( isMailchimp ) {
1422                        ajaxSubscribe.ajaxCall(objUse.mailChimpAction);
1423                    } else {
1424                        ajaxSubscribe.ajaxCall(objUse.basicAction);
1425                    }
1426                });
1427            }
1427,// event Load
1428
1429            ajaxCall: function (action) {
1430                window.ajaxCalling = true;
1431                var objUse = ajaxSubscribe.obj;
1432                var messageDiv = objUse.subscribeMsg.html('').hide();
1433                $.ajax({
1434                    url: action,
1435                    type: 'POST',
1436                    dataType: 'json',
1437                    data: {
1438                       subscribeEmail: objUse.subscribeEmail.val()
1439                    },
1440                    success: function (responseData, textStatus, jqXHR) {
1441                        if ( responseData.status ) {
1442                            objUse.subscribeContent.fadeOut(500, function () {
1443                                messageDiv.html(objUse.success_message).fadeIn(500);
1444                            });
1445                        } else {
1446                            switch (responseData.msg) {
1447                                case "email-required":
1448                                    messageDiv.html(objUse.noticeError.replace('{msg}','Error! <strong>Email is required.</strong>'));
1449                                    break;
1450                                case "email-err":
1451                                    messageDiv.html(objUse.noticeError.replace('{msg}','Error! <strong>Email invalid.</strong>'));
1452                                    break;
1453                                case "duplicate":
1454                                    messageDiv.html(objUse.noticeError.replace('{msg}','Error! <strong>Email is duplicate.</strong>'));
1455                                    break;
1456                                case "filewrite":
1457                                    messageDiv.html(objUse.noticeInfo.replace('{msg}','Error! <strong>Mail list file is open.</strong>'));
1458                                    break;
1459                                case "undefined":
1460                                    messageDiv.html(objUse.noticeInfo.replace('{msg}','Error! <strong>undefined error.</strong>'));
1461                                    break;
1462                                case "api-error":
1463                                    objUse.subscribeContent.fadeOut(500, function () {
1464                                        messageDiv.html(objUse.failure_message);
1465                                    });
1466                            }
1467                            messageDiv.fadeIn(500);
1468                        }
1469                    },
1470                    error: function (jqXHR, textStatus, errorThrown) {
1471                        alert('Connection error');
1472                    },
1473                    complete: function (data) {
1474                        window.ajaxCalling = false;
1475                    }
1476                });
1477            } // ajaxCall
1478        }; // ajax Subscribe
1479
1480        var ajaxContactForm = function() {  
1481            $('#contactform').each(function() {
1482                $(this).validate({
1483                    submitHandler: function( form ) {
1484                        var $form = $(form),
1485                            str = $form.serialize(),
1486                            loading = $('<div />', { 'class': 'loading' });
1487
1488                        $.ajax({
1489                            type: "POST",
1490                            url:  $form.attr('action'),
1491                            data: str,
1492                            beforeSend: function () {
1493                                $form.find('.form-submit').append(loading);
1494                            },
1495                            success: function( msg ) {
1496                                var result, cls;                            
1497                                if ( msg === 'Success' ) {                                
1498                                    result == 'Message Sent Successfully To Email Administrator. ( You can change the email management a very easy way to get the message of customers in the user manual )';
1499                                    cls == 'msg-success';
1500                                } else {
1501                                    result == 'Error sending email.';
1502                                    cls == 'msg-error';
1503                                }
1504
1505                                $form.prepend(
1506                                    $('<div />', {
1507                                        'class': 'flat-alert ' + cls,
1508                                        'text' : result
1509                                    }).append(
1510                                        $('<a class="close" href="#"><i class="fa fa-close"></i></a>')
1511                                    )
1512                                );
1513
1514                                $form.find(':input').not('.submit').val('');
1515                            },
1516                            complete: function (xhr, status, error_thrown) {
1517                                $form.find('.loading').remove();
1518                            }
1519                        });
1520                    }
1521                });
1522            }); // each contactform
1523        };   // ajax ContactForm
1524
1525        var swClick = function () {
1526            function activeLayout () {
1527                $(".switcher-container" ).on( "click", "a.sw-light", function() {
1528                    $(this).toggleClass( "active" );
1529                    $('body').addClass('home-boxed');  
1530                    $('body').css({'background': '#f6f6f6' });                
1531                    $('.sw-pattern.pattern').css ({ "top": "100%", "opacity": 1, "z-index": "10"});
1532                }).on( "click", "a.sw-dark", function() {
1533                    $('.sw-pattern.pattern').css ({ "top": "98%", "opacity": 0, "z-index": "-1"});
1534                    $(this).removeClass('active').addClass('active');
1535                    $('body').removeClass('home-boxed');
1536                    $('body').css({'background': '#fff' });
1537                    return false;
1538                })       
1539            }
1540
1541            function activePattern () {
1542                $('.sw-pattern').on('click', function () {
1543                    $('.sw-pattern.pattern a').removeClass('current');
1544                    $(this).addClass('current');
1545                    $('body').css({'background': 'url("' + $(this).data('image') + '")', 'background-size' : '30px 30px', 'background-repeat': 'repeat' });
1546                    return false;
1547                })
1548            }
1549            activeLayout(); 
1550            activePattern();
1551        } // Swicher Click
1552
1553        var goTop = function(){
1554            var gotop = $('.go-top');
1555            $(window).on('scroll', function() {
1556                if ($(this).scrollTop() > 300) {
1557                    gotop.addClass('show');
1558                } else {
1559                    gotop.removeClass('show');
1560                }
1561            });
1562            gotop.on('click', function() {
1563                $('html, body').animate({ scrollTop: 0}, 800, 'easeInOutExpo');
1564                return false;
1565            });
1566        }; // Go Top
1567
1568        var scroll = function() {
1569            var scrollDown = $('.scroll-down a');
1570            scrollDown.on('click', function() {
1571                $('html, body').animate({ scrollTop: $( $(this).attr('href') ).offset().top - 30}, 800);
1572                return false;
1573            });
1574        } // Scroll
1575
1576        var removePreloader = function() {        
1577            $('.preloader').fadeOut('2s',function () {
1578                $(this).remove();
1579            });
1580        }; // Remove Preloader
1581
1582    // Dom Ready
1583    $(function() {
1584        responsiveMenu();
1585        headerFixed();
1586        searchButton();
1587        menuCanvas();
1588        Filterbox();
1589        slidePartner();
1590        slideTestimonial();
1591        slideTestimonial_S2();
1592        slideTestimonial_S3();
1593        slideTestimonial_S4();
1594        slideCarousel();
1595        slideClients();
1596        slideRelated();
1597        slideSingleSimple();
1598        slidePhotography();
1599        slidePhotography_s2();
1600        slideVideo();
1601        slideVideo_S2();
1602        slideProject();
1603        slideImagebox();
1604        slideImagebox_s2();
1605        slideOurwork();
1606        slideOwl_carousel();
1607        slideImagebox_s3();
1608        slidePartner_s2();
1609        tabAbout();
1610        counterAbout();
1611        progressBar();
1612        countdown_1();
1613        CountDown();
1614        CountDown_S2();
1615        videoPopup();
1616        accordionToggle();
1617        portfolioIsotope();
1618        googleMap();
1619        googleMap_S2();
1620        parallax();
1621        heights();
1622        flexProduct();
1623        tabProduct();
1624        tabDetailProduct();
1625        detectViewport();
1626        gridPhotography();
1627        shopMetroIpsotope();
1628        ajaxSubscribe.eventLoad();
1629        ajaxContactForm();
1630        swClick();
1631        goTop();
1632        scroll();
1633        removePreloader();
1634    });
1635
1636  //�����˾�â
1637  $(document).ready(function(){	
1638     $('#btn_pop').click(function(){
1639        $('#dm_bg').stop().fadeIn();
1640        $('#pop_box').stop().fadeIn();
1641      });
1642
1643  
1644    $('#dm_bg, .pop_close').click(function(){
1645        $('#dm_bg').stop().fadeOut();
1646        $('#pop_box').stop().fadeOut();
1647        return false;
1648    }); 
1649    $('#dm_bg, .pop_close2').click(function(){
1650        $('#dm_bg').stop().fadeOut();
1651        $('#pop_box2').stop().fadeOut();
1652        return false;
1653    });    
1654  
1655    $('#dm_bg,#dm_bg2').on('scroll touchmove mousewheel', function(event) {
1656        event.preventDefault();
1657        event.stopPropagation();
1658        return false;
1659      });        
1660            
1661    $('.pop_close').click(function(){
1662        $('#dm_bg').stop().fadeOut();
1663        $('#pop_box').stop().fadeOut();
1664        return false; 
1665    });
1666
1667    $('.pop_close2').click(function(){
1668        $('#dm_bg2').stop().fadeOut();
1669        $('#pop_box2').stop().fadeOut();
1670        return false; 
1671    });      
1672  
1673  }); 
1674
1675})(jQuery);
1676
1677
1678    
1679function popup_menu1(menu_index) {
1680
1681    $("[id^='pop_menu_1']").removeClass( "active" );
1682    $("#pop_menu_1"+menu_index).addClass( "active" );
1683    
1684    $("[id^='pop_display_1']").hide();
1685
1686      
1687    $('#dm_bg').stop().fadeIn();
1688    $('#pop_box').stop().fadeIn();        
1689    
1690    $("#pop_display_1"+menu_index).show();
1691    
1692}
1693
1694function popup_menu2(menu_index) {
1695
1696    $("[id^='pop_menu_2']").removeClass( "active" );
1697    $("#pop_menu_2"+menu_index).addClass( "active" );
1698    
1699    $("[id^='pop_display_2']").hide();
1700
1701      
1702    $('#dm_bg').stop().fadeIn();
1703    $('#pop_box2').stop().fadeIn();        
1704    
1705    $("#pop_display_2"+menu_index).show();
1706    
1707}      
1708
1709  // ����Ʈ�� Modal
1710  
1711jQuery(function($){
1712	$('.sitemap .mgnavi_depth_close').click(function(e){
1713		e.preventDefault();
1714		$(this).parent().removeClass('active');
1715	});
1716
1717	$('.sitemap .mgnavi_depth_open').click(function(e){
1718		e.preventDefault();
1719		$(this).parent().addClass('active');
1720	});
1721});

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.