function chkForm(Frm)
{
	var AlertMsg = '';
	var GoAhead = 1;

	/* Check for First name and Last name */
	if (Frm.name.value=='')
	{AlertMsg = AlertMsg + 'Please enter your name.\n';GoAhead=0;}
	
	if (Frm.city.value=='')
	{AlertMsg = AlertMsg + 'Please enter your city name.\n';GoAhead=0;}
	
	if (Frm.dphone.value=='')
	{AlertMsg = AlertMsg + 'Please enter your daytime phone number.\n';GoAhead=0;}
	else
	{
		var filter = /^[0-9]*$/; 
		if (!filter.test(Frm.dphone.value)) 
		{AlertMsg = AlertMsg + 'Phone number must be numeric. Numbers only, no dashes or other characters.\n';GoAhead=0;}
	}
	
		/* Check for email address */
	if (Frm.email.value=='')
	{AlertMsg = AlertMsg + 'Please enter your email address.\n';GoAhead=0;}
	else
	{
		/* Validate email */
		var str=Frm.email.value
		var filter=/^.+@.+\..{2,3}$/
		 if (filter.test(str))
			{AlertMsg = AlertMsg + '';}
		 else 
			{AlertMsg = AlertMsg + 'Please enter a valid email address.\n';GoAhead=0;}
	}
		
	if (GoAhead==0)
	{alert(AlertMsg);return false;}
	else
	{return true;}
}

