function go_page(e){var t="http://"+window.location.host+"/";location.href=t+e}!function(e){"undefined"==typeof vanillaZoom?e.vanillaZoom={init:function(e){var t=document.querySelector(e);if(t){var n=t.querySelector(".small-preview"),o=t.querySelector(".zoomed-image");o?n?(o.style.backgroundImage="url("+n.src+")",n.classList.add("active"),t.addEventListener("click",(function(e){var n=e.target;if(n.classList.contains("small-preview")){t.querySelectorAll(".small-preview").forEach((function(e){e.classList.remove("active")})),n.classList.add("active");var a=n.src;o.style.backgroundImage="url("+a+")"}})),o.addEventListener("mouseenter",(function(e){this.style.backgroundSize="250%"}),!1),o.addEventListener("mousemove",(function(e){var t=this.getBoundingClientRect(),n=e.clientX-t.left,o=e.clientY-t.top,a=Math.round(100/(t.width/n)),i=Math.round(100/(t.height/o));this.style.backgroundPosition=a+"% "+i+"%"}),!1),o.addEventListener("mouseleave",(function(e){this.style.backgroundSize="contain",this.style.backgroundPosition="left center"}),!1)):console.error("No preview images on page. Please make sure you are using the right markup."):console.error("No zoomed image element. Please make sure you are using the right markup.")}else console.error("No container element. Please make sure you are using the right markup.")}}:console.log("Library already defined.")}(window),document.getElementsByClassName("clean-gallery").length>0&&baguetteBox.run(".clean-gallery",{animation:"slideIn"}),document.getElementsByClassName("clean-product").length>0&&(window.onload=function(){vanillaZoom.init("#product-preview")}),$((function(){var home="http://"+window.location.host;$("#home_link").attr("href",home+"/index.html"),($("#board").length||$("#fwrite").length)&&$("#page_memo").css("max-width","100%");var CurrentUrl=$(location).attr("href");if($("#page_menu").length)with(CurrentUrl)indexOf("2_10")>0?$("#page_menu10").addClass("active"):indexOf("2_11")>0?$("#page_menu11").addClass("active"):indexOf("2_1")>0?$("#page_menu1").addClass("active"):indexOf("2_2")>0?$("#page_menu2").addClass("active"):indexOf("2_3")>0?$("#page_menu3").addClass("active"):indexOf("2_4")>0?$("#page_menu4").addClass("active"):indexOf("2_5")>0?$("#page_menu5").addClass("active"):indexOf("2_6")>0?$("#page_menu6").addClass("active"):indexOf("2_7")>0?$("#page_menu7").addClass("active"):indexOf("2_8")>0?$("#page_menu8").addClass("active"):indexOf("2_9")>0&&$("#page_menu9").addClass("active");if(0==$("#my_index").length)with(CurrentUrl)indexOf("menu1")>0?$("#page_title h1").text("회사소개"):indexOf("menu2")>0?$("#page_title h1").text("제품안내"):indexOf("menu3")>0&&$("#page_title h1").text("시공실적")})),function(e,t){"use strict";"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.baguetteBox=t()}(this,(function(){"use strict";var e,t,n,o,a,i={},s={captions:!0,buttons:"auto",fullScreen:!1,noScrollbars:!1,bodyClass:"baguetteBox-open",titleTag:!1,async:!1,preload:2,animation:"slideIn",afterShow:null,afterHide:null,onChange:null,overlayBackgroundColor:"rgba(0,0,0,.8)"},l={},r=[],u=0,c=!1,d={},f=!1,g=/.+\.(gif|jpe?g|png|webp)/i,m={},v=[],p=null,h=function(e){-1!==e.target.id.indexOf("baguette-img")&&S()},b=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,A()},y=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,P()},w=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,S()},x=function(e){d.count++,1
',i.captions&&l){var d=X("figcaption");d.id="baguetteBox-figcaption-"+e,d.innerHTML=l,c.appendChild(d)}n.appendChild(c);var f=X("img");f.onload=function(){var n=document.querySelector("#baguette-img-"+e+" .baguetteBox-spinner");c.removeChild(n),!i.async&&t&&t()},f.setAttribute("src",u),f.alt=s&&s.alt||"",i.titleTag&&l&&(f.title=l),c.appendChild(f),i.async&&t&&t()}}function P(){return q(u+1)}function A(){return q(u-1)}function q(e,t){return!c&&0<=e&&e=v.length?(i.animation&&I("right"),!1):(O(u=e,(function(){H(u),Y(u)})),F(),i.onChange&&i.onChange(u,v.length),!0)}function I(e){t.className="bounce-from-"+e,setTimeout((function(){t.className=""}),400)}function F(){var e=100*-u+"%";"fadeIn"===i.animation?(t.style.opacity=0,setTimeout((function(){l.transforms?t.style.transform=t.style.webkitTransform="translate3d("+e+",0,0)":t.style.left=e,t.style.opacity=1}),400)):l.transforms?t.style.transform=t.style.webkitTransform="translate3d("+e+",0,0)":t.style.left=e}function H(e){e-u>=i.preload||O(e+1,(function(){H(e+1)}))}function Y(e){u-e>=i.preload||O(e-1,(function(){Y(e-1)}))}function j(e,t,n,o){e.addEventListener?e.addEventListener(t,n,o):e.attachEvent("on"+t,(function(e){(e=e||window.event).target=e.target||e.srcElement,n(e)}))}function z(e,t,n,o){e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent("on"+t,n)}function M(e){return document.getElementById(e)}function X(e){return document.createElement(e)}return[].forEach||(Array.prototype.forEach=function(e,t){for(var n=0;n':"<",e.appendChild(n),(o=X("button")).setAttribute("type","button"),o.id="next-button",o.setAttribute("aria-label","Next"),o.innerHTML=l.svg?'':">",e.appendChild(o),(a=X("button")).setAttribute("type","button"),a.id="close-button",a.setAttribute("aria-label","Close"),a.innerHTML=l.svg?'':"×",e.appendChild(a),n.className=o.className=a.className="baguetteBox-button",function(){var i=l.passiveEvents?{passive:!1}:null,s=l.passiveEvents?{passive:!0}:null;j(e,"click",h),j(n,"click",b),j(o,"click",y),j(a,"click",w),j(t,"contextmenu",E),j(e,"touchstart",x,s),j(e,"touchmove",k,i),j(e,"touchend",C),j(document,"focus",B,!0)}()}(),_(i),function(e,t){var n=document.querySelectorAll(e),o={galleries:[],nodeList:n};return m[e]=o,[].forEach.call(n,(function(e){t&&t.filter&&(g=t.filter);var n=[];if(n="A"===e.tagName?[e]:e.getElementsByTagName("a"),0!==(n=[].filter.call(n,(function(e){if(-1===e.className.indexOf(t&&t.ignoreClass))return g.test(e.href)}))).length){var a=[];[].forEach.call(n,(function(e,n){var o=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1,N(a,t),T(n)},i={eventHandler:o,imageElement:e};j(e,"click",o),a.push(i)})),o.galleries.push(a)}})),o.galleries}(i,s)},show:q,showNext:P,showPrevious:A,hide:S,destroy:function(){!function(){var i=l.passiveEvents?{passive:!1}:null,s=l.passiveEvents?{passive:!0}:null;z(e,"click",h),z(n,"click",b),z(o,"click",y),z(a,"click",w),z(t,"contextmenu",E),z(e,"touchstart",x,s),z(e,"touchmove",k,i),z(e,"touchend",C),z(document,"focus",B,!0)}(),function(){for(var e in m)m.hasOwnProperty(e)&&_(e)}(),z(document,"keydown",L),document.getElementsByTagName("body")[0].removeChild(document.getElementById("baguetteBox-overlay")),m={},r=[],u=0}}})),document.querySelectorAll("[data-bss-baguettebox]").length>0&&baguetteBox.run("[data-bss-baguettebox]",{animation:"slideIn"});