(function(e) { e.fn.hhshare = function(t) { var n = { cenbox: "asid_share_box", icon: "adid_icon", addclass: "red_bag", titleclass: "asid_title", triangle: "asid_share_triangle", showbox: "asid_sha_layer" }, r = e.extend(n, t); this.each(function() { var t = e(this), n = e("." + r.cenbox).last(); n.hide(), e("." + r.triangle + "," + "." + r.showbox).hide(), e("." + r.cenbox).on({ mouseenter: function() { var t = e(this).find("." + r.icon), n = e(this).find("." + r.icon).attr("alt"); t.hide(), e(this).addclass(r.addclass), e(this).children("a").append('' + n + ""), e(this).find("." + r.triangle + "," + "." + r.showbox).show() }, mouseleave: function() { var t = e(this).find("." + r.icon), n = e(this).find("." + r.icon).attr("alt"); t.show(), e(this).removeclass(r.addclass), e(this).find("." + r.titleclass).remove(), e(this).find("." + r.triangle + "," + "." + r.showbox).hide() } }), e(window).scroll(function() { e(window).scrolltop() > 100 ? n.fadein() : n.fadeout() }), n.click(function() { return e("body,html").animate({ scrolltop: 0 }, 500), !1 }) }) } })(jquery)