/*
**
**  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'] = 'Solar 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 Solar Weave Shades';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 15;
sb_product['width_maximum'] = 73.25;
sb_product['length_minimum'] = 15;
sb_product['length_maximum'] = 84;
sb_product['colors'] = new Array(
'White Dove Gray',
'Off White',
'White Beige',
'Beige'
);
sb_product['widths'] = new Array(
25, 37, 46, 55, 73
);
sb_product['lengths'] = new Array(
66, 84
);
sb_product['prices'] = new Array(
38.88, 50.56, 62.72, 72.56, 94.90,
44.60, 58.58, 73.42, 88.56, 110.52
);

sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Basic Solar Screen Shades';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 15;
sb_product['width_maximum'] = 73.25;
sb_product['length_minimum'] = 15;
sb_product['length_maximum'] = 84;
sb_product['colors'] = new Array(
'White',
'Cream',
'Graphite',
'Brown'
);
sb_product['widths'] = new Array(
25, 37, 46, 55, 73
);
sb_product['lengths'] = new Array(
66, 84
);
sb_product['prices'] = new Array(
30.42, 37.76, 48.22, 55.52, 69.68,
33.92, 42.44, 54.40, 63.00, 78.60
);

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);
