function formCheck(formobj){
	var fieldRequired = Array("First Name", "Family Name", "Nationality", "E-mail", "selectmonth", "selectday", "selectyear", "Address", "City", "country", "State/Province", "Postal Code", "Home Phone", "Emergency Name", "Emergency Phone",  "accept");
	var fieldDescription = Array("First Name", "Family Name", "Nationality", "E-mail", "Date of Birth Month", "Date of Birth Day", "Date of Birth Year", "Address", "City", "Country", "State/Province", "Postal Code", "Home Phone", "Emergency Name", "Emergency Phone", "Yes I Accept");
	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 == "" || obj.options[obj.selectedIndex].text == "Month" || obj.options[obj.selectedIndex].text == "Day" || obj.options[obj.selectedIndex].text == "Year" || obj.options[obj.selectedIndex].text == "Please Select Your Country"){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
				
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
				
				
			case "checkbox":
				if (obj.checked == false){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
				
				
				
			case "text":
				if (obj.value == "" || obj.value == null || obj.value == "Required"){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}

	if (alertMsg.length == l_Msg){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}



