Site icon Eagle Air Duct Cleaning Services

Our Works

'); this.hasTransition = false; this.hasTransitionTimeout = setTimeout(function () { k._addTransition() }, 100); this.$el.imagesLoaded(function () { k.$el.show(); k._layout(); k._configure(); if (k.hasTransition) { k._removeTransition(); k._slideToItem(k.current); k.$el.on(k.transEndEventName, function () { k.$el.off(k.transEndEventName); k._setWrapperSize(); k._addTransition(); k._initEvents() }) } else { clearTimeout(k.hasTransitionTimeout); k._setWrapperSize(); k._initEvents(); k._slideToItem(k.current); setTimeout(function () { k._addTransition() }, 25) } k.options.onReady() }) }, _validate: function () { if (this.options.speed this.itemsCount) { this.options.minItems = 1 } if (this.options.start this.itemsCount - 1) { this.options.start = 0 } if (this.options.orientation != "horizontal" && this.options.orientation != "vertical") { this.options.orientation = "horizontal" } }, _layout: function () { this.$el.wrap(''); this.$carousel = this.$el.parent(); this.$wrapper = this.$carousel.parent().removeClass("elastislidetot1-loading"); var k = this.$items.find("img:first"); this.imgSize = {width: k.outerWidth(true), height: k.outerHeight(true)}; this._setItemsSize(); this.options.orientation === "horizontal" ? this.$el.css("max-height", this.imgSize.height) : this.$el.css("height", this.options.minItems * this.imgSize.height); this._addControls() }, _addTransition: function () { if (this.support) { this.$el.css("transition", "all " + this.options.speed + "ms " + this.options.easing) } this.hasTransition = true }, _removeTransition: function () { if (this.support) { this.$el.css("transition", "all 0s") } this.hasTransition = false }, _addControls: function () { var k = this; this.$navigation = g('').appendTo(this.$wrapper); this.$navPrev = this.$navigation.find("span.elastislidetot1-prev").on("mousedown.elastislidetot1", function (l) { k._slide("prev"); return false }); this.$navNext = this.$navigation.find("span.elastislidetot1-next").on("mousedown.elastislidetot1", function (l) { k._slide("next"); return false }) }, _setItemsSize: function () { var k = this.options.orientation === "horizontal" ? (Math.floor(this.$carousel.width() / this.options.minItems) * 100) / this.$carousel.width() : 100; this.$items.css({width: k + "%", "max-width": this.imgSize.width, "max-height": this.imgSize.height}); if (this.options.orientation === "vertical") { this.$wrapper.css("max-width", this.imgSize.width + parseInt(this.$wrapper.css("padding-left")) + parseInt(this.$wrapper.css("padding-right"))) } }, _setWrapperSize: function () { if (this.options.orientation === "vertical") { this.$wrapper.css({height: this.options.minItems * this.imgSize.height + parseInt(this.$wrapper.css("padding-top")) + parseInt(this.$wrapper.css("padding-bottom"))}) } }, _configure: function () { this.fitCount = this.options.orientation === "horizontal" ? this.$carousel.width() 0 ? this._toggleControls("prev", true) : this._toggleControls("prev", false); s 0 ? this._toggleControls("prev", true) : this._toggleControls("prev", false); Math.max(o, m) - m > p ? this._toggleControls("next", true) : this._toggleControls("next", false) } this.translation = n; if (k === n) { this._onEndTransition(); return false } if (this.support) { this.options.orientation === "horizontal" ? this.$el.css("transform", "translateX(" + n + "px)") : this.$el.css("transform", "translateY(" + n + "px)") } else { g.fn.applyStyle = this.hasTransition ? g.fn.animate : g.fn.css; var r = this.options.orientation === "horizontal" ? {left: n} : {top: n}; this.$el.stop().applyStyle(r, g.extend(true, [], { duration: this.options.speed, complete: function () { t._onEndTransition() } })) } if (!this.hasTransition) { this._onEndTransition() } }, _onEndTransition: function () { this.isSliding = false; this.options.onAfterSlide() }, _slideTo: function (o) { var o = o || this.current, n = Math.abs(this.translation) || 0, m = this.options.orientation === "horizontal" ? this.$items.outerWidth(true) : this.$items.outerHeight(true), l = n + this.$carousel.width(), k = Math.abs(o * m); if (k + m > l || k i ? (i / f) : 1), l = (k.y - g.offset().top - (i / 2)) * (i > f ? (f / i) : 1), j = Math.round((((Math.atan2(l, e) * (180 / Math.PI)) + 180) / 90) + 3) % 4; return j }, _getStyle: function (k) { var g, l, i = {left: "0px", top: "-100%"}, e = {left: "0px", top: "100%"}, h = {left: "-100%", top: "0px"}, f = {left: "100%", top: "0px"}, m = {top: "0px"}, j = {left: "0px"}; switch (k) { case 0: g = !this.options.inverse ? i : e; l = m; break; case 1: g = !this.options.inverse ? f : h; l = j; break; case 2: g = !this.options.inverse ? e : i; l = m; break; case 3: g = !this.options.inverse ? h : f; l = j; break } return {from: g, to: l} }, _applyAnimation: function (f, e, g) { c.fn.applyStyle = this.support ? c.fn.css : c.fn.animate; f.stop().applyStyle(e, c.extend(true, [], {duration: g + "ms"})) }, }; var a = function (e) { if (b.console) { b.console.error(e) } }; c.fn.hoverdir = function (g) { var e = c.data(this, "hoverdir"); if (typeof g === "string") { var f = Array.prototype.slice.call(arguments, 1); this.each(function () { if (!e) { a("cannot call methods on hoverdir prior to initialization; attempted to call method '" + g + "'"); return } if (!c.isFunction(e[g]) || g.charAt(0) === "_") { a("no such method '" + g + "' for hoverdir instance"); return } e[g].apply(e, f) }) } else { this.each(function () { if (e) { e._init() } else { e = c.data(this, "hoverdir", new c.HoverDir(g, this)) } }) } return e } })(jQuery, window); var $event = jQuery.event, $special, resizeTimeout; $special = $event.special.debouncedresize = { setup: function () { jQuery(this).on("resize", $special.handler) }, teardown: function () { jQuery(this).off("resize", $special.handler) }, handler: function (e, a) { var d = this, c = arguments, b = function () { e.type = "debouncedresize"; $event.dispatch.apply(d, c) }; if (resizeTimeout) { clearTimeout(resizeTimeout) } a ? b() : resizeTimeout = setTimeout(b, $special.threshold) }, threshold: 250 }; var BLANK = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="; jQuery.fn.imagesLoaded = function (h) { var e = this, j = jQuery.isFunction(jQuery.Deferred) ? jQuery.Deferred() : 0, i = jQuery.isFunction(j.notify), b = e.find("img").add(e.filter("img")), c = [], g = [], d = []; if (jQuery.isPlainObject(h)) { jQuery.each(h, function (k, l) { if (k === "callback") { h = l } else { if (j) { j[k](l) } } }) } function f() { var k = jQuery(g), l = jQuery(d); if (j) { if (d.length) { j.reject(b, k, l) } else { j.resolve(b) } } if (jQuery.isFunction(h)) { h.call(e, b, k, l) } } function a(k, l) { if (k.src === BLANK || jQuery.inArray(k, c) !== -1) { return } c.push(k); if (l) { d.push(k) } else { g.push(k) } jQuery.data(k, "imagesLoaded", {isBroken: l, src: k.src}); if (i) { j.notifyWith(jQuery(k), [l, b, jQuery(g), jQuery(d)]) } if (b.length === c.length) { setTimeout(f); b.unbind(".imagesLoaded") } } if (!b.length) { f() } else { b.bind("load.imagesLoaded error.imagesLoaded", function (k) { a(k.target, k.type === "error") }).each(function (k, m) { var n = m.src; var l = jQuery.data(m, "imagesLoaded"); if (l && l.src === n) { a(m, l.isBroken); return } if (m.complete && m.naturalWidth !== undefined) { a(m, m.naturalWidth === 0 || m.naturalHeight === 0); return } if (m.readyState || m.complete) { m.src = BLANK; m.src = n } }) } return j ? j.promise(e) : e }; jQuery(function () { jQuery.elastic_grid1= {version: "1.0"}; jQuery.fn.elastic_grid1= function (G) { G = jQuery.extend({}, { items: null, filterEffect1: "", hoverDirection1: true, hoverDelay1: 0, hoverInverse1: false, expandingHeight1: 500, expandingSpeed1: 300, callback: function () { } }, G); var u = jQuery(this); var H = G.items.length; if (H == 0) { return false } u.html('
'); var g = ""; var o = jQuery(''); for (itemIdx = 0; itemIdx "); tags = E.tags; strTag = ""; for (var C = tags.length - 1; C >= 0; C--) { strTag += "," + tags[C] } strTag = strTag.substring(1); liObject.attr("data-tags", strTag); aObject = jQuery(""); aObject.attr("href", "javascript:;;"); imgObject = jQuery(""); imgObject.attr("src", E.thumbnail[0]); imgObject.attr("data-largesrc", E.large[0]); spanObject = jQuery(""); spanObject.html(E.title[0]); figureObject = jQuery("
"); figureObject.append(spanObject); imgObject.appendTo(aObject); figureObject.appendTo(aObject); aObject.appendTo(liObject); liObject.appendTo(o) } } if (G.filterEffect1== "") { G.filterEffect1= "moveup" } o.addClass("effect-" + G.filterEffect1); o.appendTo(u); if (G.hoverDirection1== true) { o.find("li").each(function () { jQuery(this).hoverdir({ hoverDelay1: G.hoverDelay1, inverse: G.hoverInverse1}) }) } var m = u.find(".portfolio-filter1"); var x = o.find("li"), c = {}; numOfTag = 0; x.each(function (J) { var K = jQuery(this); if (K.data("tags") > 0) { KTags = K.data("tags") + ''; var I = KTags.split(","); } else { var I = K.data("tags").split(","); } K.attr("data-id", J); K.addClass("all"); jQuery.each(I, function (i, L) { L = jQuery.trim(L); K.addClass(L.toLowerCase().replace(" ", "-")); if (!(L in c)) { c[L] = []; numOfTag++ } c[L].push(K) }) }); if (numOfTag >= 1) { f(G.showAllText1); jQuery.each(c, function (I, i) { f(I) }) } else { m.remove() } jQuery(window).on('load', function(I) { nav_menu(I,m.find("li:first").find("a"))}); m.find("a").on("click", function (I) { nav_menu(I.preventDefault(), jQuery(this))}) function nav_menu(I,f) { k.find("li.ogtot-expanded1").find("a").trigger("click"); k.removeClass("ogtot-expanded1"); k.find(".ogtot-close1").trigger("click"); $this = f; $this.css("outline", "none"); m.find(".current").removeClass("current"); $this.parent().addClass("current"); var J = $this.text().toLowerCase().replace(" ", "-"); var i = H; o.find("li").each(function (K, L) { classie.remove(L, "l"); classie.remove(L, "animate"); if (!--i) { setTimeout(function () { p(o.find("li"), J) }, 1) } }); return false }; function p(i, I) { i.each(function (J, K) { if (classie.has(K, I)) { classie.toggle(K, "animate"); classie.remove(K, "hidden") } else { classie.add(K, "hidden"); classie.remove(K, "animate") } }) } m.find("li:first").addClass("current"); function f(K) { var J = K.toLowerCase().replace(" ", "-"); if (K != "") { var i = jQuery("
  • "); var I = jQuery("", {html: K, "data-filter": "." + J, href: "#", "class": "filter",}).appendTo(i); i.appendTo(m) } } var k = o, h = k.children("li"), y = -1, t = -1, F = 0, q = 10, w = jQuery(window), d, A = jQuery("html, body"), B = { WebkitTransition: "webkitTransitionEnd", MozTransition: "transitionend", OTransition: "oTransitionEnd", msTransition: "MSTransitionEnd", transition: "transitionend" }, j = B[Modernizr.prefixed("transition")], s = Modernizr.csstransitions, D = { minHeight: G.expandingHeight1, speed: G.expandingSpeed1, easing: "ease" }; function v(i) { h = h.add(i); i.each(function () { var I = jQuery(this); I.data({offsetTop: I.offset().top, height: I.height()}) }); l(i) } function r(i) { h.each(function () { var I = jQuery(this); I.data("offsetTop", I.offset().top); if (i) { I.data("height", I.height()) } }) } function n() { l(h); w.on("debouncedresize", function () { F = 0; t = -1; r(); b(); var i = jQuery.data(this, "preview"); if (typeof i != "undefined") { z() } }) } function l(i) { i.on("click", "span.ogtot-close1", function () { z(); return false }).children("a").on("click", function (J) { var I = jQuery(this).parent(); I.removeClass("animate"); y === I.index() ? z(jQuery(this)) : a(I); return false }) } function b() { d = {width: w.width(), height: w.height()} } function a(I) { z(); var J = jQuery.data(this, "preview"), i = I.data("offsetTop"); F = 0; if (typeof J != "undefined") { if (t !== i) { if (i > t) { F = J.height } z() } else { J.update(I); return false } } t = i; J = jQuery.data(this, "preview", new e(I)); J.open() } function z() { h.find(".ogtot-pointer1").fadeOut((D.speed + 300)); jQuery(".ogtot-expander1").css('overflow', ''); y = -1; var i = jQuery.data(this, "preview"); if (typeof i == "undefined") { } else { i.close() } jQuery.removeData(this, "preview") } function e(i) { this.$item = i; this.expandedIdx = this.$item.index(); this.create(); this.update() } e.prototype = { create: function () { this.$title = jQuery("

    "); this.$description = jQuery("

    "); this.$href = jQuery('
    Visit website'); this.$detailButtonList = jQuery(''); this.$details = jQuery('
    ').append(this.$title, this.$description, this.$detailButtonList); this.$loading = jQuery('
    '); this.$fullimage = jQuery('
    ').append(this.$loading); this.$closePreview = jQuery(''); this.$previewInner = jQuery('
    ').append(this.$closePreview, this.$fullimage, this.$details); this.$previewEl = jQuery('
    ').append(this.$previewInner); setTimeout(function () { jQuery(".ogtot-expander1").css('overflow-x', 'hidden'); }, (D.speed - 1)); this.$item.append(jQuery('
    ')); this.$item.append(this.getEl()); if (s) { this.setTransition() } }, update: function (L) { if (L) { this.$item = L } if (y !== -1) { var K = h.eq(y); K.removeClass("ogtot-expanded1"); this.$item.addClass("ogtot-expanded1"); this.positionPreview() } y = this.$item.index(); if (typeof G.items[y] === "undefined") { } else { eldata = G.items[y]; this.$title.html(eldata.title[0]); this.$description.html(eldata.description[0]); this.$detailButtonList.html(""); urlList = eldata.button_list; if (urlList.length > 0) { for (C = 0; C '); P.addClass("link-button"); if (C == 0) { P.addClass("first") } P.attr("href", urlList[C]["url"][0]); P.html(urlList[C]["title"]); this.$detailButtonList.append(P); if (P.attr("href") == "") { P.css("display", "none") } else { P.css("display", "inline") } } } var O = this; if (typeof O.$largeImg != "undefined") { O.$largeImg.remove() } glarge = eldata.large; gthumbs = eldata.thumbnail; gtitle = eldata.title; gdescription = eldata.description; glink = eldata.button_list; if (glarge.length == gthumbs.length && glarge.length > 0) { var i = jQuery(""); for (C = 0; C
  • "); var P = jQuery(''); var J = jQuery(""); J.addClass("related_photo"); if (C == 0) { J.addClass("selected") } J.attr("src", gthumbs[C]); J.attr("data-large", glarge[C]); J.attr("name", gtitle[C]); J.attr("data-desc", gdescription[C]); J.attr("data-link", glink[0].url[C]); P.append(J); I.append(P); i.append(I) } i.addClass("elastislidetot1-list"); i.elastislidetot1(); var N = jQuery('
    '); N.append(i).find(".related_photo").bind("click", function () { N.find(".selected").removeClass("selected"); jQuery(this).addClass("selected"); $largePhoto = jQuery(this).data("large"); jQuery("").load(function () { O.$fullimage.find("img").fadeOut(500, function () { jQuery(this).fadeIn(500).attr("src", $largePhoto) }) }).attr("src", $largePhoto); jQuery(".ogtot-details1 h3").text(N.find(".selected").attr("name")); jQuery(".ogtot-details1 p").html(N.find(".selected").attr("data-desc")); jQuery(".ogtot-details1 a.link-button").attr("href", N.find(".selected").attr("data-link")); if (jQuery(".ogtot-details1 a.link-button").attr("href") == "") { jQuery(".ogtot-details1 a.link-button").css("display", "none") } else { jQuery(".ogtot-details1 a.link-button").css("display", "inline") } }); O.$details.append('
    '); O.$details.append(N) } else { O.$details.find(".infosep, .ogtot-grid-small").remove() } if (O.$fullimage.is(":visible")) { this.$loading.show(); jQuery("").load(function () { var Q = jQuery(this); if (Q.attr("src") === O.$item.children("a").find("img").data("largesrc")) { O.$loading.hide(); O.$fullimage.find("img").remove(); O.$largeImg = Q.fadeIn(350); O.$fullimage.append(O.$largeImg) } }).attr("src", eldata.large[0]) } } }, open: function () { setTimeout(jQuery.proxy(function () { this.setHeights(); this.positionPreview() }, this), 25) }, close: function () { var i = this, I = function () { if (s) { jQuery(this).off(j) } i.$item.removeClass("ogtot-expanded1"); i.$previewEl.remove() }; setTimeout(jQuery.proxy(function () { if (typeof this.$largeImg !== "undefined") { this.$largeImg.fadeOut("fast") } this.$previewEl.css("height", 0); var J = h.eq(this.expandedIdx); J.css("height", J.data("height")).on(j, I); if (!s) { I.call() } }, this), 25); return false }, calcHeight: function () { var I = D.minHeight, i = D.minHeight + this.$item.data("height") + q; this.height = I; this.itemHeight = i }, setHeights: function () { var i = this, height_title =jQuery(this.$previewEl).find('h3').height(), height_content =jQuery(this.$previewEl).find('p').height(), height_img =jQuery(this.$previewEl).find('.ogtot-fullimg').height(), height_link =jQuery(this.$previewEl).find('a').attr('href'), height = 30, height_div =jQuery(this.$previewEl).find('.ogtot-details').height(), I = function () { if (s) { i.$item.off(j) } i.$item.addClass("ogtot-expanded1") }; this.calcHeight(); if (height_link && height_title>10 && height_content this.height) { this.itemHeight += height_img +60 - this.height; this.height += height_img +60 - this.height; } if (height_div > this.height) { this.itemHeight += height_div + 30 - this.height; this.height += height_div + 30 - this.height; this.$previewEl.css("max-height", this.height); } if (height_div +60 - this.height height_img) { this.itemHeight += height_div + height - this.height; this.height += height_div + height - this.height; } else { this.itemHeight += height_img +60 - this.height; this.height += height_img +60 - this.height; } } if (window.matchMedia("(max-width: 820px)").matches) { this.itemHeight += height_img + height_div + 30 - this.height; this.height += height_img + height_div + 30 - this.height; this.$previewEl.css("max-height", this.height); } this.$previewEl.css("height", this.height); this.$item.css("height", this.itemHeight).on(j, I); if (!s) { I.call() } }, positionPreview: function () { var I = this.$item.data("offsetTop"), i = this.$previewEl.offset().top - F, J = this.height + this.$item.data("height") + q
    Exit mobile version