
function checkForm() {
	alert("in function");
	var msg = "Please fill in the following: \n";
	if ((window.document.form1.firstname.value=="") || (window.document.form1.firstname.value==null)) {
		msg=msg+"- First name\n";
	}
	if ((window.document.form1.lastname.value=="") || (window.document.form1.lastname.value==null)) {
		msg=msg+"- Last name\n";
	}
	if ((window.document.form1.areacode.value=="") || (window.document.form1.areacode.value==null)) {
		msg=msg+"- Area code\n";
	}
	if ((window.document.form1.phone3.value=="") || 	(window.document.form1.phone3.value==null) || (window.document.form1.phone4.value=="") || (window.document.form1.phone4.value==null)) {
		msg=msg+"- Phone number\n";
	}
	if ((window.document.form1.email.value=="") || (window.document.form1.email.value==null)) {
		msg=msg+"- Email address\n";
	}
	if ((window.document.form1.resume.value=="") || (window.document.form1.resume.value==null)) {
		msg=msg+"- The path to your resume or CV.\n";
	}
	
	if (msg=="Please fill in the following: \n") {
		return false;
	} else {
		alert(msg);
		return false;
	}
}
