<!--
function window_onload() {
	document.frmAccountTCInfo.TCCompany.focus();
}

function Update_Edit_Flag() {
	document.frmAccountTCInfo.hdnEditFlag.value="Y";
}

function frmAccountTCInfo_onsubmit() {
	if (document.frmAccountTCInfo.TCCompany.value.length==0) {
		alert("Please enter your company's name.");
		document.frmAccountTCInfo.TCCompany.focus();
		return false;
	}
	else {
		if (document.frmAccountTCInfo.TCContact.value.length==0) {
		alert("Please enter the name your company's contact person.");
		document.frmAccountTCInfo.TCContact.focus();
		return false;
		}
		else {
			if (document.frmAccountTCInfo.TCPhone.value.length==0) {
			alert("Please enter your company's phone number.");
			document.frmAccountTCInfo.TCPhone.focus();
			return false;
			}
			else {
				if (document.frmAccountTCInfo.TCEmailList.value.length==0) {
				alert("Please specify at least one alternate e-mail address.");
				document.frmAccountTCInfo.TCEmailList.focus();
				return false;
				}
				else {				
					if (document.frmAccountTCInfo.TCEmailList.value.length > 1000) {
					alert("Please decrease the number of alternate e-mail addresses.");
					document.frmAccountTCInfo.TCEmailList.focus();
					return false;
					}
					else {													
						return true;
					}
				}
			}
		}
	}
}

function reset_original_values() {
	document.frmAccountTCInfo.TCCompany.value = document.frmAccountTCInfo.original_TCCompany.value
	document.frmAccountTCInfo.TCContact.value = document.frmAccountTCInfo.original_TCContact.value	
	document.frmAccountTCInfo.TCPhone.value = document.frmAccountTCInfo.original_TCPhone.value		
	document.frmAccountTCInfo.TCEmailList.value = document.frmAccountTCInfo.original_TCEmailList.value
	document.frmAccountTCInfo.hdnEditFlag.value="Y";
	document.frmAccountTCInfo.TCCompany.focus();
}

//-->