function checkWholeForm(contact) {
	var why = "";
	
		why += isEmpty(contact.name.value, "GIVEN NAME");
		if (why != "") {
			alert(why);
			contact.name.focus();
			return false;
		}
		
		why += isEmpty(contact.surname.value, "LAST NAME");
		if (why != "") {
			alert(why);
			contact.surname.focus();
			return false;
		}
		
		why += isEmpty(contact.company.value, "COMPANY");
		if (why != "") {
			alert(why);
			contact.company.focus();
			return false;
			
		}
		why += isEmpty(contact.position.value, "POSITION");
		if (why != "") {
			alert(why);
			contact.position.focus();
			return false;

		}
		why += isEmpty(contact.telephone.value, "TELEPHONE NUMBER");
		if (why != "") {
			alert(why);
			contact.telephone.focus();
			return false;		
		}
		
		why += isEmpty(contact.fax.value, "FAX");
		if (why != "") {
			alert(why);
			contact.fax.focus();
			return false;
		}
		
		why += checkEmail(contact.email.value, "EMAIL");
		if (why != "") {
			alert(why);
			contact.email.focus();
			return false;
		}

	

//		why += checkDropdown(enrolment.date_01_day.selectedIndex, "PREFERENCE DATE 1 - DAY");
//		if (why != "") {
//			alert(why);
//			enrolment.date_01_day.focus();
//			return false;
//		}
//		why += checkDropdown(enrolment.date_01_month.selectedIndex, "PREFERENCE DATE 1 - MONTH");
//		if (why != "") {
//			alert(why);
//			enrolment.date_01_month.focus();
//			return false;
//		}
//		why += checkDropdown(enrolment.date_01_hour.selectedIndex, "PREFERENCE DATE 1 - HOUR");
//		if (why != "") {
//			alert(why);
//			enrolment.date_01_hour.focus();
//			return false;
//		}
//		why += checkDropdown(enrolment.date_01_minute.selectedIndex, "PREFERENCE DATE 1 - MINUTE");
//		if (why != "") {
//			alert(why);
//			enrolment.date_01_minute.focus();
//			return false;
//		}
//		why += checkDropdown(enrolment.date_02_day.selectedIndex, "PREFERENCE DATE 2 - DAY");
//		if (why != "") {
//			alert(why);
//			enrolment.date_02_day.focus();
//			return false;
//		}
//		why += checkDropdown(enrolment.date_02_month.selectedIndex, "PREFERENCE DATE 2 - MONTH");
//		if (why != "") {
//			alert(why);
//			enrolment.date_02_month.focus();
//			return false;
//		}
//		why += checkDropdown(enrolment.date_02_hour.selectedIndex, "PREFERENCE DATE 2 - HOUR");
//		if (why != "") {
//			alert(why);
//			enrolment.date_02_hour.focus();
//			return false;
//		}
//		why += checkDropdown(enrolment.date_02_minute.selectedIndex, "PREFERENCE DATE 2 - MINUTE");
//		if (why != "") {
//			alert(why);
//			enrolment.date_02_minute.focus();
//			return false;
//		}
	return true;
}
