!function(a){a.fn.navi=function(b){var c=jQuery.extend({show:{height:"show"},hide:{opacity:"hide"},speed:"fast",delay:0,click:!1},b),d=!1;return 1==a.browser.msie&&(d=parseInt(a.browser.version)),this.each(function(){var b=a(this);b.find("li:has(ul)").hover(function(){a(this).addClass("hover"),c.click&&"#"==a(this).children("a").attr("href")||(0==c.speed||d&&d<=6?a(this).children("ul,div").show():a(this).children("ul:not(:animated),div:not(:animated)").animate(c.show,c.speed))},function(){if(a(this).removeClass("hover"),!c.click||"#"!=a(this).children("a").attr("href")){var b=a(this);setTimeout(function(){b.hasClass("hover")||(0==c.speed||d&&d<=6?b.children("ul,div").hide():b.children("ul,div").animate(c.hide,c.speed))},c.delay)}}),b.find("a").focus(function(){a(this).parent("li").prev("li").find("ul").hide(),a(this).parent("li").next("li").find("ul").hide(),c.click&&"#"==a(this).attr("href")||a(this).next("ul,div").show()}),b.find("a").click(function(){if("#"==a(this).attr("href"))return c.click&&("block"==a(this).next("ul,div").css("display")?a(this).next("ul,div").hide():a(this).next("ul,div").show()),!1})}),this},window.GS_AD_BOOKMARK=function(){return"object"==typeof window.sidebar&&"function"==typeof window.sidebar.addPanel?window.sidebar.addPanel(document.title,window.location.href,""):window.external&&"AddFavorite"in window.external?window.external.AddFavorite(location.href,document.title):window.opera&&window.print?this.title=document.title:alert("즐겨찾기에 추가하시려면 "+(navigator.userAgent.toLowerCase().indexOf("mac")!=-1?"Command/Cmd":"CTRL")+" + D 버튼을 눌러주세요."),!1},window.GS_LOGIN_AJAX=function(b){var c=a(b);return a.exec_json("member.procMemberLogin",{user_id:c.find("[name=user_id]").val(),password:c.find("[name=password]").val()},function(a){a.error?alert(a.message):location.reload()}),!1}}(jQuery),jQuery(function(a){var b={delay:100},c=a("#gnb");"string"==typeof c.attr("data-ani")&&"0"==c.attr("data-ani")&&(b.speed=0),c.navi(b),c.find("li li:has(ul) > a").addClass("sub"),a("#header .language .on button").click(function(){a("#header .language .ul").toggleClass("ul_on")}),a("#column .ext .t a[href=#], #footer .map a[href=#]").click(function(){return!1})}),function(a){var b,c,d,e=function(e){var f=a.cookie(e);"string"==typeof f&&"1"==f?(a.cookie(e,"0",{path:"/"}),c.html(configContainerLayer.html),b.removeClass("containerLayerClose"),configContainerLayer.cookie?d.addClass("wrapContainerLayer"):d.removeClass("wrapStyleDefault")):(a.cookie(e,"1",{path:"/"}),c.html(""),b.addClass("containerLayerClose"),configContainerLayer.cookie?d.removeClass("wrapContainerLayer"):d.addClass("wrapStyleDefault"))};window.toggleContainerLayer=function(){"function"==typeof a.cookie?e("toggleContainerLayer"):a.cachedScript(default_url.replace(/^[^\/]+\/\/[^\/]+(\/.*)$/,"$1")+"layouts/elkha_graystyle/js/jquery-cookie/jquery.cookie.js").done(function(){e("toggleContainerLayer")})},"function"!=typeof jQuery.cachedScript&&(jQuery.cachedScript=function(b,c){return c=a.extend(c||{},{dataType:"script",cache:!0,url:b}),jQuery.ajax(c)}),a(function(){"object"==typeof configContainerLayer&&(b=a(".containerLayer"),c=b.find(".contentLayer"),d=a("#wrap"),configContainerLayer.cookie||c.html(configContainerLayer.html))})}(jQuery);