function MatchIt(object, val, nextfield, charx, mozChar) {
	var TmpOb = object;
	var Val = val;
	var TmpVa = document.myform[Val].value;	
	document.myform[TmpOb].value = TmpVa;

//	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");
//	// determines whether Netscape or Internet Explorer
//	k = (netscape) ? DnEvents.which : window.event.keyCode;
	if(mozChar) { k = mozChar; } else { k = charx; }
	if (k > 40 && k < 123) { // tab key not pressed
		eval('document.myform.' + nextfield + '.focus()');
	}		
}

function ClearIt(object, charx, mozChar) {
	if(mozChar) { k = mozChar; } else { k = charx; }
	if (k > 40 && k < 123) { // tab key not pressed
		document.myform[object].value = "";
	}		
}


