var alert_msg = '';
 
/*
variants array:
	0 - array:
		0 - taxed price
		1 - quantity
		2 - variantid if variant have thumbnail
		3 - weight
		4 - original price (without taxes)
		5 - productcode
	1 - array: variant options as classid => optionid
	2 - array: taxes as taxid => tax amount
	3 - wholesale prices array:
		0 - quantity
		1 - next quantity
		2 - taxed price
		3 - taxes array: as taxid => tax amount
		4 - original price (without taxes)
*/
var variants = [];
variants[14783] = [[599.00, 999, new Image(), '1.00', 599.00, "DC1250-U00"],{},{},[]];
variants[14783][1][12] = 32;
variants[14783][1][11] = 30;
variants[14783][1][10] = 28;
variants[14784] = [[624.00, 999, new Image(), '1.00', 624.00, "DC1250-D00"],{},{},[]];
variants[14784][1][12] = 32;
variants[14784][1][11] = 30;
variants[14784][1][10] = 29;
variants[14786] = [[699.00, 999, new Image(), '1.00', 699.00, "DC1250-U10"],{},{},[]];
variants[14786][1][11] = 31;
variants[14786][1][12] = 32;
variants[14786][1][10] = 28;
variants[14787] = [[724.00, 999, new Image(), '1.00', 724.00, "DC1250-D10"],{},{},[]];
variants[14787][1][11] = 31;
variants[14787][1][12] = 32;
variants[14787][1][10] = 29;
variants[14789] = [[664.00, 998, new Image(), '1.00', 664.00, "DC1250-U01"],{},{},[]];
variants[14789][1][11] = 30;
variants[14789][1][10] = 28;
variants[14789][1][12] = 33;
variants[14790] = [[689.00, 999, new Image(), '1.00', 689.00, "DC1250-D01"],{},{},[]];
variants[14790][1][11] = 30;
variants[14790][1][10] = 29;
variants[14790][1][12] = 33;
variants[14792] = [[764.00, 999, new Image(), '1.00', 764.00, "DC1250-U11"],{},{},[]];
variants[14792][1][11] = 31;
variants[14792][1][10] = 28;
variants[14792][1][12] = 33;
variants[14793] = [[789.00, 999, new Image(), '1.00', 789.00, "DC1250-D11"],{},{},[]];
variants[14793][1][11] = 31;
variants[14793][1][10] = 29;
variants[14793][1][12] = 33;
variants[14795] = [[699.00, 999, new Image(), '1.00', 699.00, "DC1250-U02"],{},{},[]];
variants[14795][1][11] = 30;
variants[14795][1][10] = 28;
variants[14795][1][12] = 315;
variants[14796] = [[724.00, 999, new Image(), '1.00', 724.00, "DC1250-D02"],{},{},[]];
variants[14796][1][11] = 30;
variants[14796][1][10] = 29;
variants[14796][1][12] = 315;
variants[14798] = [[799.00, 999, new Image(), '1.00', 799.00, "DC1250-U12"],{},{},[]];
variants[14798][1][11] = 31;
variants[14798][1][10] = 28;
variants[14798][1][12] = 315;
variants[14799] = [[824.00, 999, new Image(), '1.00', 824.00, "DC1250-D12"],{},{},[]];
variants[14799][1][11] = 31;
variants[14799][1][10] = 29;
variants[14799][1][12] = 315;
 
/*
modifiers array: as clasid => array: as optionid => array:
	0 - price_modifier
	1 - modifier_type
	2 - taxes array: as taxid => tax amount
*/
var modifiers = [];
// names array: as classid => class name
var names = [];
names[10] = {class_name: "Power", options: []};
names[10]['options'][28] = "Universal AC Adapter";
names[10]['options'][29] = "DC Input Power (+$25.00)";
names[11] = {class_name: "Rechargeable Battery", options: []};
names[11]['options'][30] = "No";
names[11]['options'][31] = "Yes (+$100.00)";
names[12] = {class_name: "Communications", options: []};
names[12]['options'][32] = "None";
names[12]['options'][33] = "USB Comm. (+$65.00)";
names[12]['options'][315] = "Ethernet (+$100.00)";
 
/*
taxes array: as taxid => array()
	0 - calculated tax value for default product price
	1 - tax name
	2 - tax type ($ or %)
	3 - tax value
*/
var taxes = [];
 
// exceptions array: as exctionid => array: as clasid => optionid
var exceptions = [];
 
/*
_product_wholesale array: as id => array:
	0 - quantity
	1 - next quantity
	2 - taxed price
	3 - taxes array: as taxid => tax amount
	4 - original price (without taxes)
*/
var product_wholesale = [];
var _product_wholesale = [];
 
var product_image = new Image();
product_image.src = "/cart/default_image.gif";
var exception_msg = "Sorry, this combination of product options is not available.";
var exception_msg_html = "Sorry, this combination of product options is not available.";
var txt_out_of_stock = "Out of stock";
var pconf_price = 0
var default_price = 599.00;
var currency_symbol = "$";
var alter_currency_symbol = "";
var alter_currency_rate = 0.87;
var lbl_no_items_available = "No items available";
var txt_items_available = "{{items}} item(s) available";
var list_price = 0.00;
var price = 599.00;
var orig_price = 599.00;
var mq = 50;
var dynamic_save_money_enabled = false;
var is_unlimit = true;
 
var lbl_item = "Item";
var lbl_items = "Items";
var lbl_quantity = "Quantity";
var lbl_price = "Price";
var txt_note = "Note";
var lbl_including_tax = "including {{tax}}";
