function formCheck(formobj){

	var fieldRequired = Array("first_name", "last_name", "age", "gender", "email", "marital_status", "ph_number", "ph_number2", "work_phone", "work_phone2", "income", "occupation", "destination", "nb_adults",  "nb_minors", "arrival_date", "departure_date", "arrival_airline", "flight_number", "arrival_time", "hotel");
	var fieldDescription = Array("First Name", "Last Name", "Age", "Gender", "E-mail", "marital status", "ph_number", "ph_number2", "work_phone", "work_phone2", "income", "occupation", "destination", "nb_adults", "nb_minors", "Arrival Date", "Departure Date", "Arrival airline", "flight", "time", "hotel");
	var alertMsg = "Please complete the following fields:\n";
		var l_Msg = alertMsg.length;
		for (var i = 0; i < fieldRequired.length; i++){
		var obj = formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "text":
			case "textarea":
				if (obj.value == "" || obj.value == null || obj.value=="yyyy/mm/dd"){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
				if (obj.value == "" || obj.value == null || obj.value=="yyyy/mm/dd"){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}
	if (alertMsg.length == l_Msg){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}