function validate(myForm){
    theform = myForm;
    
    if (theform.firstName.value.length == 0) {
        alert('Please enter your first name.');
        theform.firstName.focus();
        return false;
    }
    if (theform.lastName.value.length == 0) {
        alert('Please enter your last name.');
        theform.lastName.focus();
        return false;
    }
    if (theform.address.value.length == 0) {
        alert('Please enter your mailing address.');
        theform.address.focus();
        return false;
    }
    if (theform.city.value.length == 0) {
        alert('Please enter your city.');
        theform.city.focus();
        return false;
    }
        
    if (theform.zip.value.length == 0) {
        alert('Please enter a valid zip code');
        theform.zip.focus();
        return false;
    }
    
    if (theform.phone.value.length == 0) {
        alert('Please enter a valid Phone Number');
        theform.phone.focus();
        return false;
    }
}

