/*
**
**  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'] = 'Mitchell 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(
110, 128, 147, 177, 196, 214, 246, 264, 295, 313, 323,
110, 128, 147, 177, 196, 214, 246, 264, 295, 313, 323
);
sb_product['price_edge'] = new Array(
15, 19, 21, 23, 26, 29, 31, 35, 37, 39, 40
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Mitchell 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(
131, 149, 167, 203, 222, 241, 295, 295, 331, 350, 359,
131, 149, 167, 203, 222, 241, 295, 295, 331, 350, 359
);
sb_product['price_edge'] = new Array(
15, 19, 21, 23, 26, 29, 31, 35, 37, 39, 40
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Mitchell 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(
147, 166, 184, 224, 242, 261, 301, 320, 359, 378, 387,
147, 166, 184, 224, 242, 261, 301, 320, 359, 378, 387
);
sb_product['price_edge'] = new Array(
15, 19, 21, 23, 26, 29, 31, 35, 37, 39, 40
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Mitchell 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(
162, 183, 202, 247, 267, 288, 331, 352, 396, 416, 426,
162, 183, 202, 247, 267, 288, 331, 352, 396, 416, 426
);
sb_product['price_edge'] = new Array(
15, 19, 21, 23, 26, 29, 31, 35, 37, 39, 40
);
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);

