var imyuan; imyuan || (imyuan = {}); (function(a) { a.fn.extend({ returntop: function() { if (this[0]) { var b = this.click(function() { a("html, body").animate({ scrolltop: 0 }, 120) }), c = null; a(window).bind("scroll", function() { var d = a(document).scrolltop(), e = a(window).height(); 0 < d ? b.css("bottom", "200px") : b.css("bottom", "-200px"); a.isie6() && (b.hide(), cleartimeout(c), c = settimeout(function() { b.show(); cleartimeout(c) }, 1e3), b.css("top", d + e - 125)) }) } } }) }) (jquery); (function(a) { a("body")(''); }) (function() { $("#returntop").returntop() });