function checkform(frm)
{
	
	if(frm.fname.value=='')
	{
	alert("Please Enter First Name");
	frm.fname.focus();
	return false;
	}
	if(frm.lname.value=='')
	{
	alert("Please Enter Last Name");
	frm.lname.focus();
	return false;
	}
	if(frm.month.value=='0')
	{
	alert("Please select the Month of Birth");
	frm.month.focus();
	return false;
	}
	if(frm.day.value=='0')
	{
	alert("Please select the Day of Birth");
	frm.day.focus();
	return false;
	}
	if(frm.year.value=='0')
	{
	alert("Please select the Year of Birth");
	frm.year.focus();
	return false;
	}
	if(frm.hour.value=='0')
	{
	alert("Please select the Hour of Birth");
	frm.hour.focus();
	return false;
	}
	if(frm.minute.value=='0')
	{
	alert("Please select the Minute of Birth");
	frm.minute.focus();
	return false;
	}
	if(frm.nearcity.value=='')
	{
	alert("Please Enter City near your birth Place");
	frm.nearcity.focus();
	return false;
	}
	if(frm.birthplace.value=='')
	{
	alert("Please Enter Place of Birth");
	frm.birthplace.focus();
	return false;
	}
	if(frm.email.value=='')
	{
	alert("Please Enter a Valid Email Address");
	frm.email.focus();
	return false;
	}
	if(frm.selAstrologer)
	{
		if(frm.selAstrologer.value=='')
		{
		alert("Astrologer can not be Empty");
		frm.selAstrologer.focus();
		return false;
		}
	}
return true;
}	

