Almost 40,000 people in 39 countries around the globe were asked the same question: "Should society accept homosexuality?" The respondents had three options: to answer "Yes," "No" or decline to answer. So, the countries with the highest percentage of "Yes" or "No" votes show which of them are the most and least tolerant of homosexuality. Overall, there tends to be greater acceptance of gays in the more secular and affluent countries. We present you a list of the most and least accepting countries:
Gay couple Kai and Michael Korok and their daughter Jana, 4, attend the opening of Germany's first gay parent counseling center on March 15, 2013 in Berlin, Germany.
Czech Republic: 80%
Two men kiss during a demonstration in support of the legalisation of gay marriage and LGBT parenting in France at the Plaza Francia in Buenos Aires, on January 27, 2013.
Two costumed men pose during the EuroPride Gay and Lesbian Parade on July 1, 2006.
Italian gay rights supporters take part in a ceremony to protest against an increasing number of homophobic attacks throughout Italy in front of Rome's Colosseum, on September 4, 2009. ANDREAS SOLARO AFP/Getty Images
Supporters take part in an annual gay pride march calling for equal rights for lesbian, gay, bisexual and transgender people in Manila on December 3, 2011.
And here are the 10 countries that are the most resistant to homosexuality
The Archbishop of the Anglican Church of Nigeria Peter Jasper Akinola. Akinola has supported legislation criminalizing gay organizations.
A general view of the city of Amman on March 26, 2013 in Amman, Jordan.
People leave after listening to a statement delivered by Muslim religious leaders at Cheikh Oumar Foutiyou Tall mosque in Dakar on April 29, 2009 criticizing the liberation on April 20 of 9 men allegedly jailed on charges of homosexuality and announced the creation of Islamic front for the defence Islamic values.
A man looks on December 11, 2012 at an advertising by campaign group Avaaz in the state-owned Ugandan newspaper The New Vision, protesting against an anti-homosexuality bill.
Former President John Atta Mills of Ghana is pictured on May 3, 2012 during the opening of the 15-nation Economic Community of West African States (ECOWAS) talks on the crises in neighboring Mali and Guinea-Bissau.
Egyptian men, accused of having gay sex, cover their faces as they walk into a Cairo court July 18, 2001. The trial of the 52 Egyptians opened amid scuffles between police and their families as well as concern from international human rights groups.
A picture taken on February 13, 2013 from a rooftop of the Medina shows houses and buildings in Tunis downtown. Tunisia's ruling Ennahda party said today it could leave power, throwing Prime Minister a lifeline in his quest to form a government of technocrats and steer the country out of its crisis.
A member of Hizbuth Tahrir Indonesia attends a protest against sexual deviant acts which they believe to be acts such as homosexuality, bisexuality, loose sexual morals, and transgender, in Jakarta on December 1, 2010.
Palestinian Territories: 93%
Ultra-Orthodox Jews pray on Mount Gerizim overlooking Joseph's Tomb, one of their holiest sites, in the West Bank city of Nablus on May 28, 2009.
Gay men kiss 20 June 2006 in Nairobi. In Kenya, homosexuality is regarded as a crime and though a growing phenomenon, the movement is still secretive and the subject of numerous discriminations.