// this script contains the specific data for the product(s) sold on this page

// prices updated 29-12-06

// Data from Magic XL Spreadsheet

var DoDebug=false;
var ArrayDone=false;
var productData=new Array();

function setProductArrayData(){
	if(ArrayDone == false)
	{
		// Data from Magic XL Spreadsheet Goes Here...

		// ...Data from Magic XL Spreadsheet
productData["C"] = new pObject("Plastic Fittings x 2","IT001",0.00,1.00,1,"");
productData["E"] = new pObject("Silicon Locking Rings Pkt 5","IT030",0.35,1.00,1,"");
productData["G"] = new pObject("Instrument Screws Pkt 4","",0.00,1.00,1,"");
productData["F"] = new pObject("Nylon Tubing","",0.00,1.00,1,"");
productData["B"] = new pObject("PVC Tubing","",0.00,1.00,1,"");
productData["A"] = new pObject("Silicon Tubing","",0.00,1.00,1,"");
productData["D"] = new pObject("Locking Wire 1/2 Kg Reel","",0.00,1.00,1,"");
productData["H"] = new pObject("5 Way Quick release Coupling","TI050",27.99,1.00,1,"");
productData["J"] = new pObject("Gust filter","TI070",3.44,1.00,1,"");


		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Cut & Paste From XL Spreadsheet
function DoSilicon_BORE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Silicon_BORE", "Select Size Required", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("IT071", "5mm", "1.84");
    LineArray[1] = new BoxLine("IT072", "6mm", "3.21");

    BuildSelection(BoxDefn, LineArray);
}

function DoPVC_BORE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$PVC_BORE", "Select Size Required", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("IT061", "3/16&quot; (5mm)", "0.67");
    LineArray[1] = new BoxLine("IT062", "1/4&quot; (6mm)", "0.80");
    LineArray[2] = new BoxLine("IT063", "5/16&quot; (8mm)", "0.87");

    BuildSelection(BoxDefn, LineArray);
}

function DoPlastic_Fitting()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Plastic_Fitting", "Select Fitting Required", 8);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("IT002", "Straight Connector 5mm", "1.05");
    LineArray[1] = new BoxLine("IT003", "90 Degree Bend 5mm", "1.71");
    LineArray[2] = new BoxLine("IT004", "Y Connector 5mm", "1.77");
    LineArray[3] = new BoxLine("IT005", "T Connector 5mm", "1.75");
    LineArray[4] = new BoxLine("IT011", "90 Degree Bend 6mm", "1.93");
    LineArray[5] = new BoxLine("IT012", "Straight Connector 6mm", "1.24");
    LineArray[6] = new BoxLine("IT013", "T Connector 6mm", "1.84");
    LineArray[7] = new BoxLine("IT014", "Y Connector 6mm", "2.18");

    BuildSelection(BoxDefn, LineArray);
}

function DoWire_Size()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Wire_Size", "Select Size Required", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("IT021", "18swg", "8.74");
    LineArray[1] = new BoxLine("IT022", "20swg", "8.74");
    LineArray[2] = new BoxLine("IT023", "22swg", "8.74");
    LineArray[3] = new BoxLine("IT024", "24swg", "11.30");
    LineArray[4] = new BoxLine("IT025", "26swg", "11.94");

    BuildSelection(BoxDefn, LineArray);
}

function DoNylon_Tube_LENGTH()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Nylon_Tube_LENGTH", "Select Roll Length", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("IT051", "5 metre", "5.15");
    LineArray[1] = new BoxLine("IT052", "10 metre", "10.20");

    BuildSelection(BoxDefn, LineArray);
}

function DoScrew_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Screw_SIZE", "Select Size Required", 7);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("IT041", "M4 x 10mm Pan Head Black", "0.33");
    LineArray[1] = new BoxLine("IT042", "M4 x 12mm Pan Head Black", "0.33");
    LineArray[2] = new BoxLine("IT043", "M5 x 20mm Pan Head Black", "0.46");
    LineArray[3] = new BoxLine("IT044", "6-32 x 1&quot; Round Head Black Brass", "1.80");
    LineArray[4] = new BoxLine("IT045", "6-32 x 1&quot; CSK Head Black Brass", "1.80");
    LineArray[5] = new BoxLine("IT046", "4BA x 1&quot; Round Head Brass", "1.80");
    LineArray[6] = new BoxLine("IT047", "4BA x 1&quot; CSK Head Brass", "1.80");

    BuildSelection(BoxDefn, LineArray);
}

