// this script contains the specific data for the product(s) sold on this page

// prices updated 29-12-08

// Data from Magic XL Spreadsheet

var DoDebug=false;
var ArrayDone=false;
var productData=new Array();

function setProductArrayData(){
	if(ArrayDone == false)
	{
		if(DoDebug == true)
		{
		window.alert("setProductArrayData()");
		}
		// Data from Magic XL Spreadsheet...
productData["D"] = new pObject("Push On Terminals 3/16","CT020",0.82,1.00,1,"");
productData["A"] = new pObject("Push On 1/4 Terminal","CT010",0.00,1.00,1,"");
productData["E"] = new pObject("110 Terminal","CT030",0.45,1.00,1,"");
productData["B"] = new pObject("Eyelet Terminal","CT040",0.00,1.00,1,"");
productData["C"] = new pObject("Splice Terminal","CT050",0.56,1.00,1,"");
productData["F"] = new pObject("12 Way Terminal Strip","CT060",3.90,1.00,1,"");

		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Cut & Paste From XL Spreadsheet
function DoPush_on_TYPE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Push_on_TYPE", "Select Type Required", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CT011", "Red", "0.56");
    LineArray[1] = new BoxLine("CT012", "Blue", "0.56");
    LineArray[2] = new BoxLine("CT013", "Yellow", "0.56");
    LineArray[3] = new BoxLine("CT014", "Piggy Back Red", "0.56");
    LineArray[4] = new BoxLine("CT016", "Piggy Back Blue", "0.56");
    LineArray[5] = new BoxLine("CT015", "Non-Insulated", "0.56");


    BuildSelection(BoxDefn, LineArray);
}
function DoEyelet_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Eyelet_SIZE", "Select Size Required", 7);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CT041", "M3  Red", "0.66");
    LineArray[1] = new BoxLine("CT042", "M4  Red", "0.66");
    LineArray[2] = new BoxLine("CT043", "M5  Red", "0.66");
    LineArray[3] = new BoxLine("CT044", "M6  Red", "0.66");
    LineArray[4] = new BoxLine("CT045", "M6  Blue", "0.66");
    LineArray[5] = new BoxLine("CT046", "M8  Blue", "0.66");
    LineArray[6] = new BoxLine("CT047", "M6  Yellow", "0.66");

    BuildSelection(BoxDefn, LineArray);
}

