<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(function($, viewport){
	$(document).ready(function(){

	

		$('.language-wrap dl dt a').click(function(){
			
			if($('.language-wrap dl dd').css('display') == 'none'){
				$('.language-wrap dl dd').slideDown();
				$(this).removeClass('up');
				$(this).addClass('down');
				
			}else{
				$('.language-wrap dl dd').slideUp();
				$(this).removeClass('down');
				$(this).addClass('up');
			}
			return false;
		});


var windowh =$(window).height(); 
	if(viewport.is('&gt;=md')) {
		menuHover = true;
	}
if(viewport.is('&lt;md')) {
		menuHover = false;
	}





// pc Gnb
$(".gnb h3 a").hover(function() {
		if(viewport.is('&gt;=md')) {
			if(menuHover == true){					
				$(this).addClass("active");
				$(this).parent().parent().find(".depth-menu").show();
				$('.header').addClass('return');
				$(this).parent().parent().hover(function() {
				}, function(){
					if(menuHover == true){
						$(this).find(".depth-menu").hide();
						$(this).find("h3 a").removeClass("active");
						$('.header').removeClass('return')
					}
				});
				
			}
		}
	}); 


	$(".gnb .menu").hover(function() {
		if(viewport.is('&gt;=md')) {
			$(this).find('h3 a').addClass('active');
		}
	},function(){
		if(viewport.is('&gt;=md')) {
			$('.gnb').find('h3 a').removeClass('active');
		}
		
	});


//pc gnb 접근성
$(".gnb h3 a").focus(function() {
	if(viewport.is('&gt;=md')) {	
		$(".gnb").find(".menu &gt; .depth-menu").hide();
		$(this).parent().parent().find(".depth-menu").show();
		//$(this).parent().parent().find("&gt;ul").show();	
	}
});




	$('.search-btn .search-open').click(function(){
			$(this).hide();
			$('.search-btn .search-close').css('display' , 'block');
			$('.top-search-wrap').show();
			$(".top-search-wrap").css('box-shadow' , '2px 2px 2px #eee' );
			$('.header').addClass('return');
			$('#gnb h3 a').css('pointer-events',' none');

			return false;
		});
		$('.search-btn .search-close').click(function(){
			$(this).hide();
			$('.search-btn .search-open').css('display' , 'block');
			$('.top-search-wrap').hide();
			$(".top-search-wrap").css('box-shadow' , 'none' );
			$('.header').removeClass('return');
			$('#gnb h3 a').css('pointer-events',' auto');
			return false;
		});





//모바일 메뉴
	$('.all-menu-open a ').click(function(){
		if(viewport.is('&gt;=md')) {	
			$(".header").addClass('all-menu-header'); 
			$("#gnb").removeClass('gnb'); 
			$("#gnb").addClass('all-menu'); 	
			 $('.all-menu-close a').show();
			 $('.header-btn').hide();
			$("body").css('position' ,'fixed');
		}
		else if(viewport.is('&lt;md')) {
			$(this).hide();
			 $('.m-menu').show(); 
			 $('.all-menu-close a').show();
			 $("body").css('position' ,'fixed');
		}
		return false; 
	});


	$('.all-menu-close a , .back').click(function(){
		if(viewport.is('&gt;=md')) {	
			$(this).hide();
			$('.all-menu-open a').show();
			  $('.header-btn').show();
			$(".header").removeClass('all-menu-header'); 
			$("#gnb").removeClass('all-menu'); 
			$("#gnb").addClass('gnb'); 
			$(".gnb h3 a").removeClass("active");
			$("body").css('position' ,'relative');
		}
		else if(viewport.is('&lt;md')) {
				$(this).hide();
				 $('.m-menu').hide(); 
				 $('.all-menu-open a').show();
				 $("body").css('position' ,'relative');
			}else if(viewport.is('&gt;=md')) {

			
			}
			return false;
		});






$('#gnb ul li a').on('click', function(e){
		if(viewport.is('&lt;md')) {
			$('#gnb ul li ul').slideUp('normal');
			$('#gnb ul li img.icon-open').show(); 
			$('#gnb ul li img.icon-close').hide();

			if($(this).next().length&gt;0) {
				e.preventDefault();
				if($(this).next().is(':hidden') == true) {
					$(this).parent().find('&gt;ul').slideDown('normal');
					$(this).find('.icon-open').hide();
					$(this).find('.icon-close').show();
					return false;
				}
			}
		}
});



		
    $(window).resize(
      viewport.changed(function() {
			
			$('.quick-link').hide(); 
			$('.quick-link-open a').animate({ 'margin-left' : '0' }, 'fast', function() { });
			if(viewport.is('&lt;md')) {
				$('.quick-link').css('margin-left' , '-100%' );
			}else if(viewport.is('&gt;=md')) {
				$('.quick-link').css( 'margin-left' , '-635px');			
			}


			 $('.header-btn').show();
			$("#gnb").removeClass('all-menu'); 
			$("#gnb").addClass('gnb'); 
			$('.header').removeClass('all-menu-header');
			$('.all-menu-open a').show();
			$('.all-menu-close a').hide();
			$('.search-btn .search-close').hide();
			$('.search-btn .search-open').css('display' , 'block');
			$('.top-search-wrap').hide();
			$(".top-search-wrap").css('box-shadow' , 'none' );
			$('#gnb h3 a').css('pointer-events',' auto');

			if(viewport.is('&lt;md')) {
				menuHover = false;
				 $('.m-menu').hide(); 
				 $('.all-menu-open').show();
				 $("#gnb  .depth-menu").show();
			}else if(viewport.is('&gt;=md')) {
				menuHover = true;
				 $('.m-menu').show(); 
				 $('#gnb ul li ul').show(); 
				 $("#gnb  .depth-menu").hide();
					
			}

					
      })
    );

$('.quick-link-open a ').click(function(){

	if(viewport.is('&lt;md')) {
		$(this).animate({ 'margin-left' : '-40px' }, 'fast', function() { });
	}else if(viewport.is('&gt;=md')) {
		$(this).animate({ 'margin-left' : '-135px' }, 'fast', function() { });
	}
	$('.quick-link').show(); 
	$('.quick-link').animate({ 'margin-left' : '0' }, 'fast', function() { });
	return false; 
}); 

$('.quick-link-close a ').click(function(){
	$('.quick-link-open a').animate({ 'margin-left' : '0' }, 'fast', function() { });
	$('.quick-link').hide(); 
	if(viewport.is('&lt;md')) {
		$('.quick-link').animate({ 'margin-left' : '-100%' }, 'fast', function() { });
	}else if(viewport.is('&gt;=md')) {
		$('.quick-link').animate({ 'margin-left' : '-635' }, 'fast', function() { });			
	}
	return false; 
}); 






//풋터 관련사이트
	$('.rel-site dt a').click(function(){
		
		if($('.rel-site  dd').css('display') == 'none'){
			$('.rel-site  dd').slideDown();
			$(this).removeClass('up');
			$(this).addClass('down');
			
		}else{
			$('.rel-site  dd').slideUp();
			$(this).removeClass('down');
			$(this).addClass('up');
		}
		return false;
	});





if ($('#backtotop').length) {
		var scrollTrigger = 100, // px
			backToTop = function () {
				var scrollTop = $(window).scrollTop();
				if (scrollTop &gt; scrollTrigger) {
					$('#backtotop').addClass('show');
				} else {
					$('#backtotop').removeClass('show');
				}
			};
	
		backToTop();

		$(window).on('scroll', function () {
			backToTop();
		});

		$('#backtotop').on('click', function (e) {
			e.preventDefault();
			$('html,body').animate({
				scrollTop: 0
			}, 700);
		});
	}






	});
})(jQuery, ResponsiveBootstrapToolkit);
</pre></body></html>