A randomized , double-blind , sham-controlled clinical trial involving 239 participants who had a body mass index of 40 to 45 or 35 to 40 and 1 or more obesity-related condition was conducted at 10 sites in the United States and Australia between May and December 2011 .