see my edit
My post still holds.
Indian mythology is full of instances where people (read Gods) change gender at will, often for sexual purposes, to satisfy another person, political reasons, or even ego-directed reasons. Lord Krishna did it, and even the sagely Brahma is known to have taken the female form, but then that is not in the purview of homosexuality. The only thing these instances serve to highlight is that sex, change of sex or sexual behaviors was never taboo in ancient India. India, and indeed, most cultures of the East, was very accepting in these matters. While love for a man for a boy was institutionalized in ancient Greece, the Arab culture makes no distinction between sex with a woman and sexual relations with a boy. Arab medieval travelers claim, 'women were for home and hearth, while boys were for pleasure'. These cultures offer no synonym for same-sex intercourse, it was not even a practice that needed separate identification. In ancient India, however, things were much more organized. We today have temple carvings, treatises, books and of course, ancient law books to turn to.