var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); (function(a){if(typeof define!=="undefined"&&define.amd){define([],a)}else{if(typeof module!=="undefined"&&module.exports){module.exports=a()}else{window.scrollMonitor=a()}}})(function(){var c=function(){return window.pageYOffset||(document.documentElement&&document.documentElement.scrollTop)||document.body.scrollTop};var G={};var k=[];var E="visibilityChange";var B="enterViewport";var z="fullyEnterViewport";var o="exitViewport";var l="partiallyExitViewport";var w="locationChange";var n="stateChange";var p=[E,B,z,o,l,w,n];var F={top:0,bottom:0};var y=function(){return window.innerHeight||document.documentElement.clientHeight};var a=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight)};G.viewportTop=null;G.viewportBottom=null;G.documentHeight=null;G.viewportHeight=y();var v;var s;var b;function t(){G.viewportTop=c();G.viewportBottom=G.viewportTop+G.viewportHeight;G.documentHeight=a();if(G.documentHeight!==v){b=k.length;while(b--){k[b].recalculateLocation()}v=G.documentHeight}}function r(){G.viewportHeight=y();t();q()}var d;function u(){clearTimeout(d);d=setTimeout(r,100)}var h;function q(){h=k.length;while(h--){k[h].update()}h=k.length;while(h--){k[h].triggerCallbacks()}}function m(P,I){var S=this;this.watchItem=P;if(!I){this.offsets=F}else{if(I===+I){this.offsets={top:I,bottom:I}}else{this.offsets={top:I.top||F.top,bottom:I.bottom||F.bottom}}}this.callbacks={};for(var N=0,M=p.length;N0){this.top=this.bottom=this.watchItem}else{this.top=this.bottom=G.documentHeight-this.watchItem}}else{this.top=this.watchItem.top;this.bottom=this.watchItem.bottom}}this.top-=this.offsets.top;this.bottom+=this.offsets.bottom;this.height=this.bottom-this.top;if((U!==undefined||T!==undefined)&&(this.top!==U||this.bottom!==T)){K(this.callbacks[w])}};this.recalculateLocation();this.update();L=this.isInViewport;Q=this.isFullyInViewport;R=this.isAboveViewport;O=this.isBelowViewport}m.prototype={on:function(e,j,i){switch(true){case e===E&&!this.isInViewport&&this.isAboveViewport:case e===B&&this.isInViewport:case e===z&&this.isFullyInViewport:case e===o&&this.isAboveViewport&&!this.isInViewport:case e===l&&this.isAboveViewport:j.call(this,s);if(i){return}}if(this.callbacks[e]){this.callbacks[e].push({callback:j,isOne:i||false})}else{throw new Error("Tried to add a scroll monitor listener of type "+e+". Your options are: "+p.join(", "))}},off:function(H,I){if(this.callbacks[H]){for(var e=0,j;j=this.callbacks[H][e];e++){if(j.callback===I){this.callbacks[H].splice(e,1);break}}}else{throw new Error("Tried to remove a scroll monitor listener of type "+H+". Your options are: "+p.join(", "))}},one:function(e,i){this.on(e,i,true)},recalculateSize:function(){this.height=this.watchItem.offsetHeight+this.offsets.top+this.offsets.bottom;this.bottom=this.top+this.height},update:function(){this.isAboveViewport=this.topG.viewportBottom;this.isInViewport=(this.top<=G.viewportBottom&&this.bottom>=G.viewportTop);this.isFullyInViewport=(this.top>=G.viewportTop&&this.bottom<=G.viewportBottom)||(this.isAboveViewport&&this.isBelowViewport)},destroy:function(){var I=k.indexOf(this),e=this;k.splice(I,1);for(var J=0,H=p.length;J, you must use jQuery.") }}function x(e){s=e;t();q()}if(window.addEventListener){window.addEventListener("scroll",x);window.addEventListener("resize",u)}else{window.attachEvent("onscroll",x);window.attachEvent("onresize",u)}G.beget=G.create=function(i,j){if(typeof i==="string"){i=document.querySelector(i)}else{if(i&&i.length>0){i=i[0]}}var e=new m(i,j);k.push(e);e.update();return e};G.update=function(){s=null;t();q()};G.recalculateLocations=function(){G.documentHeight=0;G.update()};return G}); // ²Ëµ¥ $(document).ready(function() { var $account = $('#top-header'); var $header = $('#menu-box, #main-search, #mobile-nav'); var $minisb = $('#content'); var $footer = $('#footer'); var accountWatcher = scrollMonitor.create($account); var headerWatcher = scrollMonitor.create($header); var footerWatcherTop = $minisb.height() + $header.height(); var footerWatcher = scrollMonitor.create($footer, { top: footerWatcherTop }); accountWatcher.lock(); headerWatcher.lock(); accountWatcher.visibilityChange(function() { $header.toggleClass('shadow', !accountWatcher.isInViewport); }); headerWatcher.visibilityChange(function() { $minisb.toggleClass('shadow', !headerWatcher.isInViewport); }); footerWatcher.fullyEnterViewport(function() { if (footerWatcher.isAboveViewport) { $minisb.removeClass('shadow').addClass('hug-footer') } }); footerWatcher.partiallyExitViewport(function() { if (!footerWatcher.isAboveViewport) { $minisb.addClass('fixed').removeClass('hug-footer') } }); }) // ¸úËæ $(document).ready(function() { var $account = $('#sidebar'); var $header = $('.sidebar-roll'); var $minisb = $('#content'); var $footer = $('#footer'); var accountWatcher = scrollMonitor.create($account); var headerWatcher = scrollMonitor.create($header); var footerWatcherTop = $minisb.height() + $header.height(); accountWatcher.lock(); headerWatcher.lock(); accountWatcher.visibilityChange(function() { $header.toggleClass('follow', !accountWatcher.isInViewport); }); }) // ¹ö¶¯Áбí $(document).ready(function(a) { if (typeof scrollMonitor != 'undefined') { a(".thumbnail, .content-image img, .single-content p img, #related-img img").each(function(i, el) { var ael = a(el), watcher = scrollMonitor.create(el, -100); ael.addClass('box-hide'); watcher.enterViewport(function(ev) { if (!ael.hasClass('box-show')) { ael.addClass('box-show'); } }); }); } }) } /* FILE ARCHIVED ON 06:59:02 Dec 27, 2020 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 06:20:04 Oct 24, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 1.128 exclusion.robots: 0.069 exclusion.robots.policy: 0.052 esindex: 0.011 cdx.remote: 25.145 LoadShardBlock: 375.372 (3) PetaboxLoader3.resolve: 221.856 (4) PetaboxLoader3.datanode: 362.609 (4) load_resource: 249.193 */