		//checkKey(keyEvent) is an event handler for the onKeypress event. It submits the form 'f1' when the
		//'Enter' key is pressed. It takes a reference to an event as an argument (keyEvent). Navigator uses
		//this reference directly, MSIE ignores it and gets the event from the window in which the event fired.
		
		function checkKey(keyEvent) {
		
			if (navigator.appName.indexOf("Microsoft") != -1) {
			
				//MSIE gets the value of the pressed key from the 'keyCode' property of the window's last event.
				keyPressed = window.event.keyCode;
				
			} else {
			
				//Navigator gets the value of the pressed key from the 'which' property of the event referenced by the argument.
				keyPressed = keyEvent.which;
			}
		
			if (keyPressed == "3" || keyPressed == "13") {  // The key is refered to by its unicode value -- ENTER = 3, RETURN = 13.
															// We have to check for both because Netscape 4.05 for Windows thinks 
															// that ENTER == RETURN == Char(13). This means that if you'd still like
															// to have only the ENTER key submit the form in the other browsers,
															// you'd have to make this condition check the browser and behave in this
															// (stupid) way only for Win32 Netscape 4.05.
			
				//For kicks, we'll capture (in 'status') how the form was submitted. Any use?
				document.f1.status.value = "The ENTER key submitted this form.";
				document.f1.submit(); 
			}
		}