var IMYUAN; IMYUAN || (IMYUAN = {}); var isIE=!!window.ActiveXObject; var isIE6=isIE&&!window.XMLHttpRequest; (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", "130px") : b.css("bottom", "-130px"); isIE6 && (b.hide(), clearTimeout(c), c = setTimeout(function() { b.show(); clearTimeout(c) }, 1E3), b.css("top", d + e - 125)) }) } } }) })(jQuery); (function() { $("#returnTop").returntop(); }) (function(a) { a("body")(''); })