function chkForm(Frm)
{
	var AlertMsg = '';
	var GoAhead = 1;
	
	/* Check for First name and Last name */
	if (Frm.FirstName.value=='')
	{AlertMsg = AlertMsg + 'Please enter your First Name.\n';GoAhead=0;}
	
	if (Frm.LastName.value=='')
	{AlertMsg = AlertMsg + 'Please enter your Last Name.\n';GoAhead=0;}
	
    if (Frm.Address.value=='')
	{AlertMsg = AlertMsg + 'Please enter your Address.\n';GoAhead=0;}
	
	 if (Frm.City.value=='')
	{AlertMsg = AlertMsg + 'Please enter your City.\n';GoAhead=0;}
	
		if (Frm.State.value=='')
	{AlertMsg = AlertMsg + 'Choose a State.\n';GoAhead=0;}
	
	if (Frm.ZipCode.value=='')
	{AlertMsg = AlertMsg + 'Please enter your Zip Code.\n';GoAhead=0;}
	else
	{
		var filter = /^[0-9]*$/; 
		if (!filter.test(Frm.ZipCode.value)) 
		{AlertMsg = AlertMsg + 'Zip Code must be numeric.\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 (Frm.ruhuman.value!='HOT')
	{AlertMsg = AlertMsg + 'Please answer the question correctly.\n';GoAhead=0;}
		
	/* Check for troop number 
	
	if (Frm.troopnum.value=='')
	{AlertMsg = AlertMsg + 'Please enter your troop number.\n';GoAhead=0;}
	else
	{
		var filter = /^[0-9]*$/; 
		if (!filter.test(Frm.troopnum.value)) 
		{AlertMsg = AlertMsg + 'Troop number must be numeric.\n';GoAhead=0;}
	}*/
	
/* Check for Name of Girl affected first name and Last name
	if (Frm.firstGirl.value=='')
	{AlertMsg = AlertMsg + 'Please enter first name of affected girl.\n';GoAhead=0;}
	
	if (Frm.lastGirl.value=='')
	{AlertMsg = AlertMsg + 'Please enter last name of affected girl.\n';GoAhead=0;} */
if (GoAhead==0)
	{alert(AlertMsg);return false;}
	else
	{return true;}

}