/*
**
**  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'] = 'Roman 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 Roman Shades';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 12;
sb_product['width_maximum'] = 96;
sb_product['length_minimum'] = 12;
sb_product['length_maximum'] = 96;
sb_product['colors'] = new Array(
'White',
'Ivory',
'Khaki',
'Red',
'Chocolate Brown',
'Navy'
);
sb_product['widths'] = new Array(
  24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96
);
sb_product['lengths'] = new Array(
  36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96
);
sb_product['prices'] = new Array(
80, 83, 85, 88, 95, 120, 122, 128, 131, 134, 138, 140, 146,
86, 92, 93, 96, 101, 133, 136, 141, 144, 147, 150, 154, 157,
88, 93, 96, 98, 102, 134, 138, 144, 147, 150, 154, 157, 162,
96, 99, 102, 106, 112, 149, 152, 157, 159, 163, 166, 170, 175,
98, 101, 106, 109, 114, 144, 154, 159, 163, 166, 170, 173, 179,
104, 111, 112, 115, 120, 162, 165, 170, 175, 179, 182, 188, 191,
109, 112, 115, 118, 124, 165, 168, 173, 176, 181, 184, 189, 194,
115, 118, 122, 127, 131, 181, 184, 189, 192, 197, 202, 205, 210,
117, 122, 127, 130, 134, 182, 186, 191, 197, 200, 205, 208, 214,
124, 130, 133, 136, 141, 197, 200, 205, 210, 214, 218, 223, 227,
127, 131, 134, 138, 144, 198, 202, 207, 211, 216, 221, 224, 229
);
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);

sb_option = new Object();
sb_option['type'] = 'radio';
sb_option['label'] = 'cord_position';
sb_option['name'] = 'Lift position';
sb_option['script_check'] = "if (!v) s = 'Please select a cord position.';";
sb_option['script_string'] = "s = ', cord on the ' + v;";
sb_options.push(sb_option);