// JavaScript Document
var inList = false;
var thisInput = '';

function netscapeKeyPress(e) {
    if (e.which == 13 && inList == true && thisInput != '') {
		setInput(thisInput);
	}
}

function microsoftKeyPress() {
	// alert('navigator.appName: ' + navigator.appName);
    if (navigator.appName != 'Netscape' && window.event.keyCode == 13 && inList == true && thisInput != '') {
		setInput(thisInput);
	}
}

if (navigator.appName == 'Netscape') {
    document.captureEvents(Event.KEYPRESS);
    document.onkeypress = netscapeKeyPress;
}

