rem: numPages = 1; command = "cmd_nextUnreadMsg"; }  contentWindow.scrollByPages(numPages);   if (oldScrollY == contentWindow.scrollY) { goDoCommand(command); 
add:  if (contentWindow.scrollY < contentWindow.scrollMaxY) { contentWindow.scrollByPages(1); } else { goDoCommand("cmd_nextUnreadMsg"); } 
context: function SpaceHit(event){  var contentWindow = window.top._content;  var oldScrollY = contentWindow.scrollY;  var numPages;  var command;  if (event && event.shiftKey) {    numPages = -1;    command = "cmd_previousUnreadMsg";  }  else {    numPages = 1;    command = "cmd_nextUnreadMsg";  }  contentWindow.scrollByPages(numPages);  // if at the end (or start) of the message, go to the next one  if (oldScrollY == contentWindow.scrollY) {    goDoCommand(command);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/195dc7ee6cc10ae53bb775a5cca6f9b046870c90/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js