// 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["E"] = new pObject("Inline Fuse Holder Automotive","FC010",1.53,1.00,1,"");
productData["D"] = new pObject("Inline Fuse Holder 1.25 inch","FC020",0.86,1.00,1,"");
productData["C"] = new pObject("Inline Fuse Holder 20mm","FC030",0.82,1.00,1,"");
productData["B"] = new pObject("Panel Mounted Fuse Holder 1.25\"","FC040",2.65,1.00,1,"");
productData["A"] = new pObject("Panel Mounted Fuse Holder 20mm","FC050",1.79,1.00,1,"");
productData["G"] = new pObject("Pkt 2 Quick Blow Fuses 1.25\"","FC060",0.00,1.00,1,"");
productData["F"] = new pObject("Pkt 2 Quick Blow Fuses 20mm","FC070",0.00,1.00,1,"");
productData["H"] = new pObject("Pkt 2 Blade Fuses","FC080",0.00,1.00,1,"");
productData["I"] = new pObject("Sub-miniature Circuit Breaker","FC090",0.00,1.00,1,"");

		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}



// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoFUSE_20()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$FUSE_20", "Select Fuse Rating", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("FC071", "500 ma", "0.25");
    LineArray[1] = new BoxLine("FC072", "1 amp", "0.29");
    LineArray[2] = new BoxLine("FC073", "2 amp", "0.29");
    LineArray[3] = new BoxLine("FC074", "3.15 amp", "0.29");
    LineArray[4] = new BoxLine("FC075", "5 amp", "0.25");
    LineArray[5] = new BoxLine("FC076", "10 amp", "0.29");


    BuildSelection(BoxDefn, LineArray);
}

function DoFUSE_125()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$FUSE_125", "Select Fuse Rating", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("FC061", "500 ma", "0.39");
    LineArray[1] = new BoxLine("FC062", "1 amp", "0.29");
    LineArray[2] = new BoxLine("FC063", "2 amp", "0.29");
    LineArray[3] = new BoxLine("FC064", "3 amp", "0.29");
    LineArray[4] = new BoxLine("FC065", "5 amp", "0.29");
    LineArray[5] = new BoxLine("FC066", "10 amp", "0.29");


    BuildSelection(BoxDefn, LineArray);
}

function DoFUSE_AUTO()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$FUSE_AUTO", "Select Fuse Rating", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("FC081", "Tan 5 amp", "0.34");
    LineArray[1] = new BoxLine("FC082", "Red 10 amp", "0.34");
    LineArray[2] = new BoxLine("FC083", "Yellow 20", "0.34");
    LineArray[3] = new BoxLine("FC084", "Green 30 amp", "0.34");

    BuildSelection(BoxDefn, LineArray);
}

function DoSUB_CCB()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$SUB_CCB", "Select Fuse Rating", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("FC095", "0.5 amp", "7.57");
    LineArray[1] = new BoxLine("FC091", "1 amp", "7.57");
    LineArray[2] = new BoxLine("FC092", "2 amp", "7.57");
    LineArray[3] = new BoxLine("FC093", "3 amp", "7.57");
    LineArray[4] = new BoxLine("FC094", "5 amp", "7.57");

    BuildSelection(BoxDefn, LineArray);
}

