// 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)
	{
		// Data from Magic XL Spreadsheet Goes Here...

productData["A"] = new pObject("Volkslogger Bracket","DL010",30.60,1.00,1,"");
productData["B"] = new pObject("EW Barograph Bracket (Old Style)","DL020",27.29,1.00,1,"");
productData["C"] = new pObject("EW Barograph Bracket (New Style)","DL030",28.56,1.00,1,"");
productData["D"] = new pObject("GPS Cockpit side bracket","DL040",45.00,1.00,1,"");
productData["E"] = new pObject("RJ/FCC 68 Data Connectors","DL050",0.00,1.00,1,"");
productData["F"] = new pObject("RJ/FCC 68 Couplers","DL060",0.00,1.00,1,"");
productData["G"] = new pObject("RJ/FCC 68 Crimping Tools","DL070",0.00,1.00,1,"");
productData["H"] = new pObject("Data Cable Flat","DL080",0.00,1.00,1,"");
productData["I"] = new pObject("Ferrite Cores","DL090",0.00,1.00,1,"");
productData["J"] = new pObject("Tyrap Bases Self Adhesive","DL100",0.00,1.00,1,"");
productData["K"] = new pObject("Tywraps","RC210",0.00,1.00,1,"");
productData["M"] = new pObject("RAM mount for GPS or PDA","DL120",0.00,1.00,1,"");

		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Cut & Paste From XL Spreadsheet
function DoRJ_FCC_Connectors()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$RJ_FCC_Connectors", "Select Size", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("DL051", "RJ10  4P4C Small 4 way Plug (Flat Cable)", "0.37");
    LineArray[1] = new BoxLine("DL052", "RJ10  4P4C Small 4 way Plug (Round Cable)", "0.37");
    LineArray[2] = new BoxLine("DL053", "RJ11  6P4C Large 4 way Plug (Flat Cable)", "0.41");
    LineArray[3] = new BoxLine("DL054", "RJ11  6P4C Large 4 way Plug (Round Cable)", "0.43");
    LineArray[4] = new BoxLine("DL055", "RJ12  6P6C Std 6 way Plug (Flat Cable)", "0.4");
    LineArray[5] = new BoxLine("DL056", "RJ12  6P6C Std 6 way Plug (Round Cable)", "0.43");

    BuildSelection(BoxDefn, LineArray);
}

function DoRJ_FCC_Couplers()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$RJ_FCC_Couplers", "Select Type", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("DL061", "RJ11  6P4C Coupler", "1.43");
    LineArray[1] = new BoxLine("DL062", "RJ11  6P4C Plug/Socket extension Lead 2 mtrs", "4.85");
    LineArray[2] = new BoxLine("DL064", "RJ12  6P6C Coupler", "2.26");
    LineArray[3] = new BoxLine("DL063", "RJ45 Wiring Junction Box", "2.85");

    BuildSelection(BoxDefn, LineArray);
}

function DoRJ_Crimping_tools()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$RJ_Crimping_tools", "Select Plug Size", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("DL071", "RJ10  4P4C Crimping Tool", "9.08");
    LineArray[1] = new BoxLine("DL072", "RJ11  6P4C Crimping Tool", "9.08");

    BuildSelection(BoxDefn, LineArray);
}

function DoData_Cable_Flat()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Data_Cable_Flat", "Select Cable Size", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("DL081", "Data Cable 4 way", "0.80");
    LineArray[1] = new BoxLine("DL082", "Data Cable 6 way", "0.96");

    BuildSelection(BoxDefn, LineArray);
}

function DoFerrite_Cores()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Ferrite_Cores", "Select Core Size", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("DL091", "Ferrite Core 14 x 28 x 6.4 mm", ".54");
    LineArray[1] = new BoxLine("DL092", "Ferrite Core 16 x 28 x 9 mm", ".56");
    LineArray[2] = new BoxLine("DL093", "Split Ferrite Core 21 x 19 x 8 mm", "2.48");
    LineArray[3] = new BoxLine("DL094", "Split Ferrite Core 26 x 13 x 10 mm", "2.81");

    BuildSelection(BoxDefn, LineArray);
}

function DoTyrap_Bases()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Tyrap_Bases", "Select Base Size", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("DL101", "Tyrap Base 19 x 19 mm", "0.15");
    LineArray[1] = new BoxLine("DL102", "Tyrap Base 29 x 29 mm", "0.17");

    BuildSelection(BoxDefn, LineArray);
}

function DoTywrap_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Tywrap_SIZE", "Select Size", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("RC211", "Small", "0.77");
    LineArray[1] = new BoxLine("RC212", "Medium", "0.90");
    LineArray[2] = new BoxLine("RC213", "XLarge", "1.06");

    BuildSelection(BoxDefn, LineArray);
}

function DoRAM_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$RAM_Form", "Select Model", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("DL112", "Mount for Garmin II/III", "28.35");
    LineArray[1] = new BoxLine("DL114", "Mount for HP Ipaq", "39.48");
    LineArray[2] = new BoxLine("DL115", "Mount for Compaq Aero", "41.38");

    BuildSelection(BoxDefn, LineArray);
}
