function satya(x)
{
	var sa=/^[a-zA-Z]+$/;
	var sn=/^[0-9]+$/;
	var emailExp=/^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
		if(x.name.value=="")
			{
				alert("Please Enter the name");
				x.name.focus();
				return false;
			}	
			
	    if(!x.name.value.match(sa))
	        {
		alert("Please input a valid name");
		x.name.focus();
		return false;
	}
	
	if(x.address.value=="")
			{
				alert("Please Enter Address ");
				x.address.focus();
				return false;
			}
			
		if(x.district.value=="")
		{
				alert("Please Enter District ");
				x.district.focus();
				return false;
		}
		
		if(!x.district.value.match(sa))
	{
		alert("Please input a valid district");
		x.district.focus();
		return false;
	}
	
		if(x.state.value=="")
		{
				alert("Please Input state ");
				x.state.focus();
				return false;
		}
		
		if(!x.state.value.match(sa))
	{
		alert("Please input a valid state");
		x.state.focus();
		return false;
	}
	
		if(x.country.value=="0")
		{
				alert("Please Choose Country ");
				x.country.focus();
				return false;	
				
		}
		
		if(x.pincode.value=="")
		{
				alert("Please Input pincode ");
				x.pincode.focus();
				return false;	
				
		}
		
		if(!x.pincode.value.match(sn))
	{
		alert("Input valid pincode");
		x.pincode.focus();
		return false;
	}
	
		if(x.email.value=="")
		{	
				alert("Please Input email");
				x.email.focus();
				return false;
		}
		
	if(!x.email.value.match(emailExp))
	{
		alert("Invalid Email");
		x.email.focus();
		return false;
	}
	
	if(x.c2en.value=="0")
		{	
				alert("Please Choose CATEGORY TO ENROLE");
				x.c2en.focus();
				return false;
		}
		
		if(x.description.value=="")
		{	
				alert("Please Input Description");
				x.description.focus();
				return false;
		}
		
		if(x.mobile.value=="")
		{	
				alert("Please Input Mobile Number");
				x.mobile.focus();
				return false;
		}
		
	if(!x.mobile.value.match(sn))
	{
		alert("Input valid mobile number");
		x.mobile.focus();
		return false;
	}
}
		