$(document).ready(function(){

 	var collection = [/*Dependent On: 2_collection */   
	/*fall*/
    {'When': 'EB-2126F','Value': 'branches','Text': 'branches'},
	{'When': 'EB-2126F','Value': 'circle_tree','Text': 'circle tree'},
	{'When': 'EB-2126F','Value': 'fall_leaf','Text': 'fall leaf'},
	{'When': 'EB-2126F','Value': 'fern','Text': 'fern'},
	{'When': 'EB-2126F','Value': 'landscape','Text': 'landscape'},
	{'When': 'EB-2126F','Value': 'leaves','Text': 'leaves'},
	{'When': 'EB-2126F','Value': 'pear','Text': 'pear'},
	{'When': 'EB-2126F','Value': 'tree','Text': 'tree'},
	/*vegas*/
	{'When': 'EB-2126V','Value': 'lucky_sevens','Text': 'lucky sevens'},
	{'When': 'EB-2126V','Value': 'pair_of_aces','Text': 'pair of aces'},
	{'When': 'EB-2126V','Value': 'poker_chip','Text': 'poker chip'},
	{'When': 'EB-2126V','Value': 'suits','Text': 'suits'},
	{'When': 'EB-2126V','Value': 'welcome_vegas_sign','Text': 'welcome vegas sign'},
	{'When': 'EB-2126V','Value': 'white_dice','Text': 'white dice'},
   /*theme*/
    {'When': 'EB-2126T','Value': 'birthday_cake','Text': 'birthday cake'},
	{'When': 'EB-2126T','Value': 'blossom','Text': 'blossom'},
	{'When': 'EB-2126T','Value': 'butterfly','Text': 'butterfly'},
	{'When': 'EB-2126T','Value': 'chandelier','Text': 'chandelier'},
	{'When': 'EB-2126T','Value': 'chinese_love_symbol','Text': 'chinese love symbol'},
	{'When': 'EB-2126T','Value': 'crown','Text': 'crown'},
	{'When': 'EB-2126T','Value': 'cup','Text': 'cup'},
	{'When': 'EB-2126T','Value': 'cupcake','Text': 'cupcake'},
	{'When': 'EB-2126T','Value': 'diamond_ring','Text': 'diamond ring'},
	{'When': 'EB-2126T','Value': 'eiffel_tower','Text': 'eiffel tower'},
	{'When': 'EB-2126T','Value': 'flip_flops','Text': 'flip flops'},
	{'When': 'EB-2126T','Value': 'golf','Text': 'golf'},
	{'When': 'EB-2126T','Value': 'graduation','Text': 'graduation'},
	{'When': 'EB-2126T','Value': 'heart','Text': 'heart'},
	{'When': 'EB-2126T','Value': 'high_heel','Text': 'high heel'},
	{'When': 'EB-2126T','Value': 'leaves','Text': 'leaves'},
	{'When': 'EB-2126T','Value': 'lemonade_glass','Text': 'lemonade glass'},
	{'When': 'EB-2126T','Value': 'palm_tree','Text': 'palm tree'},
	{'When': 'EB-2126T','Value': 'pear','Text': 'pear'},
	{'When': 'EB-2126T','Value': 'purse','Text': 'purse'},
	{'When': 'EB-2126T','Value': 'seashell','Text': 'seashell'},
	{'When': 'EB-2126T','Value': 'snowflake','Text': 'snowflake'},
	{'When': 'EB-2126T','Value': 'suits','Text': 'suits'},
	{'When': 'EB-2126T','Value': 'teapot','Text': 'teapot'},
	{'When': 'EB-2126T','Value': 'tree','Text': 'tree'},
	{'When': 'EB-2126T','Value': 'wedding_cake','Text': 'wedding cake'},
	{'When': 'EB-2126T','Value': 'wedding_couple','Text': 'wedding couple'},
	/*winter*/
	{'When': 'EB-2126W','Value': 'gifts','Text': 'gifts'},
	{'When': 'EB-2126W','Value': 'holiday_tree','Text': 'holiday tree'},
	{'When': 'EB-2126W','Value': 'ornaments','Text': 'ornaments'},
	{'When': 'EB-2126W','Value': 'snowflake','Text': 'snowflake'},
	{'When': 'EB-2126W','Value': 'snowman','Text': 'snowman'},

   ];
    /* Connect #3_icon to #2_collection */
    jQuery("#3_icon").cascade("#2_collection", {
        list: collection,
        template: commonTemplate,
        match: commonMatch
    });
});
