function empty(object,str)
{
	var value=object.value;
	if (value=="")
	 {
		alert(str);
		object.focus();
		return false;
	 }
	str1=object.value;
	x=0
	for(var i=0;i<str1.length;i++)
	{	
		if (str1.charAt(i)!=" ") { x=1 }
	
	}
	if (x==0)
	{
		alert(str);
		object.value=""
		object.focus();
		return false;
	}
	str1=object.value;
	x=0
	y=0
	len=str1.length;
	for(var i=0;i<str1.length;i++)
	{	
		if ((str1.charAt(i)=="\r") && (str1.charAt(i+1)=="\n")) { y++; }
	
	}
	if (y==(len/2))
	{
		alert(str);
		object.value=""
		object.focus();
		return false;
	}
	
	 return true;
}