function checkRequired(TheForm) {
	if (document.frmSend.txtname.value=="" || IsBlank("frmSend","txtname")==false) {
		alert("Please enter your name!");
		document.frmSend.txtname.focus();
		return (false);
	}
	if (document.frmSend.txtemail.value=="" || IsBlank("frmSend","txtemail")==false) {
		alert("Please enter your email address!");
		document.frmSend.txtemail.focus();
		return (false);
	}
	var ChkEmail = ValidEmail("frmSend","txtemail");
	if (ChkEmail==false) {
		alert("Your Email Address format is not correct!");
		document.frmSend.txtemail.focus();
		return (false);
	}
	if (document.frmSend.txtfname.value=="" || IsBlank("frmSend","txtfname")==false) {
		alert("Please enter your friend's name!");
		document.frmSend.txtfname.focus();
		return (false);
	}
	if (document.frmSend.txtfemail.value=="" || IsBlank("frmSend","txtfemail")==false) {
		alert("Please enter your friend's email address!");
		document.frmSend.txtfemail.focus();
		return (false);
	}
	var ChkEmail = ValidEmail("frmSend","txtfemail");
	if (ChkEmail==false) {
		alert("Friend's Email format is not correct!");
		document.frmSend.txtfemail.focus();
		return (false);
	}
	return (true);
}