functionreachBottom( clientHeight = 0;
varscrollHeight = 0;
if (document.documentElement && document.documentElement.scrollTop) {
> } else if (document.body) {
scrollTop = document.body.scrollTop;
}
if (document.body.mHeight &t.clicli. entHeight = (document.body.clientHeight } else {
clientHeight = (document.body.clientHeightclio. document.body.clientHeight: document.documentElement.clientHeight;
}
scrollHeight = Math.max(document.body.scrollHeight, document.documscrollHeight = Math。 ight) {
回傳true;
} else {