Compounds of the invention, such as compounds of Formulae IIa, IIb, IIc or IId, and pharmaceutically acceptable salts, isomers, and prodrugs thereof, are useful as modulators of the activity of liver X receptors, where R1, R2, R21, R3 and G are defined herein. Pharmaceutical compositions containing the compounds and methods of using the compounds are also disclosed.