// JavaScript Document
function checkform()
{

	f = document.getElementById('form1');
	
    
    if(document.forms["form1"]["custom salutation"].options[0].selected == true)
	{
		alert("Please select Salutation");
		document.forms["form1"]["custom salutation"].focus();
		return false;
	}
    
	if(f.name.value == "")
	{
		alert("Please enter a First Name");
        f.name.focus();
		return false;
	}

	if(document.forms["form1"]["custom last"].value == "")
	{
		alert("Please enter a Last Name");
        document.forms["form1"]["custom last"].focus();
		return false;
	}
    
    if(document.forms["form1"]["custom bmonth"].options[0].selected == true)
	{
		alert("Please select a Birth Date");
		document.forms["form1"]["custom bmonth"].focus();
		return false;
	}
    
    if(document.forms["form1"]["custom bday"].options[0].selected == true)
	{
		alert("Please select a Birth Date");
		document.forms["form1"]["custom bday"].focus();
		return false;
	}
    
    if(document.forms["form1"]["custom byear"].options[0].selected == true)
	{
		alert("Please select a Birth Date");
		document.forms["form1"]["custom byear"].focus();
		return false;
	}

	if(document.forms["form1"]["custom address"].value == "")
	{
		alert("Please enter an Address");
        document.forms["form1"]["custom address"].focus();
		return false;
	}
    
	if(document.forms["form1"]["custom city"].value == "")
	{
		alert("Please enter a City");
        document.forms["form1"]["custom city"].focus();
		return false;
	}
    
    if(document.forms["form1"]["custom state"].options[0].selected == true)
	{
		alert("Please select a State");
		document.forms["form1"]["custom state"].focus();
		return false;
	}

	if(document.forms["form1"]["custom zip"].value == "")
	{
		alert("Please enter a Zip Code");
        document.forms["form1"]["custom zip"].focus();
		return false;
	}
    
	if(document.forms["form1"]["custom phone"].value == "")
	{
		alert("Please enter a Phone Number");
        document.forms["form1"]["custom phone"].focus();
		return false;
	}
    
	if(f.from.value == "")
	{
		alert("Please enter an Email Address");
        f.from.focus();
		return false;
	}
    
    if(document.forms["form1"]["custom reason"].options[0].selected == true)
	{
		alert("Please select a Reason");
		document.forms["form1"]["custom reason"].focus();
		return false;
	}

    if(document.forms["form1"]["custom umonth"].options[0].selected == true)
	{
		alert("Please select an Unemployed Since Date");
		document.forms["form1"]["custom umonth"].focus();
		return false;
	}
    
    if(document.forms["form1"]["custom uday"].options[0].selected == true)
	{
		alert("Please select an Unemployed Since Date");
		document.forms["form1"]["custom uday"].focus();
		return false;
	}
    
    if(document.forms["form1"]["custom uyear"].options[0].selected == true)
	{
		alert("Please select an Unemployed Since Date");
		document.forms["form1"]["custom uyear"].focus();
		return false;
	}

	if(f.chkterms.checked == false)
	{
		alert("Your must agree to our terms and conditions.");
		f.chkterms.focus();
		return false;
	}


}

