Americans are divided over the issue of homosexuality, and the world is too, according to a new Pew study that examines attitudes about same-sex behavior in 39 countries.