Gist

getAllVariations.cfm ( view on GitHub )