Juan McCain did work with Lieberman on a prototype for the Climate Security Act, but he does seem to be backpedaling now. Whether he actually said he was "in favor" of the current bill I can't verify, only that he has been a true believer in
Anthropogenic Global Warming Anthropogenic Climate Change .
This site is confused about the McCain flip-flop, too.