Obama is not a Christian. His so called religion is black liberation theology. Jeremiah Wright's church, which he attended for twenty years, is a Marxist, racist, hate cult; it is not Christian. The church's teachings are largely based on the writing of James Cone, who is a raving lunatic.
Here's an excerpt from Mr Cone's writing to give you a feel for how demented he is, and for what Obama believes.
Black theology refuses to accept a God who is not identified totally with the goals of the black community. If God is not for us and against white people, then he is a murderer, and we had better kill him. The task of black theology is to kill Gods who do not belong to the black community ... Black theology will accept only the love of God which participates in the destruction of the white enemy. What we need is the divine love as expressed in Black Power, which is the power of black people to destroy their oppressors here and now by any means at their disposal. Unless God is participating in this holy activity, we must reject his love.
http://www.atimes.com/atimes/Front_Page/JC18Aa01.html