function stopBubble(n){n&&n.stopPropagation?n.stopPropagation():window.event.cancelBubble=!0}function scrollStop(){document.body.style.overflow="hidden";document.addEventListener("touchmove",mo,!1)}function scrollMove(){document.body.style.overflow="";document.removeEventListener("touchmove",mo,!1)}function footlinkFn(){for(var t,i,n=0;n<$(".foot-list").length;){if($(".foot-list").eq(n).find("dd").length>5)for($(".foot-list").eq(n).addClass("big6"),t=5;t<$(".big6 dd").length;)i=(t-5)*36,$(".big6 dd").eq(t).css("top",i+"px"),t++;else $(".foot-list").eq(n).addClass("big5");n++}}function popShowFn(n,t){var i=$(n),u=i.find(".pop-zhe"),f=i.find(".pop-inner"),r=t;i.fadeIn(200,function(){u.show();f.fadeIn(200,function(){i.addClass("open");r!=null&&r()})})}function popTipsFn(n,t){var n=n,t=t,i=$(".pop-tips-box");switch(n){case"success":i.removeClass("error warning word");i.addClass("success");break;case"error":i.removeClass("success warning word");i.addClass("error");break;case"warning":i.removeClass("error success word");i.addClass("warning");break;default:i.removeClass("error warning success");i.addClass("word")}i.find(".tip-desc").html(t);popShowFn(i)}function anchorMove(n){var t=$(n),i=t.offset().top-parseInt($(".header").outerHeight())-20;$("html,body").animate({scrollTop:i},300)}function codeFn(){if($(window).width()>991){$(".foot-link .right .code-list .txt").hide();$(".foot-link .right .code-list").on("mouseenter",function(){$(this).find(".code").show();$(this).find(".txt").show()}).on("mouseleave",function(){$(window).width()>991?($(this).find(".code").hide(),$(this).find(".txt").hide()):($(this).find(".code").hide(),$(".foot-link .right .code-list .txt").show())})}else $(".foot-link .right .code-list .txt").show(),$("body>*").bind("click",function(){}),$(".foot-link .right .code-list").bind("click",function(n){var t=$(this).index();$(".foot-link .right .code-list").eq(t).find(".code").show();$(".foot-link .right .code-list").eq(t).siblings().find(".code").hide();$(this).find(".txt").show();$("body").one("click",function(){$(".foot-link .right .code-list .code").hide();$(".foot-link .right .code-list .txt").show()});n.stopPropagation()})}function SetCookie(n,t){delCookie(n);var i=new Date;i.setTime(i.getTime()+864e5);t!=null&&t!=""&&(document.cookie=n+"="+t+";expires="+i.toGMTString())}function getCookie(n){for(var i,r=document.cookie.split("; "),t=0;t991){var n=new WOW({boxClass:"wow",animateClass:"animated",offset:100,mobile:!0,live:!0});/msie [6|7|8|9]/i.test(navigator.userAgent)||n.init()}});$(window).load(function(){$(".scrollbox").length>0&&$(".scrollbox").mCustomScrollbar({updateOnContentResize:!0,autoHideScrollbar:!0,autoDraggerLength:!1,advanced:{autoExpandHorizontalScroll:!0}})});$(".btn-sch-open").on(tap,function(){$(".header").addClass("open")});$(".btn-sch-close").on(tap,function(){$(".header").removeClass("open")});$(window).load(function(){footlinkFn()});$(window).resize(function(){var n=$(window).width();n>1200&&($(".head-nav-open").removeClass("active"),$(".head-nav-close").hide(),$(".ph-nav").hide(),$(".ph-item").removeClass("on"),$(".ph-item2").hide(),$(".ph-search-box").removeClass("active"),scrollMove())});$(".blogroll-tit").on(tap,function(n){$(".blogroll-tit").toggleClass("active");$(".blogroll-con").stop(!0,!0).slideToggle(300);stopBubble(n)});$("body").click(function(){$(".blogroll-tit").removeClass("active");$(".blogroll-con").stop(!0,!0).slideUp(300)});$(".item-link").mouseenter(function(){$(this).parent(".nav-item").find(".nav-item2-box").addClass("nav-hov");$(this).parent(".nav-item").find(".nav-item2-con").show()});$(".nav-item").mouseleave(function(){$(this).find(".nav-item2-box").removeClass("nav-hov");$(this).find(".nav-item2-con").hide();$(".nav-item3").hide()});$(".item-link2").mouseenter(function(){$(".nav-item3").hide();$(".act").removeClass("act");$(this).addClass("act");$(this).siblings(".nav-item3").show()});$(".CN").mouseenter(function(){$(this).parents(".head-browser").find(".broswer-item").addClass("nav-hovon");$(this).parents(".head-browser").find(".broswer-item-con").show()});$(".head-browser").mouseleave(function(){$(this).find(".broswer-item").removeClass("nav-hovon");$(this).find(".broswer-item-con").hide()});$(".head-nav-open").on(tap,function(){$(this).addClass("active");$(".head-nav-close").show();$(".ph-nav").stop(!0,!0).slideDown(300);scrollStop()});$(".head-nav-close").on(tap,function(){$(".head-nav-open").removeClass("active");$(".head-nav-close").hide();$(".ph-nav").stop(!0,!0).slideUp(300);$(".ph-item2").stop(!0,!0).slideUp(300);scrollMove()});$(".ph-link2>span").bind("click",function(){$(this).parent().siblings().find(".ph-link3-box").slideUp();$(this).siblings(".ph-link3-box").stop().slideToggle();$(this).parent().toggleClass("on")});$(".ph-link1").on(tap,function(){var n=$(this).parents(".ph-item").index();$(".ph-link3-box").slideUp();$(".ph-link2").removeClass("on");$(".ph-item").eq(n).addClass("on").siblings().removeClass("on");$(".ph-item").eq(n).siblings().find(".ph-item2").slideUp(300);$(".ph-item").eq(n).find(".ph-item2").stop(!0,!0).slideToggle(300)});$(".ph-icon").on(tap,function(){var n=$(this).parents(".ph-item").index();$(".ph-item").eq(n).addClass("on").siblings().removeClass("on");$(".ph-item").eq(n).siblings().find(".ph-item2").slideUp(300);$(".ph-item").eq(n).find(".ph-item2").stop(!0,!0).slideToggle(300)});$(".ph-item2").on(tap,function(n){stopBubble(n)});$(".ph-link1 a").on(tap,function(n){stopBubble(n)});$(".id2").click(function(){$(".head-nav-open").removeClass("active");$(".head-nav-close").hide();$(".ph-nav").stop(!0,!0).slideUp(300);$(".ph-item2").stop(!0,!0).slideUp(300);scrollMove();var n=$(this).attr("name"),i=n,t=$("#"+n).offset().top;$("html,body").animate({scrollTop:t},300)});$(".ph-search img").on(tap,function(){$(".ph-search-box").addClass("active")});$(".hwic_cross").on(tap,function(){$(".ph-search-box").removeClass("active")});$(".soc-box-third .list-btn").on(tap,function(){$(".soc-box-third .column .doc p").show();$(this).hide()});$(".pop-close, .pop-cancel").on(tap,function(){$(this).parents(".pop-box").removeClass("open").fadeOut(350)});$(".tab").on(tap,function(){$(this).addClass("active").siblings(".tab").removeClass("active")});$(window).load(function(){codeFn()});$(window).resize(function(){codeFn()});$(window).load(function(){$(window).scrollTop()<200&&$(".topbar").fadeOut(0)});$(".topbar").on(tap,function(){$("html,body").animate({scrollTop:0},200)});$(window).scroll(function(){$(window).scrollTop()>200?$(".topbar").fadeIn(800):$(".topbar").fadeOut(0)});document.body.addEventListener("touchstart",function(){});window.onload=function(){for(var t=document.querySelectorAll("a"),n=0;n