How should a Christian act toward a friend who comes out of the closet (as gay)?

This article has been translated into the following languages:

عربى Español Kiswahili Magyar Polski Português සිංහල