function checkform(theForm)
{
	
	if (theForm.name.value == "")
  {
    alert("Please enter name.");
    theForm.name.focus();
    return (false);
  } 
  
   if (theForm.weight.value == "")
  {
    alert("Please enter weight.");
    theForm.weight.focus();
    return (false);
  }
  if (theForm.blood_group.selectedIndex<1)
  {
    alert("Please select blood group.");
    theForm.blood_group.focus();
    return (false);
  }
  
  if (theForm.address.value == "")
  {
    alert("Please enter address .");
    theForm.address.focus();
    return (false);
  }
  if (theForm.mobile.value == "")
  {
    alert("Please enter mobile no.");
    theForm.mobile.focus();
    return (false);
  }
  
  if (theForm.dob1.value == "")
  {
    alert("Please enter the age.");
    theForm.dob1.focus();
    return (false);
  }
 /* if (theForm.dob2.selectedIndex<1)
  {
    alert("Please select month of birthday.");
    theForm.dob2.focus();
    return (false);
  }
  if (theForm.dob3.selectedIndex<1)
  {
    alert("Please select year of birthday.");
    theForm.dob3.focus();
    return (false);
  }*/
 
	return true;
}
