text: (function() {
    $(document).ready(function() {
      var animate, item, items, mobile, _i, _len;
      // $(".nav ul li a").click(function() {
      //   return $('html, body').animate({
      //     scrollTop: $("#" + ($(this).attr('class'))).offset().top
      //   }, 1000);
      // });
  
  
      // Cache selectors
      var lastId,
       topMenu = $("#web-nav"),
       topMenuHeight = topMenu.outerHeight()+1,
       // All list items
       menuItems = topMenu.find("a"),
       // Anchors corresponding to menu items
       scrollItems = menuItems.map(function(){
         var item = $($(this).attr("href"));
          if (item.length) { return item; }
       });
  
      // Bind click handler to menu items
      // so we can get a fancy scroll animation
      menuItems.click(function(e){
        var href = $(this).attr("href"),
            offsetTop = href === "#" ? 0 : $(href).offset().top-topMenuHeight+1;
        $('html, body').stop().animate({ 
            scrollTop: offsetTop
        }, 850);
        e.preventDefault();
      });
  
  
    /****************twenty twenty******************/
    $('.twentytwenty-container').each(function(){
      var $that = $(this);
      $(this).imagesLoaded(function(){
        $that.twentytwenty();
      });
    });
  
      // Bind to scroll
      $(window).scroll(function(){
         // Get container scroll position
         var fromTop = $(this).scrollTop()+topMenuHeight;
         
         // Get id of current scroll item
         var cur = scrollItems.map(function(){
           if ($(this).offset().top < fromTop)
             return this;
         });
         // Get the id of the current element
         cur = cur[cur.length-1];
         var id = cur && cur.length ? cur[0].id : "";
         
         if (lastId !== id) {
             lastId = id;
             // Set/remove active class
             menuItems
               .parent().removeClass("active")
               .end().filter("[href=#"+id+"]").parent().addClass("active");
         }                   
      });
  
  
      $('a[href*="#"]').on('click', function (e) {
        e.preventDefault();
  
        $('html, body').animate({
          scrollTop: $($(this).attr('href')).offset().top
        }, 500, 'linear');
      });
  
  
      $(".chevron .down").click(function() {
        return $('html, body').animate({
          scrollTop: $("#services-1").offset().top
        }, 1500);
      });
      mobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
      if ($("html").hasClass("cssanimations") && !mobile) {
        animate = function(animation) {
          return $(animation[0]).addClass("concealed").viewportChecker({
            classToAdd: "visible animated " + (animation[1].trim()),
            offset: 200
          });
        };
        items = [['.column', 'fadeInUp'], ['.item', 'fadeInDown'], ['.bar', 'fadeInRight'], ['.paperplane', 'bounceInDown'], ['#quote .container', 'fadeIn'], ['#quote .icon', 'fadeInDown']];
        for (_i = 0, _len = items.length; _i < _len; _i++) {
          item = items[_i];
          animate(item);
        }
      }
      return $("#footer ul li").hover(function() {
        return $(this).find('p').stop(true, true).fadeIn(800);
      }, function() {
        return $(this).find('p').stop(true, true).fadeOut(800);
      });
    });
  
  
  
  
  
  
  
  (function() {
      function e() {}
      function t(e, t) {
          for (var n = e.length; n--; )
              if (e[n].listener === t)
                  return n;
          return -1
      }
      function n(e) {
          return function() {
              return this[e].apply(this, arguments)
          }
      }
      var i = e.prototype
        , r = this
        , o = r.EventEmitter;
      i.getListeners = function(e) {
          var t, n, i = this._getEvents();
          if ("object" == typeof e) {
              t = {};
              for (n in i)
                  i.hasOwnProperty(n) && e.test(n) && (t[n] = i[n])
          } else
              t = i[e] || (i[e] = []);
          return t
      }
      ,
      i.flattenListeners = function(e) {
          var t, n = [];
          for (t = 0; e.length > t; t += 1)
              n.push(e[t].listener);
          return n
      }
      ,
      i.getListenersAsObject = function(e) {
          var t, n = this.getListeners(e);
          return n instanceof Array && (t = {},
          t[e] = n),
          t || n
      }
      ,
      i.addListener = function(e, n) {
          var i, r = this.getListenersAsObject(e), o = "object" == typeof n;
          for (i in r)
              r.hasOwnProperty(i) && -1 === t(r[i], n) && r[i].push(o ? n : {
                  listener: n,
                  once: !1
              });
          return this
      }
      ,
      i.on = n("addListener"),
      i.addOnceListener = function(e, t) {
          return this.addListener(e, {
              listener: t,
              once: !0
          })
      }
      ,
      i.once = n("addOnceListener"),
      i.defineEvent = function(e) {
          return this.getListeners(e),
          this
      }
      ,
      i.defineEvents = function(e) {
          for (var t = 0; e.length > t; t += 1)
              this.defineEvent(e[t]);
          return this
      }
      ,
      i.removeListener = function(e, n) {
          var i, r, o = this.getListenersAsObject(e);
          for (r in o)
              o.hasOwnProperty(r) && (i = t(o[r], n),
              -1 !== i && o[r].splice(i, 1));
          return this
      }
      ,
      i.off = n("removeListener"),
      i.addListeners = function(e, t) {
          return this.manipulateListeners(!1, e, t)
      }
      ,
      i.removeListeners = function(e, t) {
          return this.manipulateListeners(!0, e, t)
      }
      ,
      i.manipulateListeners = function(e, t, n) {
          var i, r, o = e ? this.removeListener : this.addListener, s = e ? this.removeListeners : this.addListeners;
          if ("object" != typeof t || t instanceof RegExp)
              for (i = n.length; i--; )
                  o.call(this, t, n[i]);
          else
              for (i in t)
                  t.hasOwnProperty(i) && (r = t[i]) && ("function" == typeof r ? o.call(this, i, r) : s.call(this, i, r));
          return this
      }
      ,
      i.removeEvent = function(e) {
          var t, n = typeof e, i = this._getEvents();
          if ("string" === n)
              delete i[e];
          else if ("object" === n)
              for (t in i)
                  i.hasOwnProperty(t) && e.test(t) && delete i[t];
          else
              delete this._events;
          return this
      }
      ,
      i.removeAllListeners = n("removeEvent"),
      i.emitEvent = function(e, t) {
          var n, i, r, o, s = this.getListenersAsObject(e);
          for (r in s)
              if (s.hasOwnProperty(r))
                  for (i = s[r].length; i--; )
                      n = s[r][i],
                      n.once === !0 && this.removeListener(e, n.listener),
                      o = n.listener.apply(this, t || []),
                      o === this._getOnceReturnValue() && this.removeListener(e, n.listener);
          return this
      }
      ,
      i.trigger = n("emitEvent"),
      i.emit = function(e) {
          var t = Array.prototype.slice.call(arguments, 1);
          return this.emitEvent(e, t)
      }
      ,
      i.setOnceReturnValue = function(e) {
          return this._onceReturnValue = e,
          this
      }
      ,
      i._getOnceReturnValue = function() {
          return this.hasOwnProperty("_onceReturnValue") ? this._onceReturnValue : !0
      }
      ,
      i._getEvents = function() {
          return this._events || (this._events = {})
      }
      ,
      e.noConflict = function() {
          return r.EventEmitter = o,
          e
      }
      ,
      "function" == typeof define && define.amd ? define("eventEmitter/EventEmitter", [], function() {
          return e
      }) : "object" == typeof module && module.exports ? module.exports = e : this.EventEmitter = e
  }
  ).call(this),
  function(e) {
      function t(t) {
          var n = e.event;
          return n.target = n.target || n.srcElement || t,
          n
      }
      var n = document.documentElement
        , i = function() {};
      n.addEventListener ? i = function(e, t, n) {
          e.addEventListener(t, n, !1)
      }
      : n.attachEvent && (i = function(e, n, i) {
          e[n + i] = i.handleEvent ? function() {
              var n = t(e);
              i.handleEvent.call(i, n)
          }
          : function() {
              var n = t(e);
              i.call(e, n)
          }
          ,
          e.attachEvent("on" + n, e[n + i])
      }
      );
      var r = function() {};
      n.removeEventListener ? r = function(e, t, n) {
          e.removeEventListener(t, n, !1)
      }
      : n.detachEvent && (r = function(e, t, n) {
          e.detachEvent("on" + t, e[t + n]);
          try {
              delete e[t + n]
          } catch (i) {
              e[t + n] = void 0
          }
      }
      );
      var o = {
          bind: i,
          unbind: r
      };
      "function" == typeof define && define.amd ? define("eventie/eventie", o) : e.eventie = o
  }(this),
  function(e) {
      function t(e, t) {
          for (var n in t)
              e[n] = t[n];
          return e
      }
      function n(e) {
          return "[object Array]" === f.call(e)
      }
      function i(e) {
          var t = [];
          if (n(e))
              t = e;
          else if ("number" == typeof e.length)
              for (var i = 0, r = e.length; r > i; i++)
                  t.push(e[i]);
          else
              t.push(e);
          return t
      }
      function r(e, n) {
          function r(e, n, s) {
              if (!(this instanceof r))
                  return new r(e,n);
              "string" == typeof e && (e = document.querySelectorAll(e)),
              this.elements = i(e),
              this.options = t({}, this.options),
              "function" == typeof n ? s = n : t(this.options, n),
              s && this.on("always", s),
              this.getImages(),
              o && (this.jqDeferred = new o.Deferred);
              var c = this;
              setTimeout(function() {
                  c.check()
              })
          }
          function f(e) {
              this.img = e
          }
          function a(e) {
              this.src = e,
              h[e] = this
          }
          r.prototype = new e,
          r.prototype.options = {},
          r.prototype.getImages = function() {
              this.images = [];
              for (var e = 0, t = this.elements.length; t > e; e++) {
                  var n = this.elements[e];
                  "IMG" === n.nodeName && this.addImage(n);
                  for (var i = n.querySelectorAll("img"), r = 0, o = i.length; o > r; r++) {
                      var s = i[r];
                      this.addImage(s)
                  }
              }
          }
          ,
          r.prototype.addImage = function(e) {
              var t = new f(e);
              this.images.push(t)
          }
          ,
          r.prototype.check = function() {
              function e(e, r) {
                  return t.options.debug && c && s.log("confirm", e, r),
                  t.progress(e),
                  n++,
                  n === i && t.complete(),
                  !0
              }
              var t = this
                , n = 0
                , i = this.images.length;
              if (this.hasAnyBroken = !1,
              !i)
                  return this.complete(),
                  void 0;
              for (var r = 0; i > r; r++) {
                  var o = this.images[r];
                  o.on("confirm", e),
                  o.check()
              }
          }
          ,
          r.prototype.progress = function(e) {
              this.hasAnyBroken = this.hasAnyBroken || !e.isLoaded;
              var t = this;
              setTimeout(function() {
                  t.emit("progress", t, e),
                  t.jqDeferred && t.jqDeferred.notify(t, e)
              })
          }
          ,
          r.prototype.complete = function() {
              var e = this.hasAnyBroken ? "fail" : "done";
              this.isComplete = !0;
              var t = this;
              setTimeout(function() {
                  if (t.emit(e, t),
                  t.emit("always", t),
                  t.jqDeferred) {
                      var n = t.hasAnyBroken ? "reject" : "resolve";
                      t.jqDeferred[n](t)
                  }
              })
          }
          ,
          o && (o.fn.imagesLoaded = function(e, t) {
              var n = new r(this,e,t);
              return n.jqDeferred.promise(o(this))
          }
          ),
          f.prototype = new e,
          f.prototype.check = function() {
              var e = h[this.img.src] || new a(this.img.src);
              if (e.isConfirmed)
                  return this.confirm(e.isLoaded, "cached was confirmed"),
                  void 0;
              if (this.img.complete && void 0 !== this.img.naturalWidth)
                  return this.confirm(0 !== this.img.naturalWidth, "naturalWidth"),
                  void 0;
              var t = this;
              e.on("confirm", function(e, n) {
                  return t.confirm(e.isLoaded, n),
                  !0
              }),
              e.check()
          }
          ,
          f.prototype.confirm = function(e, t) {
              this.isLoaded = e,
              this.emit("confirm", this, t)
          }
          ;
          var h = {};
          return a.prototype = new e,
          a.prototype.check = function() {
              if (!this.isChecked) {
                  var e = new Image;
                  n.bind(e, "load", this),
                  n.bind(e, "error", this),
                  e.src = this.src,
                  this.isChecked = !0
              }
          }
          ,
          a.prototype.handleEvent = function(e) {
              var t = "on" + e.type;
              this[t] && this[t](e)
          }
          ,
          a.prototype.onload = function(e) {
              this.confirm(!0, "onload"),
              this.unbindProxyEvents(e)
          }
          ,
          a.prototype.onerror = function(e) {
              this.confirm(!1, "onerror"),
              this.unbindProxyEvents(e)
          }
          ,
          a.prototype.confirm = function(e, t) {
              this.isConfirmed = !0,
              this.isLoaded = e,
              this.emit("confirm", this, t)
          }
          ,
          a.prototype.unbindProxyEvents = function(e) {
              n.unbind(e.target, "load", this),
              n.unbind(e.target, "error", this)
          }
          ,
          r
      }
      var o = e.jQuery
        , s = e.console
        , c = s !== void 0
        , f = Object.prototype.toString;
      "function" == typeof define && define.amd ? define(["eventEmitter/EventEmitter", "eventie/eventie"], r) : e.imagesLoaded = r(e.EventEmitter, e.eventie)
  }(window);
  
  
  
  
  
  
  
  
  
  
  }).call(this);
  
  
  jQuery(document).ready(function($){
  
  
  
  
  });
  