function CheckPage1C()
{
f1=f2=f3=f4=f5=f6=f7=f8=f9=f10=f11=f12=f13=f14=f15=f16=f17=f18=f19=f20=f21=true;

f1=CheckBlank('FNameRow','cus_fname')
f2=CheckBlank('LNameRow','cus_lname')

var emailPattern = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/
 email = document.getElementById("cus_email")
 
 cEmail = document.getElementById('customer_email')
 if(email.value != "")
 {
	if(!emailPattern.test(email.value))
	    {
		 cEmail.style.color = 'red'
		 f3 = false	
		}
	else
	    cEmail.style.color = '#006600'
 } // end if(myId.value != "")

f4=CheckDropList('DOBRow','yeardob','Year')
f5=CheckDropList('DOBRow','monthdob','0');
f6=CheckDropList('DOBRow','datedob','Day');

f7=CheckBlank('SSNRow','ssn1')
f8=CheckBlank('SSNRow','ssn2')
f9=CheckBlank('SSNRow','ssn3')
f10=CheckDropList('MaritialRow','maritial','Please Choose')
f11=CheckDropList('ResidentRow','uscitizen','Please Choose')
f12=CheckDropList('EthnicRow','ethnic','Please Choose')
f13=CheckDropList('RaceRow','race','Please Choose')
f14=CheckDropList('SexRow','sex','Please Choose')
f15=CheckBlank('AddressRow','paddress')
f16=CheckBlank('CityRow','pcity');
f17=CheckDropList('PStateRow','pstate','State')
f18=CheckBlank('PZipRow','pzip')
f19=CheckDropList('OwnRentRow','ownorrent','Please Choose');
f20=CheckBlank('NoYearRow','pnoyear')

if(document.getElementById('rent_payment'))
{
	f21=CheckBlank('MonthlyIncomeRow','rent_payment')
}
if(!f1 || !f2 || !f3 || !f4 || !f5 || !f6 || !f6 || !f7 || !f8 || !f9 || !f10 || !f11 || !f12 || !f13 || !f14 || !f15 || !f16 || !f17 || !f18 || !f19 || !f20 || !f21)
	{
		ErrorR = document.getElementById('ErrorRow')
        if(ErrorR.firstChild)
           ErrorR.removeChild(ErrorR.firstChild)
        txt = document.createTextNode("Please fix the follwing error(s)");
        ErrorR.appendChild(txt) 
		return false
	}
else 
	return true
	
}
