function checkWholeFormfeedback(theForm) {

	if (theForm.name.value == "") {
		alert ("Please enter name");
		theForm.name.focus();
		return false;
	}

	if (theForm.country.value == "") {
		alert ("Please enter country");
		theForm.country.focus();
		return false;
	}

	if (theForm.address.value == "") {
		alert ("Please enter address");
		theForm.address.focus();
		return false;
	}

		

	if (theForm.ph.value == "") {
		alert ("Please enter phone");
		theForm.ph.focus();
		return false;
	}

	if (!isEmail(theForm.email.value)) {
		alert ("Please enter email");
		theForm.email.focus();
		return false;
	}


	return true;

}

function isEmail(value) {
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(value)){
		return (true);
	}
	return (false);
}