Would you say that morality is not necessarily a function of religion then?
I think that religion can provide a good framework for morality but morality is not the sole possession of religion. I am not a person who would rob people or kill them, but what does that mean? What are the boundaries of those concepts? The law in the United States provides some of that, but I will use Judaism to fill in the rest.
So u would support abortion and gay rights, knowing that these are wrong?
Why would I think gay rights are wrong? I assume you mean the freedom of homosexuals in the United States to live the life they choose to live and not be legally discriminated against. Don't you wish to live the life you choose and not be legally discriminated against? Jewish expression: Is your blood redder than theirs? What if theirs is redder than yours? In other words, why do you put yourself above them and believe you are entitled to choose your life while they must conform to you?
Would I want my synagogue to perform a gay marriage? No, I believe that violates the Torah. But I cannot find a reason to say that the state, an entity without religion, cannot grant a gay couple a wedding license.
Abortion is more complicated. Judaism says that abortion is actually demanded when the life of the mother is at stake. I follow that and express that opinion, but I cannot in good conscience look a woman in the face and tell her she must carry a child to term and that her body is not hers. As I said, it's complicated.
What then would you say to someone that disagreed with your personal morally detatched assessment of something as harmful? Is your opinion about what is harmful the only possible one? Incidently, it did not seem obvious to the Aztecs that human sacrifice was harmful nor did it seem obvious to the Nazis that genocide was harmful. It seems to me that exactly what is and is not harmful is not obvious at all unless one insists that their own biases are the measuring stick.
We already have disagreements over morality even if it's based upon religion. Even among Christians there are a multitude of ideas and opinions on what is moral and what isn't. TG, on this forum, is a pacifist and is so much one that he finds it immoral for people to carry out violence even when they are in danger. Other Christians disagree with that position. So, everybody has their own measuring stick.
The Aztecs believed they were sacrificing to their gods. They were religiously motivated in their actions and didn't believe them immoral. The Nazis believed that Jews didn't qualify as humans and didn't believe their actions immoral. The Nazis had some religious motivation considering how many of them were Christians; Jews were "Christ-killers" in their eyes and that view had been crafted over years of Christians believing such things even if it isn't official doctrine.
Was it moral for HaShem to command all men, women, and children be killed in the various cities conquered in Canaan in your eyes?