function validate_ast(){

if (
  document.getElementById('year1').value==document.getElementById('year2').value &&
  document.getElementById('month1').value==document.getElementById('month2').value &&        
  document.getElementById('day1').value==document.getElementById('day2').value         

){
answer=confirm("You submitted the same birth date for both people.  Is this really what you wanted to do?\n Click 'ok' to proceed\n or click 'cancel' to edit the birth information");
if(answer==true)
  return true;
else
  return false;
alert(answer);
} else {
  return true;
}

}

