function validation (f)
{
	var cp = f.cperson.value;
	if(cp.length == 0)
	{
		alert("Please Enter Your Name.")
		f.cperson.focus();
		return false;
	}
	
	var ph = f.phone.value;
	if(ph.length == 0)
	{
		alert("Please, Enter your Phone Number.");
		f.phone.focus();
		return false;
	}
	
	if(isNaN(ph) == true)
	{
		alert("Please, Enter your Phone Number in Numeric Formate.");
		f.phone.focus();
		return false;
	}
	
	var em = f.email.value;
	if(em.length == 0)
	{
		alert("Please, Enter your Email Id.");
		f.email.focus();
		return false;
	}
	
	if(em.charAt(0) == '@' || em.charAt(0) == '.')
	{
		alert("Please, Enter your Proper Email Id.");
		f.email.focus();
		return false;
	}
	
	if(em.indexOf('@') == -1 || em.indexOf('.') == -1)
	{
		alert("Please, Enter your Proper Email Id.");
		f.email.focus();
		return false;
	}
	
	var rq = f.comments.value;
	if(rq.length == 0)
	{
		alert("Please, Enter your Comments.");
		f.comments.focus();
		return false;
	}
	
	var cd = f.code.value;
	if(cd.length == 0)
	{
		alert("Please, Enter Security Code.");
		f.code.focus();
		return false;
	}
	
	if(cd != "BarodAgro")
	{
		alert("Please, Enter Correct Security Code.");
		f.code.focus();
		return false;
	}
	
return true;
}