// this script contains the specific data for the product(s) sold on this page

// prices updated 30-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["B"] = new pObject("Imperial Control Cable","",0.00,1.00,1,"");
productData["A"] = new pObject("Metric Control Cable","",0.00,1.00,1,"");
productData["F"] = new pObject("Cable Cutters","CC031",24.58,1.00,1,"");
productData["D"] = new pObject("Control Cable Thimble","",0.00,1.00,1,"");
productData["C"] = new pObject("Nicro-Press Sleeve","",0.00,1.00,1,"");
productData["E"] = new pObject("Swaging Tool","",0.00,1.00,1,"");
productData["G"] = new pObject("Tow Release Handle","",7.95,1.00,1,"");
		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}



// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoMetric_Cable_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Metric_Cable_SIZE", "Select Size Required", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CC021", "2.4mm ", "2.19");
    LineArray[1] = new BoxLine("CC022", "3.2mm ", "3.94");

    BuildSelection(BoxDefn, LineArray);
}

function DoImp_Cable_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Imp_Cable_SIZE", "Select Size Required", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CC011", "1/16 in", "1.46");
    LineArray[1] = new BoxLine("CC012", "3/32 in", "2.10");
    LineArray[2] = new BoxLine("CC013", "1/8 in", "3.34");

    BuildSelection(BoxDefn, LineArray);
}

function DoNico_Sleeve_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Nico_Sleeve_SIZE", "Select Cable Size", 7);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CC051/A", "1/16 in Cable", "0.38");
    LineArray[1] = new BoxLine("CC052/A", "2.4mm Cable", "0.38");
    LineArray[2] = new BoxLine("CC053/A", "3.2mm Cable", "0.46");
    LineArray[3] = new BoxLine("CC053/B", "1/8 in Cable", "0.46");
    LineArray[4] = new BoxLine("CC051", "18-1c Sleeve", "0.38");
    LineArray[5] = new BoxLine("CC052", "18-2g Sleeve", "0.38");
    LineArray[6] = new BoxLine("CC053", "18-3m Sleeve", "0.46");

    BuildSelection(BoxDefn, LineArray);
}

function DoAN100_Thimble_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$AN100_Thimble_SIZE", "Select Cable Size", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CC041", "1/16 in Cable", "0.33");
    LineArray[1] = new BoxLine("CC042", "2.4mm Cable", "0.33");
    LineArray[2] = new BoxLine("CC042/A", "3.2mm Cable", "0.33");
    LineArray[3] = new BoxLine("CC042/B", "1/8 in Cable", "0.33");
    LineArray[4] = new BoxLine("CC041/A", "AN100-3", "0.33");
    LineArray[5] = new BoxLine("CC042/C", "AN100-4", "0.33");

    BuildSelection(BoxDefn, LineArray);
}

function DoSwage_Tool_TYPE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Swage_Tool_TYPE", "Select Swaging Tool", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CC061", "Low Cost Simple", "25.97");
    LineArray[1] = new BoxLine("CC062", "Medium Use", "210.92");
    LineArray[2] = new BoxLine("CC063", "Profesional Use", "273.20");

    BuildSelection(BoxDefn, LineArray);
}

function DoTow_Release_Handles()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Tow_Release_ Handles", "Select Handle Type", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CC071", "Tow Release Handle T Shaped", "7.95");
    LineArray[1] = new BoxLine("CC072", "Tow Release Handle Ball Shaped", "7.95");
    LineArray[2] = new BoxLine("CC073", "Tow Release Handle Slingsby T21/T31", "6.10");

    BuildSelection(BoxDefn, LineArray);
		if(DoDebug == true)
		{
		window.alert("DoTow_Release_Handles(1)");
		}
}

