  <!--
  	// this is a cross-browser compatible script that returns true if the key pressed
	// is valid (a-z, 0-9, backspace, pgup, pgdn, home, end, delete or space) and returns
	// false if it is not a valid key . TESTED ON: Firefox 1.0, IE 6.0
	document.captureEvents(Event.KEYPRESS);
	function xBrowserKey(e) {	
		if (!e.which) {
			// if using IE
			var k = window.event.keyCode;		
		} else {
			// if using mozilla/firefox
			var k = e.which;		
		}
		// check that the key pressed is valid: a-z=97-122, 0-9=48-57, A-Z=65-90, backspace=8, enter=13, space=32, &=38 , '=39
		if((k > 96 && k < 123) || (k > 47 && k < 58) || (k > 64 && k < 91) || k == 8 || k == 13 || k == 32 || k == 39) {
			return true;
		} else {
			return false;
		}	
	}
  // -->