function tcopy(n){var t=document.body.createTextRange();t.moveToElementText(document.all(n));t.select();t.execCommand("copy")}function laypop_bak(n,t,i,r,u,f,e){function v(){jQuery("html, body").animate({scrollTop:s+"px"},function(){jQuery(".gnbMenu li").on("mouseover",function(){var n=jQuery(this).attr("class");jQuery(".gnb2DepthBox").hide();jQuery(".d2"+n).show()})})}var h,o,c,l,a;r&&(h="
<\/p>
<\/a><\/p><\/div><\/div>");jQuery("body").append(h);o="POST";r!=null&&r.indexOf(".html")>0&&(o="GET");c=function(){jQuery.ajax({type:o,url:r,success:function(t){var o,s,u,r;if(typeof t=="object"&&t.rsCd=="LOGIN"){o=document.location.href.replace(/^[^:]+:\/\/[^/]+/,"").replace(/#.*/,"");location.href="/sg/Home/Account/Login?rpage="+encodeURIComponent(o);$(".layPopWp."+n).find(".laypX, .popExit").trigger("click");return}jQuery(".laypC."+n).append(t);s=jQuery("."+n+" .ctnbody").innerHeight();u=i-60;f?jQuery(".laypC."+n).css({overflow:"scroll","overflow-x":"hidden",height:u}):jQuery(".laypC."+n).css({height:u});jQuery(".popExit").on("click",function(){jQuery(".layPopWp").remove();jQuery("body").css({overflow:"auto"});jQuery(".gnbMenu li").on("mouseover",function(){jQuery(".gnb2DepthBox").hide()});v()});r=$.extend({},{initFuncName:"",initFuncArgs:null,rtnFunc:null},e);typeof r.initFuncName=="string"&&r.initFuncName.length>0&&window[r.initFuncName](r.initFuncArgs);typeof r.rtnFunc=="function"&&(window.rtnFunc=r.rtnFunc)}})};jQuery("."+n+" .layPop").animate({width:t},300,c);jQuery("."+n+" .layPop").css({height:i});jQuery(".laypT").append(u);u==""&&jQuery(".laypT").css({margin:"0"});var y=jQuery(window).innerHeight(),p=jQuery(document).innerHeight(),s=jQuery(window).scrollTop();jQuery("html, body").animate({scrollTop:s+"px"});l=jQuery("."+n+" .layPop").innerHeight()/2-s;a=y/2-l;jQuery("body").css({overflow:"hidden"});jQuery(".layPopWp."+n).css({height:p});jQuery("."+n+" .layPop").css({"margin-top":a});jQuery(".laypX, .popExit").on("click",function(){n=="one"&&jQuery("body").css({overflow:"auto"});jQuery("."+n).remove();jQuery(".gnbMenu li").on("mouseover",function(){jQuery(".gnb2DepthBox").hide()});v()})}function laypop(n,t,i,r,u,f,e){$.ajax({type:"GET",url:r,dataType:"html",cache:!1,success:function(r){function w(){$("html, body").animate({scrollTop:h+"px"},function(){$(".gnbMenu li").on("mouseover",function(){var n=$(this).attr("class");$(".gnb2DepthBox").hide();$(".d2"+n).show()})})}var a=" <\/p> <\/a><\/p><\/div><\/div>",v,s,c,l,o;$("body").append(a);v=$("."+n+" .ctnbody").innerHeight();s=i-60;f?$(".laypC."+n).css({overflow:"scroll","overflow-x":"hidden",height:s}):$(".laypC."+n).css({height:s});$("."+n+" .layPop").css({width:t,height:i});$(".layPopWp."+n).find(".laypT").append(u);u==""&&$(".laypT").css({margin:"0"});var y=$(window).innerHeight(),p=$(document).innerHeight(),h=$(window).scrollTop();$("html, body").animate({scrollTop:h+"px"});c=$("."+n+" .layPop").innerHeight()/2-h;l=y/2-c;$("body").css({overflow:"auto"});$(".layPopWp."+n).css({height:p});$("."+n+" .layPop").css({"margin-top":l});$(".laypX, .popExit").on("click",function(){n=="one"&&$("body").css({overflow:"auto"});$("."+n).remove();$(".gnbMenu li").on("mouseover",function(){$(".gnb2DepthBox").hide()});w()});$(".laypC."+n).append(r);$(".layPopWp."+n).show();$(".popExit").unbind("click");$(".popExit").on("click",function(){$(".laypX").trigger("click")});o=$.extend({},{initFuncName:"",initFuncArgs:null,rtnFunc:null},e);typeof o.initFuncName=="string"&&o.initFuncName.length>0&&window[o.initFuncName](o.initFuncArgs);typeof o.rtnFunc=="function"&&(window.rtnFunc=o.rtnFunc)},error:function(n){try{if(n!=null&&n.status==401){var t=document.location.href.replace(/^[^:]+:\/\/[^/]+/,"").replace(/#.*/,"");location.href="/sg/Home/Account/Login?rpage="+encodeURIComponent(t);return}$("#errMstLayer").empty().append("시스템 장애가 발생하였습니다.
고객센터로 문의해 주시기 바랍니다.
["+n.status+"] "+n.statusText);$("#errDialog").dialog({modal:!0,title:"안내",buttons:{Ok:function(){$(this).dialog("close");$("#errMstLayer").empty()}},zIndex:200001})}catch(i){alert("시스템 장애가 발생하였습니다.\r\n고객센터로 문의해 주시기 바랍니다")}}})}var CalendarType,Calendar;jQuery(function(){function f(){var n,t;n=jQuery(".quick").attr("class")=="quick sub"?10:210;var u=jQuery("#aside").position().top+n,f=jQuery(document).scrollTop(),r=u-f;r<=0?(jQuery(".cctt").html(r),jQuery(".fixed").css({position:"fixed","z-index":"20",top:10})):jQuery(".fixed").css({position:"absolute","z-index":"20",top:0});jQuery(document).scrollTop()>=i&&(t=jQuery(".quick").attr("class")=="quick sub"?214:414,jQuery(".fixed").css({position:"absolute","z-index":"20",top:i-t}))}function t(){var n=window.navigator.userAgent,t=n.indexOf("MSIE ");return t>0?parseInt(n.substring(t+5,n.indexOf(".",t))):0}var n;jQuery(".numberic").each(function(){jQuery(this).text(jQuery(this).text().replace(/[^0-9]/g,""));jQuery(this).text(jQuery(this).text().split(/(?=(?:\d{3})+(?:\.|$))/g).join(","))});jQuery("input.disabled, select.disabled, textarea.disabled").attr("disabled","disabled");jQuery("input.disabled, select.disabled, textarea.disabled").css({background:"#f5f5f5"});jQuery(".gnbMenu > li a").on("click",function(){var n=jQuery(this).parent().index();if(jQuery(".gnb2DBox").height()==105&&jQuery(".gnbMenu li").eq(n).find("a").hasClass("active")==!0){jQuery(".gnb2DBox").animate({height:"0"},100);jQuery(".gnbMenu li a").removeClass("active");jQuery(".gnb2Depth li a").removeClass("active");return}jQuery(".gnbMenu li a").removeClass("active");jQuery(".gnbMenu li").eq(n).find("a").addClass("active");jQuery(".gnb2DBox").animate({height:"105px"},100);jQuery(".gnb3,.gnb3").hide();jQuery(".gnb2").find("ul").hide();jQuery(".gnb3").find("ul").hide();jQuery(".gnb2").show();jQuery(".gnb2").find("ul").eq(n).show();jQuery(".gnb2Depth li a").on("click",function(){var i=jQuery(this).parent().index(),t=n+1;jQuery(".gnb2Depth li a").removeClass("active");jQuery(this).addClass("active");jQuery(".gnb3").hide();jQuery(".gnb3").find("ul").hide();jQuery(".gnb3Depth"+t).show();jQuery(".gnb3Depth"+t).find("ul").eq(i).show()})});if(jQuery(".gnbMenu > li a").each(function(){var t=jQuery(this).attr("class"),n;if(t=="active"){n=jQuery(this).parent().index();jQuery("#nav").on("mouseleave",function(){jQuery(".gnbMenu > li").find("a").removeClass("active");jQuery(".gnbMenu > li").eq(n).find("a").addClass("active")})}}),jQuery("#footer").size()!=0)var r=jQuery("#footer").position().top+50,u=jQuery(".fixed").height(),i=r-u;jQuery(".quick").size()!=0&&jQuery(window).scroll(function(){f()});jQuery(".len").on("click",function(){jQuery(this).next().show();jQuery(".lenList").on("mouseleave",function(){jQuery(this).hide()})});jQuery(".site").on("click",function(){jQuery(this).next().show();jQuery(".ftList").on("mouseleave",function(){jQuery(this).hide()})});jQuery(".pguide, .pguideCart").on("mouseover",function(){jQuery(this).next().show();jQuery(this).parent().next().show();var n=jQuery(this).next().width()/3;jQuery(".palt img").css({left:n+"px"})});jQuery(".pguide2").on("click",function(){jQuery(this).next().show();jQuery(this).parent().next().show();tcopy("emailCopy");var n=jQuery(this).next().width()/3;jQuery(".palt img").css({left:n+"px"})});jQuery(".pguide,.pguide2").on("mouseout",function(){jQuery(this).next().hide();jQuery(this).parent().parent().find(".palt").hide()});jQuery(".proVpalt").on("mouseleave",function(){jQuery(this).hide()});jQuery(".tableStyle4 tbody tr:last-child").find("th, td").css({"border-bottom":"1px solid #dcdcdc"});jQuery(".scTable1 tbody").find("th:last-child p, td:last-child p").css({color:"#1a91f5"});n=-1;jQuery(".scTable1 td").each(function(){var t,i;n++;0<=n&&n<15&&(t=jQuery(".scTable1 td").eq(n).find("p").text(),25<=t&&t<32&&jQuery(".scTable1 td").eq(n).css({background:"#f6f6f6",color:"#ccc"}));25