/*
**
**  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'] = 'valances';
sb_config['name'] = 'Board Mounted Valances';
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'] = 'Kayla Valance Group $';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 18;
sb_product['length_maximum'] = 18;
sb_product['colors'] = colors_A;
sb_product['widths'] = new Array(
30, 42, 54, 66, 78, 90, 102, 114, 126, 138, 144
);
sb_product['lengths'] = new Array(18, 18);
sb_product['prices'] = new Array(
124, 144, 163, 196, 215, 234, 275, 286, 318, 336, 345,
124, 144, 163, 196, 215, 234, 275, 286, 318, 336, 345
);
sb_product['price_edge'] = new Array(
13, 16, 18, 20, 23, 25, 26, 29, 31, 33, 34
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Kayla Valance Group $$';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 18;
sb_product['length_maximum'] = 18;
sb_product['colors'] = colors_B;
sb_product['widths'] = new Array(
30, 42, 54, 66, 78, 90, 102, 114, 126, 138, 144
);
sb_product['lengths'] = new Array(18, 18);
sb_product['prices'] = new Array(
146, 166, 186, 223, 243, 262, 300, 320, 357, 374, 383,
146, 166, 186, 223, 243, 262, 300, 320, 357, 374, 383
);
sb_product['price_edge'] = new Array(
13, 16, 18, 20, 23, 25, 26, 29, 31, 33, 34
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Kayla Valance Group $$$';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 18;
sb_product['length_maximum'] = 18;
sb_product['colors'] = colors_C;
sb_product['widths'] = new Array(
30, 42, 54, 66, 78, 90, 102, 114, 126, 138, 144
);
sb_product['lengths'] = new Array(18, 18);
sb_product['prices'] = new Array(
163, 183, 202, 244, 264, 283, 325, 345, 386, 403, 412,
163, 183, 202, 244, 264, 283, 325, 345, 386, 403, 412
);
sb_product['price_edge'] = new Array(
13, 16, 18, 20, 23, 25, 26, 29, 31, 33, 34
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Kayla Valance Group $$$$';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 18;
sb_product['length_maximum'] = 18;
sb_product['colors'] = colors_D;
sb_product['widths'] = new Array(
30, 42, 54, 66, 78, 90, 102, 114, 126, 138, 144
);
sb_product['lengths'] = new Array(18, 18);
sb_product['prices'] = new Array(
180, 202, 223, 269, 291, 312, 358, 380, 425, 444, 454,
180, 202, 223, 269, 291, 312, 358, 380, 425, 444, 454
);
sb_product['price_edge'] = new Array(
13, 16, 18, 20, 23, 25, 26, 29, 31, 33, 34
);
sb_products.push(sb_product);


sb_options = new Array();

sb_option = new Object();
sb_option['type'] = 'select';
sb_option['label'] = 'returns';
sb_option['name'] = 'Valance Returns';
sb_option['script_check'] = "if (v == '') s = 'Please select size of valance returns';";
sb_option['script_string'] = "if (v != '') s = ', Valance returns: ' + v;";
sb_options.push(sb_option);

sb_option = new Object();
sb_option['type'] = 'select';
sb_option['label'] = 'edge';
sb_option['name'] = 'Decorative trim';
sb_option['script_price'] = "if (v != '') p = Math.floor(sb_product['price_edge'][i_w] * 100);";
sb_option['script_string'] = "if (v != '') s = ', Decorative trim: ' + v;";
sb_options.push(sb_option);

