/*global $*/ $(document).ready(function () { $("#maincontent").scroll(function() { 100 < $(this).scrollTop() ? $("#scrollup").fadeIn() : $("#scrollup").fadeOut() }), $("#scrollup").click(function() { return $("#maincontent").animate({ scrollTop: 0 }, "fast"), !1 }) }), $(document).ready(function () { $(".openToDiv").click(function(t) { t.preventDefault(); var n = $(this).attr("href"), e = $(this).attr("title"); $("#maincontent").load(n).animate({ scrollTop: 0 }, "800"), document.title = e }) }), $(document).ready(function () { $(".openToDiv").click(function(t) { t.preventDefault(); var n = $(this).attr("href"), e = $(this).attr("title"); $("#maincontent").load(n), $("html, body").animate({ scrollTop: 0 }, "800"), document.title = e }) });
/*global $*/ $(document).ready(function () { $("#maincontent").scroll(function() { 100 < $(this).scrollTop() ? $("#scrollup").fadeIn() : $("#scrollup").fadeOut() }), $("#scrollup").click(function() { return $("#maincontent").animate({ scrollTop: 0 }, "fast"), !1 }) }), $(document).ready(function () { $(".openToDiv").click(function(t) { t.preventDefault(); var n = $(this).attr("href"), e = $(this).attr("title"); $("#maincontent").load(n).animate({ scrollTop: 0 }, "800"), document.title = e }) }), $(document).ready(function () { $(".openToDiv").click(function(t) { t.preventDefault(); var n = $(this).attr("href"), e = $(this).attr("title"); $("#maincontent").load(n), $("html, body").animate({ scrollTop: 0 }, "800"), document.title = e }) });