break;  case 112: /* F1 */ case 113: /* ... */ case 114: case 115: case 116: case 117: case 118: case 119: case 120: case 121: /* F10 */ if (e.ctrlKey || e.shiftKey || e.Altkey || e.metaKey) break; var idx = code - 112; if ((idx in client.viewsArray) && client.viewsArray[idx].source) { var newView = client.viewsArray[idx].source; dispatch("set-current-view", { view: newView }); } e.preventDefault(); 
function onWindowKeyPress (e){    var code = Number(e.keyCode);    var w;    var newOfs;    var userList = document.getElementById("user-list");    var elemFocused = document.commandDispatcher.focusedElement;    switch (code)    {        case 9: /* tab */            if (e.ctrlKey || e.metaKey)            {                cycleView(e.shiftKey ? -1: 1);                e.preventDefault();            }            break;        case 112: /* F1 */        case 113: /* ... */        case 114:        case 115:        case 116:        case 117:        case 118:        case 119:        case 120:        case 121: /* F10 */            if (e.ctrlKey || e.shiftKey || e.Altkey || e.metaKey)                break;            var idx = code - 112;            if ((idx in client.viewsArray) && client.viewsArray[idx].source)            {                var newView = client.viewsArray[idx].source;                dispatch("set-current-view", { view: newView });            }            e.preventDefault();            break;        case 33: /* pgup */            if (e.ctrlKey)            {                cycleView(-1);                e.preventDefault();                break;            }            if (elemFocused == userList)                break;            w = client.currentFrame;            newOfs = w.pageYOffset - (w.innerHeight * 0.75);            if (newOfs > 0)                w.scrollTo (w.pageXOffset, newOfs);            else                w.scrollTo (w.pageXOffset, 0);            e.preventDefault();            break;        case 34: /* pgdn */            if (e.ctrlKey)            {                cycleView(1);                e.preventDefault();                break;            }            if (elemFocused == userList)                break;            w = client.currentFrame;            newOfs = w.pageYOffset + (w.innerHeight * 0.75);            if (newOfs < (w.innerHeight + w.pageYOffset))                w.scrollTo (w.pageXOffset, newOfs);            else                w.scrollTo (w.pageXOffset, (w.innerHeight + w.pageYOffset));            e.preventDefault();            break;    }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/c28fb69a56d9dc9af199932ceeb90e4b1324172a/handlers.js/clean/extensions/irc/xul/content/handlers.js