skus = [];

// COLOR: Black/Polarized Grey
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_50',
  color:            'Black/Polarized Grey',
  large_image:      '/usa/images/assets/605/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/605/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '901/58',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '50',
  price:            '$195.00',
  sku_number:       'RB2140-02',
  overlay_message:  '',
  is_polarized:     true,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_50'] = sku;

// COLOR: Tortoise/G-15 XLT
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_51',
  color:            'Tortoise/G-15 XLT',
  large_image:      '/usa/images/assets/340/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/340/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '902',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '51',
  price:            '$145.00',
  sku_number:       'RB2140-03',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_51'] = sku;

// COLOR: Tortoise/Polarized Brown
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_52',
  color:            'Tortoise/Polarized Brown',
  large_image:      '/usa/images/assets/443/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/443/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '902/57',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '52',
  price:            '$195.00',
  sku_number:       'RB2140-04',
  overlay_message:  '',
  is_polarized:     true,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_52'] = sku;

// COLOR: Red/G-15 XLT
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_53',
  color:            'Red/G-15 XLT',
  large_image:      '/usa/images/assets/45/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/45/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '/usa/images/assets/830/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/831/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/832/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/833/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/834/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/835/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/836/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/837/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/838/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/839/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/840/c8885fd01aac198f1672f376ed310a6b.png,/usa/images/assets/841/c8885fd01aac198f1672f376ed310a6b.png', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '955',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '53',
  price:            '$145.00',
  sku_number:       'RB2140-05',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: true
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_53'] = sku;

// COLOR: White/G-15 XLT
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_54',
  color:            'White/G-15 XLT',
  large_image:      '/usa/images/assets/86/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/86/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '956',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '54',
  price:            '$145.00',
  sku_number:       'RB2140-06',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_54'] = sku;

// COLOR: Purple/G-15 XLT
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_58',
  color:            'Purple/G-15 XLT',
  large_image:      '/usa/images/assets/247/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/247/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '966',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '58',
  price:            '$145.00',
  sku_number:       'RB2140-10',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_58'] = sku;

// COLOR: Tortoise/Brown Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_61',
  color:            'Tortoise/Brown Gradient',
  large_image:      '/usa/images/assets/404/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/404/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '902/51',
  availability:     'Direct from Italy. Usually ships in 3-4 weeks',
  upc_id:           '61',
  price:            '$139.00',
  sku_number:       'RB2140-19',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_61'] = sku;

// COLOR: Top Brown Marble/Dark Violet /Brown Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_62',
  color:            'Top Brown Marble/Dark Violet /Brown Gradient',
  large_image:      '/usa/images/assets/2773/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2773/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '993/51',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '62',
  price:            '$145.00',
  sku_number:       'RB2140-31',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_62'] = sku;

// COLOR: Black/Yellow/Crystal Grey Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_63',
  color:            'Black/Yellow/Crystal Grey Gradient',
  large_image:      '/usa/images/assets/279/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/279/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1000/32',
  availability:     'Direct from Italy. Usually ships in 3-4 weeks',
  upc_id:           '63',
  price:            '$145.00',
  sku_number:       'RB2140-30',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_63'] = sku;

// COLOR: Black/Azure /Lite Blue Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_64',
  color:            'Black/Azure /Lite Blue Gradient',
  large_image:      '/usa/images/assets/550/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/550/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1001/3F',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '64',
  price:            '$145.00',
  sku_number:       'RB2140-29',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_64'] = sku;

// COLOR: Black/Crystal Grey Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_66',
  color:            'Black/Crystal Grey Gradient',
  large_image:      '/usa/images/assets/333/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/333/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '901/32',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '66',
  price:            '$139.00',
  sku_number:       'RB2140-27',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_66'] = sku;

// COLOR: Dark Blue/Silver Mirror
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_67',
  color:            'Dark Blue/Silver Mirror',
  large_image:      '/usa/images/assets/622/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/622/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '963/40',
  availability:     'Direct from Italy. Usually ships in 3-4 weeks',
  upc_id:           '67',
  price:            '$139.00',
  sku_number:       'RB2140-26',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_67'] = sku;

// COLOR: White/Crystal Grey Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_70',
  color:            'White/Crystal Grey Gradient',
  large_image:      '/usa/images/assets/413/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/413/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '956/32',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '70',
  price:            '$139.00',
  sku_number:       'RB2140-20',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_70'] = sku;

// COLOR: Light Tortoise/B-15 XLT
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_71',
  color:            'Light Tortoise/B-15 XLT',
  large_image:      '/usa/images/assets/530/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/530/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '954',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '71',
  price:            '$139.00',
  sku_number:       'RB2140-33',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_71'] = sku;

// COLOR: Black/G-15 XLT
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_73',
  color:            'Black/G-15 XLT',
  large_image:      '/usa/images/assets/482/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/482/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '901',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '73',
  price:            '$145.00',
  sku_number:       'RB2140-01',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_73'] = sku;

// COLOR: Black/Orange/Brown Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_74',
  color:            'Black/Orange/Brown Gradient',
  large_image:      '/usa/images/assets/303/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/303/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1002/51',
  availability:     'Direct from Italy. Usually ships in 3-4 weeks',
  upc_id:           '74',
  price:            '$145.00',
  sku_number:       'RB2140-37',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_74'] = sku;

// COLOR: Blue/Lite Blue Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_76',
  color:            'Blue/Lite Blue Gradient',
  large_image:      '/usa/images/assets/488/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/488/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '997/3F',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '76',
  price:            '$145.00',
  sku_number:       'RB2140-35',
  overlay_message:  '',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_76'] = sku;

// COLOR: Black/Ray-Ban Logo Mania/G-15 XLT
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_774',
  color:            'Black/Ray-Ban Logo Mania/G-15 XLT',
  large_image:      '/usa/images/assets/2604/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2604/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1016',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '774',
  price:            '$145.00',
  sku_number:       'RB2140-45',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_774'] = sku;

// COLOR: Orange on White Subway Text/Brown Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_775',
  color:            'Orange on White Subway Text/Brown Gradient',
  large_image:      '/usa/images/assets/2709/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2709/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1029/51',
  availability:     'Direct from Italy. Usually ships in 3-4 weeks',
  upc_id:           '775',
  price:            '$159.00',
  sku_number:       'RB2140-47',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_775'] = sku;

// COLOR: White/Metro Text/Crystal Grey Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_793',
  color:            'White/Metro Text/Crystal Grey Gradient',
  large_image:      '/usa/images/assets/2711/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2711/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1032/32',
  availability:     'Direct from Italy. Usually ships in 3-4 weeks',
  upc_id:           '793',
  price:            '$159.00',
  sku_number:       'RB2140-48',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_793'] = sku;

// COLOR: Black/Flowers/G-15 XLT
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_794',
  color:            'Black/Flowers/G-15 XLT',
  large_image:      '/usa/images/assets/2713/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2713/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1018',
  availability:     'Direct from Italy. Usually ships in 3-4 weeks',
  upc_id:           '794',
  price:            '$159.00',
  sku_number:       'RB2140-49',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_794'] = sku;

// COLOR: Top White Flowers/Violet/Crystal Grey Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_798',
  color:            'Top White Flowers/Violet/Crystal Grey Gradient',
  large_image:      '/usa/images/assets/2720/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2720/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1022/32',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '798',
  price:            '$159.00',
  sku_number:       'RB2140-53',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_798'] = sku;

// COLOR: Top Metro Text on White/Crystal Green
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_843',
  color:            'Top Metro Text on White/Crystal Green',
  large_image:      '/usa/images/assets/2810/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2810/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1033',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '846',
  price:            '$159.00',
  sku_number:       'RB2140-55',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_843'] = sku;

// COLOR: Buttons Pins Top Black/Crystal Green
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_936',
  color:            'Buttons Pins Top Black/Crystal Green',
  large_image:      '/usa/images/assets/2987/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2987/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1052',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '934',
  price:            '$159.00',
  sku_number:       'RB2140-56',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_936'] = sku;

// COLOR: Buttons Pins Top White/Crystal Grey Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_937',
  color:            'Buttons Pins Top White/Crystal Grey Gradient',
  large_image:      '/usa/images/assets/2988/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2988/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1050/32',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '935',
  price:            '$159.00',
  sku_number:       'RB2140-57',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_937'] = sku;

// COLOR: Buttons Pins Top Red/Brown Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_938',
  color:            'Buttons Pins Top Red/Brown Gradient',
  large_image:      '/usa/images/assets/2989/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2989/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1051/51',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '936',
  price:            '$159.00',
  sku_number:       'RB2140-58',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_938'] = sku;

// COLOR: Comics Top Black/Crystal Green
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_939',
  color:            'Comics Top Black/Crystal Green',
  large_image:      '/usa/images/assets/2990/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2990/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1046',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '937',
  price:            '$159.00',
  sku_number:       'RB2140-59',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_939'] = sku;

// COLOR: Comics Top Fuchsia/Brown Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_940',
  color:            'Comics Top Fuchsia/Brown Gradient',
  large_image:      '/usa/images/assets/2991/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2991/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1045/51',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '938',
  price:            '$159.00',
  sku_number:       'RB2140-60',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_940'] = sku;

// COLOR: Comics Top Turquoise/Crystal Grey Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_941',
  color:            'Comics Top Turquoise/Crystal Grey Gradient',
  large_image:      '/usa/images/assets/3043/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/3043/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1044/32',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '939',
  price:            '$159.00',
  sku_number:       'RB2140-61',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_941'] = sku;

// COLOR: Comics on Black/Crystal Green
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_942',
  color:            'Comics on Black/Crystal Green',
  large_image:      '/usa/images/assets/2992/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2992/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1047',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '940',
  price:            '$159.00',
  sku_number:       'RB2140-62',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_942'] = sku;

// COLOR: Twirl Yellow/Brown Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_943',
  color:            'Twirl Yellow/Brown Gradient',
  large_image:      '/usa/images/assets/2993/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2993/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1040/51',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '941',
  price:            '$159.00',
  sku_number:       'RB2140-63',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_943'] = sku;

// COLOR: Twirl Orange/Brown Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_944',
  color:            'Twirl Orange/Brown Gradient',
  large_image:      '/usa/images/assets/2994/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2994/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1043/51',
  availability:     'Coming Soon',
  upc_id:           '942',
  price:            '$159.00',
  sku_number:       'RB2140-64',
  overlay_message:  'Coming Soon',
  is_polarized:     false,
  is_new_release:   false,
  can_sell:         false,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_944'] = sku;

// COLOR: Twirl Azure/Crystal Grey Gradient
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_945',
  color:            'Twirl Azure/Crystal Grey Gradient',
  large_image:      '/usa/images/assets/2995/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2995/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1042/32',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '943',
  price:            '$159.00',
  sku_number:       'RB2140-65',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_945'] = sku;

// COLOR: SS Buttons w/ Black Inside Stem/G-15 XLT
sku = {
  style_name:       'Original Wayfarer',
  style_number:     'RB2140',
  id:               'sku_946',
  color:            'SS Buttons w/ Black Inside Stem/G-15 XLT',
  large_image:      '/usa/images/assets/2996/3e1db755d529579af5155b21ee4b160a.png?from=0x0&resize_to=529x390&size=2400x1400',
  lightbox_image:   '/usa/images/assets/2996/2f75c4bad9553397c4db8c38286519e3.png?from=0x0&resize_to=800&size=2400x1400',
  product_spins:    '', // OPTIMIZE: The asset_path helper adds default params to the image path which the 3d spin swf does not like. We need to prevent these additional params from appearing. 
  color_code:       '1049',
  availability:     'Usually Ships in 24-48 hours.',
  upc_id:           '944',
  price:            '$159.00',
  sku_number:       'RB2140-66',
  overlay_message:  'New Release',
  is_polarized:     false,
  is_new_release:   true,
  can_sell:         true,
  has_product_spin: false
};

if(!product_spins && sku.has_product_spin) {
	var product_spins = sku.product_spins;
}

skus['sku_946'] = sku;

function facebox_footer_info()
{
	$(".zoom").click(function() {
	$("#facebox .footer").addClass("zoom").empty().append(
		'<div>' +	'<span class="sku_number">' + selected_sku.style_number + '</span>' + 
			'<span class="style_name">' + selected_sku.style_name + '</span>' +
			'<span><span class="color_code_text">Color Code:</span> ' + selected_sku.color_code + '</span>' + 
		'</div>');
  });
}

function load_flash_movie() 
{	
  // attributes  = {};
  // params      = {wmode:"transparent"};
  // flashvars   = {pName: product_spins, pPath:"", controller:true};
  // swfobject.embedSWF("/usa/flash/360_spins/360_standalone_colorize.swf", "3d_view", "688", "480", "9.0.0","expressInstall.swf", flashvars, params, attributes);
  // return false;
}

function select_sku(sku_id)
{
  selected_sku = skus[sku_id];
  $(".product_color_code .value").html(selected_sku.color_code);
  $(".product_sku .value").html(selected_sku.sku_number);
  $(".product_status .value").html(selected_sku.availability);
  $(".price .value").html(selected_sku.price);
  $("select#product_colors").val(sku_id);
  $("input#upc_number").attr("value", selected_sku.upc_id);
  $("#product_detail_image #primary_image").attr("src", selected_sku.large_image);
  $("#product_detail_image #product_controls .product_control.zoom").attr("href", selected_sku.lightbox_image);
  $("#product_related_items a.selected").removeClass("selected");
  $("#thumb_" + selected_sku.id + " a").addClass("selected");
  if(product_spins) {
    $("#3d_view_button").show();
  } else {
    $("#3d_view_button").hide(); 
  }
  if(!selected_sku.can_sell) {
    $("input.submit").attr("disabled", true);
    $("input.submit").addClass("disabled");
    $("input.submit_b").attr("disabled", true);
    $("input.submit_b").attr('src', '/usa/images/css/ui/product_detail/addtocart_b_disabled.png?1283367658');
  } else {
    $("input.submit").removeAttr("disabled");
    $("input.submit").removeClass("disabled");
    $("input.submit_b").removeAttr("disabled");
    $("input.submit_b").attr('src', '/usa/images/css/ui/product_detail/addtocart_b.png?1283367658');
  }

  $("#product_detail_image .status").html(sku.overlay_message);
  
  if(selected_sku.is_polarized) {
    $("#product_detail_image  .hilight").removeClass("hide");
  } else {
    $("#product_detail_image .hilight").addClass("hide");
  }
	facebox_footer_info();
}

function inject3d() {
	$("#facebox .popup .footer").empty().append('<div id="3d_view_wrap"><div id="3d_view"><h1>Whoops!</h1><p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p></div></div>').css({'margin' : '10px auto', 'width' : '688px'});
}

function showFormLayout(gwoLayout) {
	if(gwoLayout == "a" || gwoLayout == "b") {
		if(gwoLayout == "a") {
			$('div.form_layout_orig').remove();
			$('div.form_layout_b').remove();
		}	else if(gwoLayout == "b") {
			$('div.form_layout_orig').remove();
			$('div.form_layout_a').remove();
		}
		// NEW CHIKEZIE LAYOUTS
		$('body').addClass('split split_' + gwoLayout);
		$(document).ready(function() { $('form.jqtransform').jqTransform(); });		
	} else {
		$('div.form_layout_a').remove();
		$('div.form_layout_b').remove();
		// O.G. LAYOUT
		$('body').addClass('split_orig');
	}
}

$(document).ready(function() {
	
  var selected_sku = skus['sku_775'];
  select_sku(selected_sku.id);
  
  $("a.three-d").click(function() {    
		inject3d();
		var flashvars  = { pName: product_spins, pPath:"", controller: true, controllerColor:"0xd70000" };
		var params     = { movie: "/usa/flash/360_spins/360_standalone_colorize.swf"};
		var attributes = {};
		swfobject.embedSWF("/usa/flash/360_spins/360_standalone.swf", "3d_view", "688", "480", "9.0.0","expressInstall.swf", flashvars, params, attributes);
		return false;		
  });
  
  

  $("select#product_colors").change(function() {
    index    = $(this).find("option").index($(this).find("option:selected"));
		indexlast  = index -3;
    scroller = $("#product_scroller").scrollable().seekTo(indexlast);
    select_sku($(this).val());
  });
  
  $('.color .jqTransformSelectWrapper ul li a').livequery('click', function(event) {
		var jqIndex = parseFloat($(this).attr('index')) + 1; // -1 for zero based
  	var selectVal = $('#product_colors option:nth-child(' + jqIndex + ')').attr('value');
  	var selectText = $('#product_colors option:nth-child(' + jqIndex + ')').html();
  	//console.log(jqIndex + " | " + selectVal + " | " + selectText); 
    select_sku(selectVal);
  })
  
  $("ul.product_listing a").click(function() {
    // IF NORMAL DROP DOWN:
    select_sku($(this).attr("rel"));
    
    // IF JQ DROP DOWN:
	  var clickIndex = $("ul.product_listing li").index($(this).parent('li'));
  	$('.color .jqTransformSelectWrapper ul li:nth-child(' + (parseFloat(clickIndex) + 1) + ')').children('a').trigger('click');
  	
  	// EITHER WAY
    return false;
  });
  

  
  
  $(".facebox").facebox();

  
  $("#product_scroller").scrollable({
    size: 5
  });
  
  $("form.ajax").submitWithAjax();
 	
 	
 	
});