//***Index to the item/SKU***
var	idxItem = new Array();
idxItem[0] = 101;
idxItem[1] = 102;
idxItem[2] = 103;
idxItem[3] = 104;
idxItem[4] = 111;
idxItem[5] = 112;
idxItem[6] = 113;
idxItem[7] = 114;
idxItem[8] = 121;
idxItem[9] = 122;
idxItem[10] = 131;
idxItem[11] = 132;
idxItem[12] = 201;
idxItem[13] = 211;
idxItem[14] = 212;
idxItem[15] = 213;
idxItem[16] = 214;
idxItem[17] = 215;
idxItem[18] = 221;
idxItem[19] = 222;
idxItem[20] = 223;
idxItem[21] = 231;
idxItem[22] = 301;
idxItem[23] = 302;

var	itemNum = idxItem.length;	//Number of Items selling

//***Define Cookie for Items currently selling***
//***Cookie name is also the SKU***
var	CK_Item = new Array();
CK_Item[idxItem[0]] = "G10a1";	//F2A Ultra 256Mb Kit
CK_Item[idxItem[1]] = "G10a2";	//F2A Ultra 512Mb Kit
CK_Item[idxItem[2]] = "G10a3";	//F2A Ultra 1Gb Kit
CK_Item[idxItem[3]] = "G10a4";	//F2A Ultra 2Gb Kit
CK_Item[idxItem[4]] = "G11a1";	//F2A Ultra 256Mb Cartridge
CK_Item[idxItem[5]] = "G11a2";	//F2A Ultra 512Mb Cartridge
CK_Item[idxItem[6]] = "G11a3";	//F2A Ultra 1Gb Cartridge
CK_Item[idxItem[7]] = "G11a4";	//F2A Ultra 2Gb Cartridge
CK_Item[idxItem[8]] = "G12a1";	//F2A USB Linker Cable
CK_Item[idxItem[9]] = "G12a2";	//F2A USB Writer
CK_Item[idxItem[10]] = "G13a1";	//Smart Flash Card 128Mb Kit
CK_Item[idxItem[11]] = "G13a2";	//Smart Flash Card 256Mb Kit
CK_Item[idxItem[12]] = "G20a1";	//Game Boy Micro + Camera + Smart Card
CK_Item[idxItem[13]] = "G21a1";	//Nintendo DS (Platinum Silver)
CK_Item[idxItem[14]] = "G21a2";	//Nintendo DS (Pure White)
CK_Item[idxItem[15]] = "G21a3";	//Nintendo DS (Graphite Black)
CK_Item[idxItem[16]] = "G21a4";	//Nintendo DS (Turquoise Blue)
CK_Item[idxItem[17]] = "G21a5";	//Nintendo DS (Candy Pink)
CK_Item[idxItem[18]] = "G22a1";	//Nintendo DS Pouch (Pokemon Pikachu)
CK_Item[idxItem[19]] = "G22a2";	//Nintendo DS Pouch (Pokemon Achamo)
CK_Item[idxItem[20]] = "G22a3";	//Hori Screen Filter/Protector for NDS
CK_Item[idxItem[21]] = "G23a1";	//GBA SP / NDS /GBM Mini Camera
CK_Item[idxItem[22]] = "G30a1";	//Game Boy Micro Silver
CK_Item[idxItem[23]] = "G30a2";	//Game Boy Micro Black

CK_ShipCountry = "SC_SHC";	//Shipping Country Cookie Name
CK_ShipMethod = "SC_SHM";	//Shipping Method Cookie Name
CK_CouponCode = "SC_CC";	//Coupon Code

//***Define all the productions***
var	ProdArray = new Array();

function prod(SKU,name,price,weight,avail,economy,count)
{
	this.SKU	= SKU;
	this.name	= name;
	this.price	= price;
	this.weight	= weight;
	this.avail	= avail;	//0=SOLD OUT. 1=In USA. 9=HK.
	this.economy = economy;	//1=Qualify for Economy shipment
	this.count	= count;	//Place holder to store order quantity
}

ProdArray[idxItem[0]] = new prod(
	CK_Item[idxItem[0]],
	"Flash2Advance Ultra 256Mb USB Kit",
	"79.99",
	20,
	1,
	1,
	0
	);

ProdArray[idxItem[1]] = new prod(
	CK_Item[idxItem[1]],
	"Flash2Advance Ultra 512Mb USB Kit",
	"114.99",
	20,
	0,
	1,
	0
	);

ProdArray[idxItem[2]] = new prod(
	CK_Item[idxItem[2]],
	"Flash2Advance Ultra 1Gb USB Kit",
	"149.99",
	20,
	0,
	1,
	0
	);

ProdArray[idxItem[3]] = new prod(
	CK_Item[idxItem[3]],
	"Flash2Advance Ultra 2Gb USB Kit",
	"179.99",
	20,
	0,
	1,
	0
	);

ProdArray[idxItem[4]] = new prod(
	CK_Item[idxItem[4]],
	"Flash2Advance Ultra 256Mb Cartridge",
	"74.99",
	18,
	1,
	1,
	0
	);

ProdArray[idxItem[5]] = new prod(
	CK_Item[idxItem[5]],
	"Flash2Advance Ultra 512Mb Cartridge",
	"109.99",
	18,
	0,
	1,
	0
	);

ProdArray[idxItem[6]] = new prod(
	CK_Item[idxItem[6]],
	"Flash2Advance Ultra 1Gb Cartridge",
	"144.99",
	18,
	0,
	1,
	0
	);

ProdArray[idxItem[7]] = new prod(
	CK_Item[idxItem[7]],
	"Flash2Advance Ultra 2Gb Cartridge",
	"174.99",
	18,
	0,
	1,
	0
	);

ProdArray[idxItem[8]] = new prod(
	CK_Item[idxItem[8]],
	"Flash2Advance Linker Cable",
	"9.99",
	13,
	0,
	1,
	0
	);

ProdArray[idxItem[9]] = new prod(
	CK_Item[idxItem[9]],
	"Flash2Advance USB Writer",
	"19.99",
	20,
	1,
	1,
	0
	);

ProdArray[idxItem[10]] = new prod(
	CK_Item[idxItem[10]],
	"Smart Flash Card 128Mb USB Kit",
	"44.99",
	20,
	1,
	1,
	0
	);

ProdArray[idxItem[11]] = new prod(
	CK_Item[idxItem[11]],
	"Smart Flash Card 256Mb USB Kit",
	"59.99",
	20,
	0,
	1,
	0
	);

ProdArray[idxItem[12]] = new prod(
	CK_Item[idxItem[12]],
	"Game Boy Micro + Camera + Smart Card",
	"109.99",
	70,
	0,
	0,
	0
	);

ProdArray[idxItem[13]] = new prod(
	CK_Item[idxItem[13]],
	"Nintendo DS (Platinum Silver)",
	"169.99",
	40,
	9,
	0,
	0
	);

ProdArray[idxItem[14]] = new prod(
	CK_Item[idxItem[14]],
	"Nintendo DS (Pure White)",
	"199.99",
	40,
	9,
	0,
	0
	);

ProdArray[idxItem[15]] = new prod(
	CK_Item[idxItem[15]],
	"Nintendo DS (Graphite Black)",
	"199.99",
	40,
	9,
	0,
	0
	);

ProdArray[idxItem[16]] = new prod(
	CK_Item[idxItem[16]],
	"Nintendo DS (Turquoise Blue)",
	"199.99",
	40,
	9,
	0,
	0
	);

ProdArray[idxItem[17]] = new prod(
	CK_Item[idxItem[17]],
	"Nintendo DS (Candy Pink)",
	"199.99",
	40,
	9,
	0,
	0
	);

ProdArray[idxItem[18]] = new prod(
	CK_Item[idxItem[18]],
	"Nintendo DS Pouch (Pokemon Pikachu)",
	"19.99",
	20,
	0,
	0,
	0
	);

ProdArray[idxItem[19]] = new prod(
	CK_Item[idxItem[19]],
	"Nintendo DS Pouch (Pokemon Achamo)",
	"19.99",
	20,
	0,
	0,
	0
	);

ProdArray[idxItem[20]] = new prod(
	CK_Item[idxItem[20]],
	"Hori Screen Filter/Protector for NDS",
	"9.99",
	10,
	0,
	0,
	0
	);

ProdArray[idxItem[21]] = new prod(
	CK_Item[idxItem[21]],
	"GBA SP / NDS / GBM Mini Camera",
	"9.99",
	25,
	0,
	0,
	0
	);

ProdArray[idxItem[22]] = new prod(
	CK_Item[idxItem[22]],
	"Game Boy Micro Silver",
	"89.99",
	25,
	0,
	0,
	0
	);

ProdArray[idxItem[23]] = new prod(
	CK_Item[idxItem[23]],
	"Game Boy Micro Black",
	"84.99",
	25,
	1,
	0,
	0
	);

//***Shipping Information***
var	ShipOptionText = new Array
						(
							"Budget 1st Class Mail",
							"1st Class Mail",
							"Budget Priority Mail",
							"Priority Mail",
							"Overnight Express Mail",
							"Budget International Airmail",
							"International Airmail",
							"Budget Global Priority Mail",
							"Global Priority Mail",
							"Global Express Mail",
							"We will not ship"
						)
var	shNum = ShipOptionText.length;	//Number of Shipping Options

var	ShipDetailText = new Array
						(
							"<b>Duration:</b>&nbsp;<Font color='red'>> 2 days</Font>&nbsp;&nbsp;<b>Confirmation:</b>&nbsp;<Font color='red'>Yes</Font>",
							"<b>Duration:</b>&nbsp;<Font color='red'>> 2 days</Font>&nbsp;&nbsp;<b>Confirmation:</b>&nbsp;<Font color='red'>Yes</Font>",
							"<b>Duration:</b>&nbsp;<Font color='red'>2-3 days</Font>&nbsp;&nbsp;<b>Confirmation:</b>&nbsp;<Font color='red'>Yes</Font>",
							"<b>Duration:</b>&nbsp;<Font color='red'>2-3 days</Font>&nbsp;&nbsp;<b>Confirmation:</b>&nbsp;<Font color='red'>Yes</Font>",
							"<b>Duration:</b>&nbsp;<Font color='red'>1-2 days</Font>&nbsp;&nbsp;<b>Tracking & Confirmation:</b>&nbsp;<Font color='red'>Yes</Font>",
							"<b>Duration:</b>&nbsp;<Font color='red'>> 5 days</Font>&nbsp;&nbsp;<b>Mailing Proof:</b>&nbsp;<Font color='red'>Yes</Font>",
							"<b>Duration:</b>&nbsp;<Font color='red'>> 5 days</Font>&nbsp;&nbsp;<b>Mailing Proof:</b>&nbsp;<Font color='red'>Yes</Font>",
							"<b>Duration:</b>&nbsp;<Font color='red'>3-5 days</Font>&nbsp;&nbsp;<b>Mailing Proof:</b>&nbsp;<Font color='red'>Yes</Font>",
							"<b>Duration:</b>&nbsp;<Font color='red'>3-5 days</Font>&nbsp;&nbsp;<b>Mailing Proof:</b>&nbsp;<Font color='red'>Yes</Font>",
							"<b>Duration:</b>&nbsp;<Font color='red'>2-3 days</Font>&nbsp;&nbsp;<b>Tracking:</b>&nbsp;<Font color='red'>Yes</Font>",
							"Will Never Deliver"
						)

var	Country = new Array
					(
						"U.S.A.",
						"Australia",
						"Belgium",
						"Canada",
						"Denmark",
						"Finland",
						"France",
						"Germany",
						"Great Britain/U.K.",
						"Holland/Netherlands",
						"Italy",
						"Japan",
						"Norway",
						"Portugal",
						"Spain",
						"Sweden",
						"Switzerland",
						"Turkey",
						"Other Country Not Listed"
					)
var	ctNum = Country.length;	//Number of Countries

//Anguilla
//Argentina
//Australia
//Austria
//Belgium
//Brazil
//Canada
//Chile
//China
//Costa Rica
//Cyprus
//Czech Republic
//Denmark
//Dominican Republic
//Ecuador
//Estonia
//Finland
//France
//Germany
//Greece
//Hong Kong
//Hungary
//Iceland
//India
//Ireland
//Israel
//Italy
//Jamaica
//Japan
//Latvia
//Lithuania
//Luxembourg
//Malaysia
//Malta
//Mexico
//Netherlands
//New Zealand
//Norway
//Poland
//Portugal
//Singapore
//Slovakia
//Slovenia
//South Africa
//South Korea
//Spain
//Sweden
//Switzerland
//Taiwan
//Thailand
//Turkey
//United Kingdom
//United States
//Uruguay
//Venezuela
