rem: var w = frame.contentWindow; return ((w.document.height - (w.innerHeight + w.pageYOffset)) < 160); 
add: return (window.document.height - window.innerHeight - window.pageYOffset) < 160; 
context: function checkScroll(frame){    if (!frame || !("contentWindow" in frame))        return false;    var w = frame.contentWindow;    return ((w.document.height - (w.innerHeight + w.pageYOffset)) < 160);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fa359690d17fc0358c5ed06036e22e12abc609c5/static.js/clean/extensions/irc/xul/content/static.js