function formCheck() 
{

        if (document.contact.firstName.value == "") 
        {
        alert("Please enter your first name in the 'First Name' field.");
        document.contact.firstName.focus()
        document.contact.firstName.select()
        return false;
        }

	if (document.contact.lastName.value == "") 
        {
        alert("Please enter your last name in the 'Last Name' field.");
        document.contact.lastName.focus()
        document.contact.lastName.select()
        return false;
        }
       
        if (document.contact.address.value == "") 
        {
        alert("Please enter your address in the 'Address' field.");
        document.contact.address.focus()
        document.contact.address.select()
        return false;
        }
        
        if (document.contact.city.value == "") 
        {
        alert("Please enter your city in the 'City' field.");
        document.contact.city.focus()
        document.contact.city.select()
        return false;
        }
        
        if (document.contact.state.value == ""){
        		alert("Please enter your state in the 'State' field.");
        		document.contact.state.focus()
        		return false;
        }
        
        if (document.contact.zipCode.value == ""){
        		alert("Please enter your Zip Code in the 'Zip Code' field.");
        		document.contact.zipCode.focus()
        		document.contact.zipCode.select()
        		return false;
        }
	
        
	homePhone = document.contact.homePhone.value;
	     invalidChars = "abcdefghijklmnopqrstuvwxyz"	
	     
        if (homePhone.length < 10) { 
        alert ("Please enter your area code and telephone number");
        document.contact.homePhone.focus()
        document.contact.homePhone.select()
        return false;
        }
        for (i = 0; i < invalidChars.length; i++) {
          badChar = invalidChars.charAt(i)
          if (homePhone.indexOf(badChar,0) > 0) {
              alert ("There are no letters in a telephone number - numbers only please");
              document.contact.homePhone.focus()
              document.contact.homePhone.select()
              return false;
        	    }
        }
 
	if (document.contact.emailAddress.value.indexOf("@") == -1 ||
            document.contact.emailAddress.value == "") 
        {
        alert("Please include a valid email address.");
        document.contact.emailAddress.focus()
        document.contact.emailAddress.select()
        return false;
        }

    count = 0
    for (ir=0;ir<document.contact.interestedIn.length; ++ir){
       if (document.contact.interestedIn[ir].checked){
	 ++count;
	}
    }

    if (count==0) {
	alert('Please select an area of interest');
    document.contact.interestedIn[0].focus();
    return false;
    }


 return true;
        
}

