To All: The vedic scriptures allow marriage to a tree, a clay pot, and even allow marriage by abduction, as Krishna did. However, the scriptures do not recognize any marriages between human couples of the same sex. The rationale behind these injunctions is that marriage is for the procreation of children.
There's a story in Shrimad Bhagavatam, also, which states that Indra, the king of the demigods and the senses, have been known to put on a ruse as a guru and rishi to confuse the people in the world. He does this to make sure that human beings do not get far advanced in their understanding of reality and to ensure his power as the king of the demigods. Thus, we see many false prophets and wise men who proclaim to have the path to Reality. In this regard, it is possible that the California judges who allowed gay marriages in the state may have been influenced by the subtle reasonings of Indra, the king of the senses. JR