<!-- Original:  Ronnie T. Moore -->

<!-- Begin
nextfield = "codigo"; // name of first box on page

	netscape = "";
	ver = navigator.appVersion; len = ver.length;
	for(iln = 0; iln < len; iln++) if (ver.charAt(iln) == "(") break;
	netscape = (ver.charAt(iln+1).toUpperCase() != "C");

	function keyDown(DnEvents) { // handles keypress
	// determines whether Netscape or Internet Explorer
	k = (netscape) ? DnEvents.which : window.event.keyCode;
	if (k == 13) { // enter key pressed
	if (nextfield == 'enviar'){
		return true;
	                        }
	else { // we're not done yet, send focus to next box
	eval('document.formulario.' + nextfield + '.focus()');
	return false;
	      }
	   }
	}
document.onkeydown = keyDown; // work together to analyze keystrokes
if (netscape) document.captureEvents(Event.KEYDOWN|Event.KEYUP);
//  End -->

