rem: keynum = e.keyCode; if (!(e.modifiers & Event.CONTROL_MASK)) return true; 
add: keynum = window.event.keyCode; if (!(window.event.modifiers & window.event.CONTROL_MASK)) return true; 
context: 		textarea.onkeydown = function(e) {			// Check if they are trying to move to another cell!			var keynum;						if(window.event) // IE			{				keynum = e.keyCode;				if (!(e.modifiers & Event.CONTROL_MASK)) return true;			}			else if(e.which) // Netscape/Firefox/Opera			{				keynum = e.which;				if (!e.ctrlKey) return true;			}				switch (keynum) {			case 66:				bbCode('b', textarea);				break;			case 73:				bbCode('i', textarea);				break;			case 85:				bbCode('u', textarea);				break;			case 83:				bbCode('s', textarea);				break;			case 75: // k				bbCode('php', textarea);				break;			case 76: // l				bbCode('code', textarea);				break;			case 81: // q				bbCode('quote', textarea);				break;			case 82: // r				bbCode('spoiler', textarea);				break;			case 72: // h				bbcURL('url', textarea);				break;			case 69: // e				bbcURL('email', textarea);				break;			case 74: // j				bbcURL('img', textarea);				break;			default:				return true			}						return false;		};
meta: 7771	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7771/1eebb61ef8c674ec29d9eee1e32befc32af475e2/postboxplain.js/buggy/trunk/qsf/javascript/postboxplain.js