// JavaScript Document
function Verify()
{
	var strSingleLineText = document.frmEmailFriend.txtComment.value.replace(new RegExp( "\\n", "g" ),"<br>" );
	document.frmEmailFriend.txtComment.value = strSingleLineText;
	var strText = document.frmEmailFriend.txtReadyComments.value.replace(new RegExp( "\\n", "g" ),"<br>" );
	document.frmEmailFriend.txtReadyComments.value = strText;
	if (Trim(document.frmEmailFriend.txtYourName.value) == "")
	{
		alert ("Please Enter Your Name");
		document.frmEmailFriend.txtYourName.focus();
		return false;
	}
	if (Trim(document.frmEmailFriend.txtFriendName.value) == "")
	{
		alert ("Please Enter Friend's Name");
		document.frmEmailFriend.txtFriendName.focus();
		return false;
	}
	if (Trim(document.frmEmailFriend.txtYourEmailId.value) == "")
	{
		alert ("Please Enter Your Email");
		document.frmEmailFriend.txtYourEmailId.focus();
		return false;
	}
	if (!isEmail(document.frmEmailFriend.txtYourEmailId.value))
	{
		alert ("Please Enter Proper Email");
		document.frmEmailFriend.txtYourEmailId.focus();
		return false;
	}
	if (Trim(document.frmEmailFriend.txtFriendEmailId.value) == "")
	{
		alert ("Please Enter Friend's Email");
		document.frmEmailFriend.txtFriendEmailId.focus();
		return false;
	}
	if (!isEmail(document.frmEmailFriend.txtFriendEmailId.value))
	{
		alert ("Please Enter Proper Email");
		document.frmEmailFriend.txtFriendEmailId.focus();
		return false;
	}
	if (Trim(document.frmEmailFriend.txtComment.value) == "")
	{
		alert ("Please Enter Your Message");
		document.frmEmailFriend.txtComment.focus();
		return false;
	}

return true;
		
}