/*
**
**  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'] = 'Savona Valance Group $';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 22;
sb_product['length_maximum'] = 22;
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(22, 22);
sb_product['prices'] = new Array(
138, 148, 181, 207, 228, 238, 258, 288, 311, 304, 342,
138, 148, 181, 207, 228, 238, 258, 288, 311, 304, 342
);
sb_product['price_edge'] = new Array(
20, 23, 26, 28, 31, 35, 40, 43, 48, 70, 74
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Savona Valance Group $$';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 22;
sb_product['length_maximum'] = 22;
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(22, 22);
sb_product['prices'] = new Array(
236, 248, 310, 356, 392, 404, 441, 494, 535, 526, 603,
236, 248, 310, 356, 392, 404, 441, 494, 535, 526, 603
);
sb_product['price_edge'] = new Array(
20, 23, 26, 28, 31, 35, 40, 43, 48, 70, 74
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Savona Valance Group $$$';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 22;
sb_product['length_maximum'] = 22;
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(22, 22);
sb_product['prices'] = new Array(
266, 278, 350, 403, 444, 456, 498, 560, 606, 674, 778,
266, 278, 350, 403, 444, 456, 498, 560, 606, 674, 778
);
sb_product['price_edge'] = new Array(
20, 23, 26, 28, 31, 35, 40, 43, 48, 70, 74
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Savona Valance Group $$$$';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 22;
sb_product['length_maximum'] = 22;
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(22, 22);
sb_product['prices'] = new Array(
292, 305, 385, 444, 488, 502, 547, 616, 667, 741, 855,
292, 305, 385, 444, 488, 502, 547, 616, 667, 741, 855
);
sb_product['price_edge'] = new Array(
20, 23, 26, 28, 31, 35, 40, 43, 48, 70, 74
);
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);

