rem: if(e.which == 32) this._preventScroll(event); 
add: if(event.which == 32) this._preventScroll(event); 
context: 	_kbdHandler: function(event) {		var node = event.element();		switch(event.keyCode) {			case Event.KEY_TAB:				event.stop();								/* Switching currFocused to the element which was focused by mouse instead of TAB-key. Fix for #134 */ 				if(node != this.focusableElements[this.currFocused])					this.currFocused = this.focusableElements.toArray().indexOf(node);								if(!event.shiftKey) { //Focusing in direct order					if(this.currFocused == this.focusableElements.length - 1) {						this.focusableElements.first().focus();						this.currFocused = 0;					} else {						this.currFocused++;						this.focusableElements[this.currFocused].focus();					}				} else { // Shift key is pressed. Focusing in reverse order					if(this.currFocused == 0) {						this.focusableElements.last().focus();						this.currFocused = this.focusableElements.length - 1;					} else {						this.currFocused--;						this.focusableElements[this.currFocused].focus();					}				}				break;						case Event.KEY_ESC:				if(this.active) this._hide(event);				break;			case 32:				this._preventScroll(event);				break;			case 0: // For Gecko browsers compatibility				if(e.which == 32) this._preventScroll(event);				break;			case Event.KEY_UP:			case Event.KEY_DOWN:			case Event.KEY_PAGEDOWN:			case Event.KEY_PAGEUP:			case Event.KEY_HOME:			case Event.KEY_END:				// Safari operates in slightly different way. This realization is still buggy in Safari.				if(Prototype.Browser.WebKit && !["textarea", "select"].include(node.tagName.toLowerCase()))					event.stop();				else if( (node.tagName.toLowerCase() == "input" && ["submit", "button"].include(node.type)) || (node.tagName.toLowerCase() == "a") )					event.stop();				break;		}	},
meta: 2672	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2672/1ba03b55963d00f89bcb1be173c270f92e54780c/modalbox.js/buggy/modalbox.js