// 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)
	{
		// Data from Magic XL Spreadsheet...
		productData["A"] = new pObject("New Tost C of G Hook","",0.00,1.00,1,"");
		productData["G"] = new pObject("Overhauled Tost C of G Hook","",0.00,1.00,1,"A deposit of £50 will be required on exchange hooks where the old hook is to be returned at a later date");
      	productData["B"] = new pObject("Tost Nose Hook","",0.00,1.00,1,"A deposit of £50 will be required on exchange hooks where the old hook is to be returned at a later date");
		productData["C"] = new pObject("Tow Release Handle","",0.00,1.00,1,"");
		productData["D"] = new pObject("Metric Control Cable","",0.00,1.00,1,"");
		productData["E"] = new pObject("Nicro-Press Sleeve","",0.00,1.00,1,"");
		productData["F"] = new pObject("Control Cable Thimble","",0.00,1.00,1,"");

		
		// ...Data from Magic XL Spreadsheet
		
		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoC_G_Hook_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$C_G_Hook_Form", "Select Model ", 7);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box

      LineArray[0] = new BoxLine("RH011-","New G 88 with release lever", "383.13");
	LineArray[1] = new BoxLine("RH012-","New G 88 without release lever", "379.67");
	LineArray[2] = new BoxLine("RH013-","New G 88/1-83 028400 left", "402.44");
	LineArray[3] = new BoxLine("RH014-","New G 88/1-83 028500 right", "402.93");
	LineArray[4] = new BoxLine("RH019-","New S72 022100", "379.17");
	LineArray[5] = new BoxLine("RH020-","New SH72 022210 right", "404.91");
	LineArray[6] = new BoxLine("RH023-","New SH72 022200 left", "4043.92");


	BuildSelection(BoxDefn, LineArray);
}

function DoReconC_G_Hook_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$ReconC_G_Hook_Form", "Select Model ", 6);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box

	LineArray[0] = new BoxLine("RH015-","Exchange CG G88/G73/G72 with release lever", "166.04");
	LineArray[1] = new BoxLine("RH016-","Exchange CG G88/G73/G72 without release lever", "166.04");
	LineArray[2] = new BoxLine("RH021-","Exchange CG S72 ", "169.47");
	LineArray[3] = new BoxLine("RH024-","Exchange CG SSH72 ", "175.14");
	LineArray[4] = new BoxLine("RH042-","Exchange CG Vintage hook with release lever", "176.55");
	LineArray[5] = new BoxLine("RH043-","Exchange CG Vintage hook without release lever", "176.55");


	BuildSelection(BoxDefn, LineArray);
}

function DoNose_hook_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Nose_hook_Form", "Select Model and then New or Exchange", 6);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box

	LineArray[0] = new BoxLine("RH035-","Exchange Nose with release lever", "166.04");
	LineArray[1] = new BoxLine("RH036-","Exchange Nose without release lever", "166.04");
	LineArray[2] = new BoxLine("RH031-","New E 85 with release lever", "285.62");
	LineArray[3] = new BoxLine("RH032-","New E 85 without release lever", "283.14");
	LineArray[4] = new BoxLine("RH033-","New E 85/1-79 ", "318.78");
	LineArray[5] = new BoxLine("RH034-","New E 85/1-83 ", "292.05");

	BuildSelection(BoxDefn, LineArray);
}

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 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 DoRelease_handleForm()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Release_handleForm", "Select Type Required", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CC071", "Yellow T Handle ", "7.75");
    LineArray[1] = new BoxLine("CC072", "Yellow Ball ", "7.75");
    LineArray[2] = new BoxLine("CC073", "Slingsby Ball and cable ", "6.10");


    BuildSelection(BoxDefn, LineArray);
}


