function checkFirstName (strng) {
 var error = "";
 if (strng == "") {
    error = "You didn't enter your first name.\n";
 }
 return error;
}

function checkLastName (strng) {
 var error = "";
 if (strng == "") {
    error = "You didn't enter your last name.\n";
 }
 return error;
}

function checkEmail (strng) {
 var error = "";
 if (strng == "") {
    error = "You didn't enter your email.\n";
 }
 return error;
}

function checkEmail2 (strng) {
 var error = "";
 if (strng == "") {
    error = "You didn't enter your confirm email.\n";
 }
 return error;
}


function checkPhone (strng) {
 var error = "";
 if (strng == "") {
    error = "You didn't enter your phone.\n";
 }
 return error;
}

function checkAddress (strng) {
 var error = "";
 if (strng == "") {
    error = "You didn't enter your address.\n";
 }
 return error;
}

function checkWholeForm(theForm) {
    var why = "";
    why += checkFirstName(theForm.firstname.value);
    why += checkLastName(theForm.lastname.value);
    why += checkPhone(theForm.phone.value);
    why += checkEmail(theForm.email.value);
    why += checkEmail2(theForm.emailc.value);
	why += checkAddress(theForm.address.value);
	
   
    if (why != "") {
       alert(why);
       return false;
    }
return true;
}