/*
**
**  Copyright (c) 1997-2003 by Sniglets, Inc., all rights reserved.
**
**  Usage, duplication, and/or modification of this program, its
**  representation, or its results without written permission from
**  Sniglets, Inc. is expressly prohibited.
**
**  $Id: woven.js,v 1.3 2003/03/08 17:13:17 john Exp john $
**
*/

var sb_config_drop_down, sb_products, sb_product, sb_option, sb_options;

sb_config = new Object();
sb_config['label'] = 'shades';
sb_config['name'] = 'Honeycomb Shades';
sb_config['product_type_list_box'] = 0;
sb_config['product_color_list_box'] = 0;


sb_products = new Array();

sb_product = new Object();
sb_product['name'] = 'Basic Cordless Honeycomb Shades - Light Filtering';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 21;
sb_product['width_maximum'] = 72;
sb_product['length_minimum'] = 24;
sb_product['length_maximum'] = 72;
sb_product['colors'] = new Array(
'Cool White',
'Ivory Beige',
'Antique Linen',
'Leaf Gold'
);
sb_product['widths'] = new Array(
24, 30, 36, 42, 48, 54, 60, 66, 72
);
sb_product['lengths'] = new Array(
48, 72
);
sb_product['prices'] = new Array(
39.56, 46.18, 52.78, 59.52, 68.76, 75.62, 80.18, 89.70, 96.56,
47.96, 56.72, 65.38, 74.26, 85.76, 94.64, 103.24, 112.88, 121.88
);

sb_products.push(sb_product);

/*
sb_product = new Object();
sb_product['name'] = 'Basic Cordless Honeycomb Shades - Blackout ';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 21;
sb_product['width_maximum'] = 72;
sb_product['length_minimum'] = 36;
sb_product['length_maximum'] = 72;
sb_product['colors'] = new Array(
'White',
'Ecru',
'Soft Linen'
);
sb_product['widths'] = new Array(
24, 30, 36, 42, 48, 54, 60, 66, 72
);
sb_product['lengths'] = new Array(
48, 72
);
sb_product['prices'] = new Array(
54.08, 64.32, 74.56, 84.92, 97.80, 108.26, 98.48, 129.62, 140.12,
77.00, 93.00, 108.94, 125.08, 143.80, 159.98, 175.82, 192.72, 208.98
);

sb_products.push(sb_product);
*/

sb_options = new Array();

sb_option = new Object();
sb_option['type'] = 'select';
sb_option['label'] = 'mount_position';
sb_option['name'] = 'Mount position';
sb_option['script_check'] = "if (!v) s = 'Please select a mount position.';";
//sb_option['script_price'] = "if (v == 'inside') p = 0; else if (v == 'outside') p = 0;";
sb_option['script_string'] = "s = ', Mount: ' + v;";
sb_options.push(sb_option);
