Factors influencing attitudes toward euthanasia