}); function stopEvent(e) { e = e || ((window || {}).event || {}); if (e.preventDefault) { e.preventDefault(); e.stopPropagation(); } else { e.cancelBubble = true; e.returnValue = false; } return false; } $(".navigation-n12m-1").pin({ activeClass: 'n-pin' }); window.navigation_n12m_1 = function (t) { var self = $(t), str = self.find('.input-text').val(); if (str.length < 1) { return false; } location.href = self.data('ssu') + '?keyword=' + str; return false; } })(); (function(){ var isVideo = $(".carousel-n114m-1").getVideoHelper().isVideo; $(".carousel-n114m-1 .nivoSlider a").each(function () { var self = $(this), src = self.data("src"); if (isVideo(src)) { self.remove(); } else { self.append($("").attr("data-src", src).attr("title", self.data("title")).attr("alt", self.data("title"))); } }); $(".carousel-n114m-1 .nivoSlider").nivoSlider({ effect: "fade", }); })(); (function(){ })(); (function(){ var _n101m_1_blk = $('
'); if (!document.getElementById("contact-box-n101m-1_blk")) { $('body').append(_n101m_1_blk); } window.contact_box_n101m1 = function (t) { var self = $(t), str = self.find('.input-text').val(); if (str.length < 1) { return false; } location.href = self.data('ssu') + '?keyword=' + str; return false; } $(window).scroll(function () { if (!_n101m_1_blk.is(":visible")) { var e = $(".contact-box-n101m-1 .b2t"); $(window).scrollTop() > 100 ? e.fadeIn() : e.fadeOut(); } }); $("body").off("click", ".contact-box-n101m-1 .f-up").on("click", ".contact-box-n101m-1 .f-up", function () { $("html,body").animate({ scrollTop: 0 }, 200); }); if ($(".contact-box-n101m-1 .qrcode").attr("src")) { $(".contact-box-n101m-1 .qrcode").parent().parent().parent().removeClass('hide'); } if ($(".contact-box-n101m-1 .f-comment").parent().find(".tools a").text().replace(/^\s+/, "").replace(/\s+$/, "").length > 0) { $(".contact-box-n101m-1 .f-comment").parent().removeClass('hide'); } window.cbn101m1_imstat = function (obj, classid, url) { $.ajax({ url: url, type: 'POST', cache: false, data: { imstat: 'ok', pid: '0', content: $(obj).prop('title') || $(obj).text(), classid: classid, fromurl: location.href }, success: function(msg) {} }); }; })(); (function(){ $(".case-list-n118m-1 .owl-carousel").fastStart({ autoPlay: true, navigationText: ["<\/i>", "<\/i>"], singleItem: false, itemsDesktopSmall: [1440, 2], itemsTablet: [768, 1], items:3, }); })(); });