/*
**
**  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'] = 'fabric';
sb_config['name'] = 'Faux Wood Blinds';
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 Faux Wood Blinds';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 18;
sb_product['width_maximum'] = 72;
sb_product['length_minimum'] = 16;
sb_product['length_maximum'] = 72;
sb_product['colors'] = new Array(
'White',
'Cream'
);

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(
26.64, 29.66, 35.58, 38.58, 44.52, 47.50, 53.44, 56.44, 60.90,
36.02, 40.44, 49.26, 49.30, 62.50, 66.88, 75.74, 80.12, 86.80
);
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);
