// JavaScript Document
function frmceck()
{
	var a=document.frm;
	if(a.fname.value=="")
	{
		alert("Enter the Name.");
		a.fname.focus();
		return false;
	}
	if(a.phone.value=="")
	{
		alert("Enter the phone.");
		a.phone.focus();
		return false;
	}
	if(a.email.value=="")
	{
		alert("Enter the email.");
		a.email.focus();
		return false;
	}
	if((a.email.value.indexOf(".")==-1)||(a.email.value.indexOf("@")==-1))
	{
		alert("Enter the valid email.");
		a.email.focus();
		return false;
	}

	if(a.message.value=="")
	{
		alert("Enter the message.");
		a.message.focus();
		return false;
	}
	return true;
}
