rem: newOfs = w.pageYOffset + (w.innerHeight / 2); 
add: newOfs = w.pageYOffset + (w.innerHeight * 0.9); 
context: function onWindowKeyPress (e){    var code = Number (e.keyCode);    var w;    var newOfs;        switch (code)    {        case 112: /* F1 */        case 113: /* ... */        case 114:        case 115:        case 116:        case 117:        case 118:        case 119:        case 120:        case 121: /* F10 */            var idx = code - 112;            if ((idx in client.viewsArray) && (client.viewsArray[idx].source))                setCurrentObject(client.viewsArray[idx].source);            break;        case 33: /* pgup */            w = client.currentFrame;            newOfs = w.pageYOffset - (w.innerHeight / 2);            if (newOfs > 0)                w.scrollTo (w.pageXOffset, newOfs);            else                w.scrollTo (w.pageXOffset, 0);            e.preventDefault();            break;                    case 34: /* pgdn */            w = client.currentFrame;            newOfs = w.pageYOffset + (w.innerHeight / 2);            if (newOfs < (w.innerHeight + w.pageYOffset))                w.scrollTo (w.pageXOffset, newOfs);            else                w.scrollTo (w.pageXOffset, (w.innerHeight + w.pageYOffset));            e.preventDefault();            break;        default:                }}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/5effcc381bf78f4b464c1592cdaa2534669a9035/handlers.js/buggy/xul/content/handlers.js