<!--
function Validate_CForm()
{
	if (document.form.strContactPerson.value.length == 0)
	{
		alert('You must enter A CONTACT PERSON to continue.');
		document.form.strContactPerson.focus();
		return(false);
	}
	if (document.form.strPhoneNumber.value.length == 0)
	{
		alert('You must enter A PHONE NUMBER to continue.');
		document.form.strPhoneNumber.focus();
		return(false);
	}
   if (document.form.strEmailAddress.value.length == 0 || document.form.strEmailAddress.value.indexOf(".") == -1 || document.form.strEmailAddress.value.indexOf("@") == -1)
	{
		alert('You must enter YOUR E-MAIL ADDRESS containing "@" and "." to continue.');
		document.form.strEmailAddress.focus();
		return(false);
	}
   if (document.form.strTypeofRequest.selectedIndex == 0) {
        alert('You must select your REQUEST TYPE to continue.');
		document.form.strTypeofRequest.focus();
		return(false);
    }
	if (document.form.strTypeofMarketing.selectedIndex == 0) {
        alert('You must tell us HOW YOU FOUND US to continue.');
		document.form.strTypeofMarketing.focus();
		return(false);
    }
	if (document.form.strRequest.value.length == 0)
	{
		alert('You must enter A REQUEST to continue.');
		document.form.strRequest.focus();
		return(false);
	}
	return (true);
} 

function Validate_AppraisalForm()
{
   if (document.theForm.mortName.value.length == 0)
	{
		alert('You must enter your MORTGAGE COMPANY NAME to continue.');
		document.theForm.mortName.focus();
		return(false);
	}
	if (document.theForm.mortAddress.value.length == 0)
	{
		alert('You must enter your MORTGAGE COMPANY ADDRESS to continue.');
		document.theForm.mortAddress.focus();
		return(false);
	}
   if (document.theForm.mortCity.value.length == 0)
	{
		alert('You must enter your MORTGAGE COMPANY CITY to continue.');
		document.theForm.mortCity.focus();
		return(false);
	}
   if (document.theForm.mortState.value.length == 0)
	{
		alert('You must enter your MORTGAGE COMPANY STATE to continue.');
		document.theForm.mortState.focus();
		return(false);
	}
   if (document.theForm.mortZip.value.length == 0)
	{
		alert('You must enter your MORTGAGE COMPANY ZIP to continue.');
		document.theForm.mortZip.focus();
		return(false);
	}
   if (document.theForm.mortPhone.value.length == 0)
	{
		alert('You must enter your MORTGAGE COMPANY PHONE NUMBER to continue.');
		document.theForm.mortPhone.focus();
		return(false);
	}
  if (document.theForm.mortEmail.value.length == 0 || document.theForm.mortEmail.value.indexOf(".") == -1 || document.theForm.mortEmail.value.indexOf("@") == -1)
	{
		alert('You must enter your MORTGAGE COMPANY E-MAIL ADDRESS containing "@" and "." to continue.');
		document.theForm.mortEmail.focus();
		return(false);
	}
   if (document.theForm.appName1.value.length == 0)
	{
		alert('You must enter at least ONE APPLICANT to continue.');
		document.theForm.appName1.focus();
		return(false);
	}
	if (document.theForm.contactPersonEntry.value.length == 0)
	{
		alert('You must enter a CONTACT PERSON to CONTACT FOR ENTRY to continue.');
		document.theForm.contactPersonEntry.focus();
		return(false);
	}
	if (document.theForm.contactPhoneEntry.value.length == 0)
	{
		alert('You must enter a PHONE NUMBER for the CONTACT FOR ENTRY PERSON to continue.');
		document.theForm.contactPhoneEntry.focus();
		return(false);
	}
		if (document.theForm.contactPhone2Entry.value.length == 0)
	{
		alert('You must enter a WORK OR CELL NUMBER for the CONTACT FOR ENTRY PERSON to continue.');
		document.theForm.contactPhone2Entry.focus();
		return(false);
	}
	 if (document.theForm.mortLoanOfficer.value.length == 0)
	{
		alert('You must enter A MORTGAGE LOAN OFFICER to continue.');
		document.theForm.mortLoanOfficer.focus();
		return(false);
	} 
		 if (document.theForm.estValue.value.length == 0)
	{
		alert('You must enter AN ESTIMATED VALUE to continue.');
		document.theForm.estValue.focus();
		return(false);
	} 
			 if (document.theForm.loanAmount.value.length == 0)
	{
		alert('You must enter A LOAN AMOUNT to continue.');
		document.theForm.loanAmount.focus();
		return(false);
	} 
	if (document.theForm.propAddress.value.length == 0)
	{
		alert('You must enter your PROPERTY ADDRESS to continue.');
		document.theForm.propAddress.focus();
		return(false);
	} 
	if (document.theForm.propCity.value.length == 0)
	{
		alert('You must enter your PROPERTY CITY to continue.');
		document.theForm.propCity.focus();
		return(false);
	} 
	if (document.theForm.propState.value.length == 0)
	{
		alert('You must enter your PROPERTY STATE to continue.');
		document.theForm.propState.focus();
		return(false);
	} 
	if (document.theForm.propZip.value.length == 0)
	{
		alert('You must enter your PROPERTY ZIP to continue.');
		document.theForm.propZip.focus();
		return(false);
	}
	if (document.theForm.ttl.value <= 0)
	{
		alert('You must enter CHECK AT LEAST ONE APPRAISAL FORM to continue.');
		document.theForm.URAR1004.focus();
		return(false);
	}
	if (document.theForm.strTypeofMarketing.selectedIndex == 0) {
        alert('You must tell us HOW YOU FOUND US to continue.');
		document.theForm.strTypeofMarketing.focus();
		return(false);
    }
	
	return (true);
} 


function Validate_Emailfriend()
{

if (document.formf.Friendname0.value.length == 0)
	{
		alert('You must enter at least ONE NAME to continue.');
		document.formf.Friendname0.focus();
		return(false);
	}
if (document.formf.FriendEmail0.value.length == 0 || document.formf.FriendEmail0.value.indexOf(".") == -1 || document.formf.FriendEmail0.value.indexOf("@") == -1)
	{
		alert('You must enter at least ONE E-MAIL ADDRESS containing "@" and "." to continue.');
		document.formf.FriendEmail0.focus();
		return(false);
	}
if (document.formf.FromName.value.length == 0)
	{
		alert('You must enter at YOUR NAME to continue.');
		document.formf.FromName.focus();
		return(false);
	}
if (document.formf.SendersEmail.value.length == 0 || document.formf.SendersEmail.value.indexOf(".") == -1 || document.formf.SendersEmail.value.indexOf("@") == -1)
	{
		alert('You must enter YOUR E-MAIL ADDRESS containing "@" and "." to continue.');
		document.formf.SendersEmail.focus();
		return(false);
	}
	return (true);
} 


function Validate_OForm()
{
	if (document.paypalform.os0.value.length == 0)
	{
		alert('You must enter THE APPRAISED ADDRESS to continue.');
		document.paypalform.os0.focus();
		return(false);
	}
	if (document.paypalform.amount.value.length == 0)
	{
		alert('You must enter AN AMOUNT to continue.');
		document.paypalform.amount.focus();
		return(false);
	}
	
	return (true);
}
//-->










































