function ValidateText(x)
{
	var w_space = String.fromCharCode(32);
	//alert("--"+String.fromCharCode(32)+"--")
	var txtVal = x;
	
	txtVal=txtVal.replace(txtVal,"");
	txtVal=txtVal.replace(".","")
	txtVal=txtVal.replace(",","")
	txtVal=txtVal.replace("'","")
	txtVal=txtVal.replace("<","")
	txtVal=txtVal.replace(">","")
	txtVal=txtVal.replace("(","")
	txtVal=txtVal.replace(")","")
	txtVal=txtVal.replace("-","")
	var flag;
	
	var len =txtVal.length;
	
	//alert(len)
	for(var i = 0;i<len; i++)
	{//alert(txtVal.charAt(i))
		if(txtVal.charAt(i) < 'A' || txtVal.charAt(i) < 'Z' && txtVal.charAt(i) >'a' || txtVal.charAt(i)>'z')
		{
		//alert("Please enter only aphabets in "+y+" field.")
			flag=false
			return false;
			//alert(flag)
		}
		else
		{
			flag=true
			//alert(flag)
		}
	}
	if(flag==false)
	{
		return false;		
	}
	else
	{
		return true;
	}
}
