function JoinFormCheck1(frm) {
	if (frm.t1.value == "") { showBlank("Name",frm.t1); return false; }
	if (frm.t7.value == "") { showBlank("Email",frm.t7); return false; }
	Email = frm.t7.value;
	if (Email.length < 6) {
		alert("The Email Address you entered was found to be invalid.\nPlease enter a valid Email Address.");
		frm.t7.select();
		frm.t7.focus();
		return false;
	}
	if (Email.indexOf("@") == -1) {
		alert("The Email Address you entered was found to be invalid.\nPlease enter a valid Email Address.");
		frm.t7.select();
		frm.t7.focus();
		return false;
	}
	if (Email.indexOf(".") == -1) {
		alert("The Email Address you entered was found to be invalid.\nPlease enter a valid Email Address.");
		frm.t7.select();
		frm.t7.focus();
		return false;
	}
	//if(!frm.agree.checked)	{
	//	alert("You must Agree to the Terms."); 
	//	return false;
	//}
	return true;
}

function showBlank(field, obj) {
	msg = "You have missed one of the mandatory fields.\n" + field + " was left blank or not selected.\n";
	alert(msg)
	obj.focus();
}
function showBlank1(field, obj) {
	msg = "You have missed one of the mandatory fields.\n" + field + " is Invalid.\n";
	alert(msg)
	obj.focus();
}