/*
**
**  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'] = 'cornices';
sb_config['name'] = 'Upholstered Cornices';
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'] = 'Upholstered Cornices Group $';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 16;
sb_product['length_maximum'] = 16;
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(16, 16);
sb_product['prices'] = new Array(
145, 163, 183, 202, 220, 241, 259, 287, 306, 321, 328,
145, 163, 183, 202, 220, 241, 259, 287, 306, 321, 328
);
sb_product['price_edge'] = new Array(
13, 14, 17, 19, 20, 22, 24, 26, 28, 30, 31
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Upholstered Cornices Group $$';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 16;
sb_product['length_maximum'] = 16;
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(16, 16);
sb_product['prices'] = new Array(
166, 184, 205, 223, 242, 258, 277, 317, 333, 366, 375,
166, 184, 205, 223, 242, 258, 277, 317, 333, 366, 375
);
sb_product['price_edge'] = new Array(
13, 14, 17, 19, 20, 22, 24, 26, 28, 30, 31
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Upholstered Cornices Group $$$';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 16;
sb_product['length_maximum'] = 16;
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(16, 16);
sb_product['prices'] = new Array(
182, 201, 220, 238, 257, 258, 277, 334, 353, 390, 400,
182, 201, 220, 238, 257, 258, 277, 334, 353, 390, 400
);
sb_product['price_edge'] = new Array(
13, 14, 17, 19, 20, 22, 24, 26, 28, 30, 31
);
sb_products.push(sb_product);

sb_product = new Object();
sb_product['name'] = 'Upholstered Cornices Group $$$$';
sb_product['url'] = 'http://www.dantehill.com/';
sb_product['width_minimum'] = 24;
sb_product['width_maximum'] = 144;
sb_product['length_minimum'] = 16;
sb_product['length_maximum'] = 16;
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(16, 16);
sb_product['prices'] = new Array(
200, 221, 242, 263, 283, 285, 305, 368, 389, 430, 440,
200, 221, 242, 263, 283, 285, 305, 368, 389, 430, 440
);
sb_product['price_edge'] = new Array(
13, 14, 17, 19, 20, 22, 24, 26, 28, 30, 31
);
sb_products.push(sb_product);


sb_options = new Array();

sb_option = new Object();
sb_option['type'] = 'select';
sb_option['label'] = 'style';
sb_option['name'] = 'Cornice Style';
sb_option['script_check'] = "if (v == '') s = 'Please select a cornice style';";
sb_option['script_string'] = "if (v != '') s = ', Style: ' + v;";
sb_options.push(sb_option);

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

