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>

<\/div>

<\/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="