var Transform=function(){for(var s=["webkit","Moz","ms","O"],h=document.createElement("div"),e,n,t={},c,o,u,f,l,i,r=0;r<s.length;r++)h.style[s[r]+"Transform"]===""&&(n=s[r]),h.style.transform===""&&(n="none");if(n){for(e=n==="none"?"transform":n+"Transform",c=function(n,t,i){var r,f=n.style[e],u;if(i=t+"("+i+")",f.length===0){n.style[e]=i;return}for(r=f.split(" "),u=0;u<r.length;u++)r[u].trim(),r[u].indexOf(t)>-1&&r.splice(u,1);r.push(i),n.style[e]=r.join(" ")},o=["scale","scaleX","scaleY","scaleZ","scale3d","translate","translateX","translateY","translateZ","translate3d","rotateX","rotateY","rotateZ","rotate3d","skew","skewX","skewY"],u=0;u<o.length;u++)t[o[u]]=function(){var n=o[u];return function(t){return c(this.element,n,t),this}}();for(f=["transition","transitionDuration","transitionProperty","transitionTimingFunction","transitionDelay","transformOrigin","transformOriginY","transformOriginX","transformOriginZ","transformStyle","perspective"],l=function(n){var t=n.slice(0,1).toUpperCase(),i=n.slice(1);return t+i},i=0;i<f.length;i++)t[f[i]]=function(){var t=n==="none"?f[i]:n+l(f[i]);return function(n){return n===undefined&&(n=""),this.element.style[t]=n,this}}();return t.transform=function(t){return this.element.style[n==="none"?"transform":n+"Transform"]=t||"",this},t.preserve3d=function(){return this.element.style[n==="none"?"transformStyle":n+"TransformStyle"]="preserve-3d",this},t.opacity=function(n){return this.element.style.opacity=n,this},function(n,i){var r,u;return(i=i||document,typeof n=="string"&&(n=i.querySelector(n)),n)?(r=function(){},r.prototype=t,u=new r,u.element=n,u):!1}}}(),hpbannertext=[{projectid:1,title:"יקב טוליפ",lines:["יקב טוליפ הינו יקב בוטיק אשר משלב באופן ייחודי ייצור יינות בוטיק ותרומה לקהילה. היקב שוכן בכפר מיוחד לאנשים עם צרכים מיוחדים.","באתר החדש ליקב טוליפ יצרנו חזות חדשה מבחינת העיצוב והסגנון. התהליך כולו כלל ייצור קונספט שיווקי חדש ללקוח ופיתוח אתר תדמיתי ושיווקי שמכיל מגוון רב של מידע על היקב ועל כל היינות המיוצרים בו תוך מתן דגש על אופן הצפת המידע לגולש ויצירת ממשק נוח וידידותי הן לגולש והן ללקוח."],link:"/בניית-אתרי-תדמית/יקב-טוליפ"},{projectid:2,title:"דייהטסו ישראל",lines:['פרוייקט של חברת דייהטסו להצגה איכותית ונכונה של פריסת מרכזי השרות בארץ. הבסיס להקמת האתר בראש ובראשונה הינו מתן שרות ללקוחות החברה, תוך עמידה בסטנדרטים ובחזון החברה של "Innovation for tomorrow", כלומר חידוש וחדשנות.',"האתר מהווה מרכז מידע ללקוחות החברה בכל מה שקשור לשרות הלקוחות כולל מפה אינטראקטיבית שבה מוצגים כל מרכזי השרות ( בלחיצה על מרכז ניתן לראות את המידע הרלבנטי אליו), אפשרות לפתוח קריאות שרות ועוד..."],link:"/בניית-אתרי-תדמית/דייהטסו-ישראל"},{projectid:3,title:"Comsec",lines:["חברת קומסק הינה חברה מובילה בשוק במתן שירותי אבטחת סייבר ומידע.","בפיתוח אתר עבור חברה זו, התמודדנו מול אתגר נוסף שהינו עמידה בתקני אבטחת מידע מחמירים ביותר, אתגר עימו התמודדנו בהצלחה יתרה.","מעבר לכך, פיתוח האתר כלל תהליך אפיון ומחקר מעמיק של תחום אבטחת המידע, עיצוב ופיתוח אתר ריספונסיבי בפורמט של סינגל פייג' ופיתוח מורכב וייחודי של מערכת ניהול תוכן המאפשרת ניהול ועדכון תוכן האתר תוך שמירה קפדנית על דרישות אבטחת המידע המחמירות."],link:"/בניית-אתרים-ריספונסיביים/comsec"},{projectid:4,title:"SkiDeal",lines:["חברת Skideal הינה המותג המוביל בארץ לתיירות סקי וחברת dooble נבחרה על מנת לפתח אתר חדש שיידע להציג את המובילות והייחודיות של החברה ברשת האינטרנט.","בהקמת האתר בוצע מחקר מעמיק, תהליך של אפיון ממשק המשתמש וכמובן גיבוש קונספט גרפי ועיצוב. באתר מוצגות באופן בהיר ונוח כל מגוון חבילות הסקי עם אפשרות הזמנה און-ליין (מעבר של שלבים בהזמנה תוך כדי מתן הנחות לגולש), חדשות וכתבות, גלריות תמונות ווידאו מאתרי סקי בעולם, מפת מזג אויר בזמן אמת מאתרי הסקי השונים, מפות אינטראקטיביות ועוד. לאתר זה פיתחנו כמובן גם אתר מותאם למובייל על מנת לתת ללקוחות סקי דיל מענה מושלם וחווית גלישה נוחה ונעימה.",],link:"/בניית-אתר-סלולרי/סקי-דיל"},{projectid:5,title:"טלי ספורט",lines:["טלי ספורט הינה חברה המתמחה ביבוא, ייצור ושיווק ציוד בסיסי ומקצועי לשחייה  על כל צורותיה. עבור הלקוח הקמת האתר הראשון מהווה אבן דרך לאחר שנים בהם החברה שירתה את לקוחותיה באמצעות חנויות ודוכנים בארועי ספורט למיניהם. כאשר הם בחרו בנו כחברה המפתחת, הרעיון שעמד בבסיס התכנון והמחקר הוא שצריך לפתח אתר שיהיה עם חזות ספורטיבית, יציג את המידע באופן חדשני עם יכולות ניווט ורכישה קלות ונוחות למשתמש.","חשוב היה להדגיש את העובדה כי חברת טלי ספורט נגישה וזמינה כעת גם באמצעות אתר אינטרנט איכותי ומרהיב."],link:"/בניית-חנויות-וירטואליות/טלי-ספורט"},{projectid:6,title:"AdKit",lines:["Adkit הינה חברה המתמחה במחקר אסטרטגי. היות וחברת אדקיט מספקת מחקר ושרותים אנליסטיים לחברות מובילות בארץ ובעולם, זיהינו את הצורך בפיתוח אתר חדשני מבחינת טכנולוגיות ואתר בעל נראות בינלאומית.","בפיתוח האתר בוצע תהליך של מחקר, אפיון טכני ו-UI/UX, גיבוש קונספט, עיצוב ופיתוח. לאחר המחקר הגנו למסקנה כי הפתרון הוא לפתח אתר Single Page – אתר בעל עמוד אחד מתמשך שנועד להעצים את חווית הגולש ולהציף את כל המידע על החברה באופן חדשני וייחודי."],link:"/בניית-אתרי-תדמית/adkit"},{projectid:7,title:"HTC",lines:["הקמת חנות וירטואלית עבור טאצ' גרופ בע\"מ, היבואנית הרשמית והנציגות הבלעדית של חברת  HTC  בישראל. האתר עוצב בקווים נקיים ושקטים המותאמים למותג עצמו. באתר אנו מציגים קטלוג דינאמי של מכשירי הסלולר, טאבלטים ואביזרים לסלולר.","מאחר ומדובר באתר סחר און ליין שהוקם למטרות מסחר , נתנו דגש רב על אופן הצגת המוצרים, תהליך הרכישה וחשוב לא פחות על הנעת הגולש לפעולה כבר בעמוד הבית, באמצעות הצגת מכשירים פופלאריים ומבצעים חמים."],link:"/בניית-חנויות-וירטואליות/htc"}];$(function(){console.log(hpbannertext),$("[data-projectid]").each(function(){var n=$(this),r=parseInt(n.attr("data-projectid"),10),t=function(){for(var n in hpbannertext)if(hpbannertext[n].projectid==r)return hpbannertext[n]}(),i;n.find(".collage-info-title").first().html(t.title),i=function(){var i=[],r,n;for(r in t.lines)n=$("<p><\/p>"),n.text(t.lines[r]),i.push(n);return i}(),n.find(".collage-info-text").first().html(i),n.find("a.collage-info-btn").first().attr("href",t.link).text("לדף הפרוייקט")})}()),function(n,t){
/*!
 * enquire.js v2.1.0 - Awesome Media Queries in JavaScript
 * Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/enquire.js
 * License: MIT (http://www.opensource.org/licenses/mit-license.php)
 */
function i(t){this.states=t.states||[],this._state=this.getState(),this.watchState(),n.event.trigger("state:init",[this._state])}function r(){var i=-1,n,t;return navigator.appName=="Microsoft Internet Explorer"?(n=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})"),t.exec(n)!=null&&(i=parseFloat(RegExp.$1))):navigator.appName=="Netscape"&&(n=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})"),t.exec(n)!=null&&(i=parseFloat(RegExp.$1))),i}!function(n,i,r){var u=t.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=r(u):"function"==typeof define&&define.amd?define(function(){return i[n]=r(u)}):i[n]=r(u)}("enquire",this,function(n){"use strict";function t(n,t){var r,i=0,u=n.length;for(i;u>i&&(r=t(n[i],i),r!==!1);i++);}function f(n){return"[object Array]"===Object.prototype.toString.apply(n)}function e(n){return"function"==typeof n}function i(n){this.options=n,n.deferSetup||this.setup()}function r(t,i){this.query=t,this.isUnconditional=i,this.handlers=[],this.mql=n(t);var r=this;this.listener=function(n){r.mql=n,r.assess()},this.mql.addListener(this.listener)}function u(){if(!n)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!n("only all").matches}return i.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(n){return this.options===n||this.options.match===n}},r.prototype={addHandler:function(n){var t=new i(n);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(n){var i=this.handlers;t(i,function(t,r){if(t.equals(n))return(t.destroy(),!i.splice(r,1))})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){t(this.handlers,function(n){n.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var n=this.matches()?"on":"off";t(this.handlers,function(t){t[n]()})}},u.prototype={register:function(n,i,u){var o=this.queries,s=u&&this.browserIsIncapable;return o[n]||(o[n]=new r(n,s)),e(i)&&(i={match:i}),f(i)||(i=[i]),t(i,function(t){o[n].addHandler(t)}),this},unregister:function(n,t){var i=this.queries[n];return i&&(t?i.removeHandler(t):(i.clear(),delete this.queries[n])),this}},new u}),i.prototype.watchState=function(){var i=this;n(t).on("resize",n.throttle(10,function(){var r=i._state,t=i.getState();r!==t&&(i._state=t,n.event.trigger("state:changed",[t,r]))}))},i.prototype.getState=function(){var n=t.getComputedStyle(document.body,":after").getPropertyValue("content");return navigator.userAgent.indexOf("Firefox")>-1&&(n=n.replace(/"/g,"")),n},i.prototype.eq=function(n){if(n===this._state)return!0},i.prototype.lt=function(n){var t=this.states.indexOf(this._state),i=this.states.indexOf(n);return t<i},i.prototype.gt=function(n){return this.eq(n)?!1:!this.lt(n)},i.prototype.stateNum=function(){return this.states.indexOf(this.getState())},Modernizr.csstransitions?r()>9?function(n,t){"use strict";n("html").addClass("ie10"),t.getComputedStyle||(t.getComputedStyle=function(n){return this.el=n,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return t=="float"&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),n.currentStyle[t]?n.currentStyle[t]:null},this});var r=n(document);(function(){var g=new i({states:["mobile","intermediate","wide","desktop-small","desktop-large"]}),nt=new gnMenu(document.getElementById("gn-menu")),l,p,o,v;n(".gn-menu-wrapper").on("touchmove",function(){return!1});l=new Swiper(".swiper-container",{pagination:".pagination",paginationClickable:!0,loop:!0,slidesPerView:t.innerWidth>1200?3:t.innerWidth>768?2:1}),l.reInit(),p=n(".collage"),o=n(".collage-info").hide(),o[0].parentNode.removeChild(o[0]),n(".collage-fixed")[0].appendChild(o[0]),n(".box-bottom").hide(),o.css("background-color","#000");var u=n(".clg-itm"),w=n("body"),b=n(".controls"),s=n(".collage-info-section"),h=Transform(".collage-in").transition("all 0.75s ease-in-out").opacity(0),c,e,tt=n(".page"),it=n(".page-open"),rt=n(".gn-menu-item"),ut=n(".site-footer"),a="810px",f=!1;u[0].displaySection=s[0],u[1].displaySection=s[1],u[2].displaySection=s[2],u[3].displaySection=s[3],u[4].displaySection=s[4],u[5].displaySection=s[5],u[6].displaySection=s[6],v=function(){a=h.element.scrollHeight+"px"},n(t).resize(function(){setTimeout(v,1e3)});var y=function(n){var i=h.element.clientWidth,u=h.element.clientHeight,r=n.clientWidth,f=n.clientHeight,e=n.offsetLeft,o=n.offsetTop,t=i/r+1;return{scale:t,x:(i/2-(e+r/2))*t+"px",y:(u/2-(o+f/2))*t+"px"}},k=function(t){if(!f){f=!0,e=n(t),c=n(t.displaySection||s[0]),c.show(),o.css("opacity",0),o.show(),c.show();var i=y(t);n("img",t).css("opacity",0),setTimeout(function(){h.translateX(i.x).translateY(i.y).scale(i.scale)},500),setTimeout(function(){o.css({opacity:1})},1300),setTimeout(function(){h.transition(),b.fadeIn(),f=!1},2200)}},d=function(){f||(f=!0,h.transition("all 0.75s ease-in-out"),o.css({opacity:0}),b.fadeOut(),setTimeout(function(){h.translateX(0).translateY(0).scale(1)},800),setTimeout(function(){c.hide(),o.hide(),n("img",".clg-itm").css("opacity",1),f=!1},1600))};r.on("state:changed",function(){var n=1;t.innerWidth>768&&(n=2),t.innerWidth>1200&&(n=3),l.params.slidesPerView=n,l.reInit()});p.on("click",".clg-itm",function(){w[0].scrollTop>0&&w.animate({scrollTop:0},400),k(this)});(function(){var t=n(".controls .close"),i=n(".controls .prev"),r=n(".controls .next");t.click(function(){d()}),i.click(function(){var v,t,p;if(!f){f=!0,v=u.index(e[0]),t=v-1,t<0&&(t=u.length-1),p=e,e=n(u[t]);var r=y(e[0]),i=c.css("z-index",1),o=n(s[t]).css("z-index",2),w=Transform(i[0]).transition("all 0.75s ease-in-out"),l=Transform(o[0]).transform("translateY("+a+")");setTimeout(function(){o.show(),l.transition("all 0.75s ease-in-out"),i.addClass("move-back")},100),setTimeout(function(){l.transform()},200),setTimeout(function(){i.hide(),i.removeClass("move-back"),l.transition(),w.transition(),w.opacity(1),n("img",p).css("opacity",1),n("img",e).css("opacity",0),h.translateX(r.x).translateY(r.y).scale(r.scale),f=!1},1e3),c=o}}),r.click(function(){var l,t,i;if(!f){f=!0,l=u.index(e[0]),t=l+1,t>u.length-1&&(t=0),n("img",e).css("opacity",1),e=n(u[t]),n("img",e).css("opacity",0),i=y(e[0]),h.translateX(i.x).translateY(i.y).scale(i.scale);var v=c.css("z-index",2),r=n(s[t]).css("z-index",1),p=Transform(v[0]).transition("all 0.75s ease-in-out"),o=Transform(r[0]).opacity(0);setTimeout(function(){o.transition("all 0.75s ease-in-out")},100),setTimeout(function(){r.show(),p.transform("translateY("+a+")")},200),setTimeout(function(){o.opacity(1)},400),setTimeout(function(){p.transition().transform(),o.transition(),v.hide(),f=!1},1200),c=r}})})(),setTimeout(function(){n(".box-3d").css("opacity",1),h.opacity(1),v()},1e3)})()}(jQuery,t):function(n,t){"use strict";function i(t){this.states=t.states||[],this._state=this.getState(),this.watchState(),n.event.trigger("state:init",[this._state])}var u=n(document),r=n(t);i.prototype.watchState=function(){var i=this;n(t).on("resize",n.throttle(10,function(){var r=i._state,t=i.getState();r!==t&&(i._state=t,n.event.trigger("state:changed",[t,r]))}))},i.prototype.getState=function(){var n=t.getComputedStyle(document.body,":after").getPropertyValue("content");return navigator.userAgent.indexOf("Firefox")>-1&&(n=n.replace(/"/g,"")),n},i.prototype.eq=function(n){if(n===this._state)return!0},i.prototype.lt=function(n){var t=this.states.indexOf(this._state),i=this.states.indexOf(n);return t<i},i.prototype.gt=function(n){return this.eq(n)?!1:!this.lt(n)},i.prototype.stateNum=function(){return this.states.indexOf(this.getState())},function(){function o(){l&&l.destroy(),n(".swiper-container").html(nt),l=new Swiper(".swiper-container",{pagination:".pagination",paginationClickable:!0,loop:!0,slidesPerView:t.innerWidth>1200?3:t.innerWidth>768?2:1,onTouchStart:function(t){n(t.container).addClass("grab")},onTouchEnd:function(t){n(t.container).removeClass("grab")}}),t.mySwiper=l}var vt=new i({states:["mobile","intermediate","wide","desktop-small","desktop-large"]}),yt=new gnMenu(document.getElementById("gn-menu")),l,nt,b,d,g,st,ht;n(".gn-menu-wrapper").on("touchmove",function(){return!1});nt=n(".swiper-container").html(),enquire.register("screen and (min-width: 1200px)",{match:function(){o()},unmatch:function(){o()}}),enquire.register("screen and (min-width: 768px)",{match:function(){o()},unmatch:function(){o()},deferSetup:!0}),enquire.register("screen and (min-width: 0px)",{match:function(){o()},unmatch:function(){o()},deferSetup:!0}),t.addEventListener("orientationchange",function(){setTimeout(function(){o()},100)},!1),b=n(".swiper-container");b.on("mouseup",function(){b.removeClass("grab")});var ct=n(".collage"),tt=n(".box-bottom"),it=n(".controls"),pt=n(".collage-info"),rt=n(".skillbox"),wt=n(".collage-info .background"),u=n(".clg-itm"),ut=n("body"),e=n(".collage-info-section"),v=Transform(".collage-in").transition("all 0.5s ease-in-out"),s,h,ft=n(".site-footer"),bt=n(".client-logo"),y=!1,et=n(".swiper-slide"),ot=n(".swiper-container");u[0].displaySection=e[0],u[1].displaySection=e[1],u[2].displaySection=e[2],u[3].displaySection=e[3],u[4].displaySection=e[4],u[5].displaySection=e[5],u[6].displaySection=e[6];var p=Transform(".collage-in"),a=Transform(".box-3d"),lt=Transform(".box-top"),at=Transform(".box-bottom"),c="405px",w="810px",k=!1,kt=n(".clg-itm6"),f=!1;a.transition("0.75s ease-in-out"),d=function(n){c=n,k?a.transform("translateZ(-"+c+") rotateX(90deg)"):a.transform("translateZ(-"+c+")"),lt.transform("translateZ("+c+")"),at.transform("rotateX(-90deg) translateZ("+c+")")},g=function(){d(v.element.scrollHeight/2+"px"),w=v.element.scrollHeight+"px",r.width()<400?y||(rt.css("height","650px"),et.css("height","650px"),ot.css("height","650px"),y=!0,l.reInit()):y&&(rt.css("height","550px"),et.css("height","550px"),ot.css("height","550px"),y=!1,l.reInit())},n(t).resize(function(){setTimeout(g,1e3)}),st=function(t){f||(f=!0,h=n(t),s=n(t.displaySection||e[0]),s.show().css("z-index",1),p.scale(.7),setTimeout(function(){a.transform("translateZ(-"+c+") rotateX(90deg)"),k=!0},650),setTimeout(function(){tt.css("z-index","3")},1e3),setTimeout(function(){p.scale(1),f=!1,it.fadeIn()},1600))},ht=function(){f||(f=!0,p.scale(.7),it.fadeOut(),setTimeout(function(){a.transform("translateZ(-"+c+") rotateX(0deg)"),tt.css("z-index","1"),k=!1},650),setTimeout(function(){p.scale(1)},1600),setTimeout(function(){s.hide(),f=!1},2250))};ct.on("click",".clg-itm",function(){ut[0].scrollTop>0&&ut.animate({scrollTop:0},400),st(this)});(function(){var t=n(".controls .close"),i=n(".controls .prev"),r=n(".controls .next");t.click(function(){ht()}),i.click(function(){var r,t,e,i;f||(f=!0,r=u.index(h[0])-1,e=s,r<0&&(r=u.length-1),h=n(u[r]),t=n(h[0].displaySection),i=Transform(t[0]),i.transform("translateY("+w+")"),t.css("z-index",2),t.show(),setTimeout(function(){i.transition("all 0.75s ease-in-out")},100),setTimeout(function(){e.addClass("move-back")},200),setTimeout(function(){i.transform()},500),setTimeout(function(){i.transition(),e.hide().css("z-index",0),e.removeClass("move-front").removeClass("move-back"),t.css("z-index",1),s=t,f=!1},1300))}),r.click(function(){var o;if(!f){f=!0;var r=u.index(h[0])+1,t,e=s,i=Transform(e[0]);r>u.length-1&&(r=0),h=n(u[r]),t=n(h[0].displaySection),o=Transform(t[0]),e.css("z-index",2),t.show(),i.transition("all 0.75s ease-in-out"),o.transform("translateZ(-200px) translateY(100px)").opacity(.6),setTimeout(function(){i.transform("translateY("+w+")").opacity(1)},100),setTimeout(function(){t.css("z-index",1)},500),setTimeout(function(){t.addClass("move-front"),o.transform().opacity(1)},500),setTimeout(function(){i.transition(),e.hide().css("z-index",0),t.removeClass("move-front"),s=t,i.transform(),f=!1},1600)}})})(),setTimeout(function(){g()},700),setTimeout(function(){(document.body.scrollTop>1e3||document.documentElement.scrollTop>1e3)&&(ft.css("bottom",0),ft.css("z-index",1))},900),setTimeout(function(){a.opacity(1),d(v.element.scrollHeight/2+"px"),w=v.element.scrollHeight+"px"},1e3)}()}(jQuery,t):(document.body.addEventListener?navigator.appVersion.indexOf("MSIE 9")>-1&&n("html").addClass("ie9"):n("html").addClass("ie8"),function(n,t){"use strict";var h=document.body.clientWidth,l=new Swiper(".swiper-container",{pagination:".pagination",paginationClickable:!0,loop:!0,slidesPerView:h>1200?3:h>768?2:1}),o=n(".gn-menu-wrapper"),w=n(".gn-trigger"),c,y,p;o.hover(function(){o.animate({width:220},250)},function(){o.animate({width:60},250)}),w.hover(function(){o.animate({right:0},250)},function(){document.body.clientWidth<768&&o.animate({right:"-64px"},250)});var b=n(".collage"),r=n(".collage-info").hide(),a=n(".controls");r[0].parentNode.removeChild(r[0]),n(".collage-fixed")[0].appendChild(r[0]),n(".box-bottom").hide();var i=n(".clg-itm"),v=n("body"),u=n(".collage-info-section"),k=n(".collage-in"),g=n(".box-bottom"),s,e,nt=n(".page"),tt=n(".page-open"),it=n(".gn-menu-item"),rt=n(".site-footer"),d="810px",f=!1;i[0].displaySection=u[0],i[1].displaySection=u[1],i[2].displaySection=u[2],i[3].displaySection=u[3],i[4].displaySection=u[4],i[5].displaySection=u[5],i[6].displaySection=u[6],c=function(){var n=1;d=k[0].scrollHeight+"px",h=document.body.clientWidth,h>750?(n=2,o.css("right","0")):o.css("right","-64px"),h>1200&&(n=3),l.params.slidesPerView=n,l.reInit()},n(t).resize(c),y=function(t){f||(e=n(t),s=n(t.displaySection||u[0]),s.show().css("z-index",2),r.css("z-index","1"),r.css("top","900px").show(),n("img",t).animate({opacity:0},400),setTimeout(function(){r.animate({top:0},750)},200),setTimeout(function(){r.css("background-color","#000"),a.fadeIn()},1e3))},p=function(){f||(f=!0,r.css("background-color",""),r.animate({top:"900px"},750),a.fadeOut(),setTimeout(function(){r.css("z-index","0"),s.hide(),f=!1},900),setTimeout(function(){n("img",".clg-itm").animate({opacity:1},400)},400))};b.on("click",".clg-itm",function(){v[0].scrollTop>0&&v.animate({scrollTop:0},400),y(this)});(function(){var t=n(".controls .close"),r=n(".controls .prev"),o=n(".controls .next");t.click(function(){p()}),r.click(function(){var h,t,c,o,r;f||(f=!0,h=i.index(e[0]),t=h-1,t<0&&(t=i.length-1),c=e,e=n(i[t]),o=s.css("z-index",1),r=n(u[t]),r.css("top","900px"),r.css("z-index",2).show(),setTimeout(function(){r.animate({top:0},750),o.animate({opacity:0},750)},100),setTimeout(function(){o.hide(),o.css("opacity",1),n("img",c).css("opacity",1),n("img",e).css("opacity",0),f=!1},900),s=r)}),o.click(function(){var h,t,r,o;f||(f=!0,h=i.index(e[0]),t=h+1,t>i.length-1&&(t=0),n("img",e).css("opacity",1),e=n(i[t]),n("img",e).css("opacity",0),r=s.css("z-index",2),o=n(u[t]).css({opacity:0,"z-index":1}).show(),setTimeout(function(){o.animate({opacity:1},750),r.animate({top:"900px"},750)},100),setTimeout(function(){r.hide().css("top",0),f=!1},900),s=o)})})(),setTimeout(function(){n(".collage-in").show(),n(".box-3d").animate({opacity:1},750),c()},1e3)}(jQuery,t))}(jQuery,window)