// 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)
	{
		if(DoDebug == true)
		{
		window.alert("setProductArrayData()");
		}
		// Data from Magic XL Spreadsheet...
productData["F"] = new pObject("G3 Rubbing Compound","POL030",8.96,1.00,1,"");
productData["G"] = new pObject("Mutton Cloth","POL040",2.11,1.00,1,"");
productData["C"] = new pObject("Hard Wax","",0.00,1.00,2,"");
productData["E"] = new pObject("Medium Gel Kit","RK040",24.83,1.00,2,"");
productData["D"] = new pObject("Small Gel Kit","RK050",15.32,1.00,1,"");
productData["M"] = new pObject("Large Gel Kit","RK045",40.43,1.00,2,"");
productData["A"] = new pObject("Swalberlack Gel","",0.00,1.00,2,"");
productData["B"] = new pObject("Scheufler T35 Gel","",0.00,1.00,2,"");
productData["H"] = new pObject("Wet & Dry Abrasive pk 3 sheets","",0.00,1.00,1,"");
productData["J"] = new pObject("Rubbing Block","",0.00,1.00,1,"");
productData["P"] = new pObject("Polishing Machine","",0.00,1.00,2,"");
productData["N"] = new pObject("The White Stuff Book","BK150",13.13,1.00,0,"");
productData["Q"] = new pObject("Red Dye Liquid","GC180",4.89,1.00,1,"");
productData["R"] = new pObject("Abralon sanding system ","PPA080",0.00,1.00,1,"");


		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoSwalberlack_Gel()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Swalberlack_Gel", "Select Quantity", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("GC110", "500 g Gel Coat and Hardener", "13.64");
    LineArray[1] = new BoxLine("GC120", "1kg Gel Coat and Hardener", "26.23");
    LineArray[2] = new BoxLine("GC130", "2.5kg Gel Coat and Hardener", "55.72");
    LineArray[3] = new BoxLine("GC140", "5kg Gel Coat and Hardener", "111.56");
    LineArray[4] = new BoxLine("GC150", "10kg Gel Coat and Hardener", "209.77");


    BuildSelection(BoxDefn, LineArray);
}

function DoScheufler_Gel()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Scheufler_Gel", "Select Quantity", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("GC210", "500 g Gel Coat and Hardener", "12.85");
    LineArray[1] = new BoxLine("GC220", "1kg Gel Coat and Hardener", "22.88");
    LineArray[2] = new BoxLine("GC230", "2.5kg Gel Coat and Hardener", "48.62");
    LineArray[3] = new BoxLine("GC240", "5kg Gel Coat and Hardener", "87.30");
    LineArray[4] = new BoxLine("GC250", "10kg Gel Coat and Hardener", "165.82");


    BuildSelection(BoxDefn, LineArray);
}

function DoAbrasive_Paper()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Abrasive_Paper", "Select Grade", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("PPA051", "400G Course", "1.86");
    LineArray[1] = new BoxLine("PPA052", "800G Medium", "1.86");
    LineArray[2] = new BoxLine("PPA053", "1000G Fine", "2.12");
    LineArray[3] = new BoxLine("PPA054", "1200G Very Fine", "2.48");
    LineArray[4] = new BoxLine("PPA055", "1500G Extra Fine", "2.97");

    BuildSelection(BoxDefn, LineArray);
}

function DoRubbing_block()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Rubbing_block", "Select Size", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("PPA071", "Quarter Sheet", "9.63");
    LineArray[1] = new BoxLine("PPA072", "Third Sheet", "13.12");

    BuildSelection(BoxDefn, LineArray);
}

function DoHard_WaxForm()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Hard_WaxForm", "Select Colour", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("POL071", "Brown Hard Wax", "14.03");
    LineArray[1] = new BoxLine("POL072", "White Hard Wax", "11.61");

    BuildSelection(BoxDefn, LineArray);
}

function DoPolisherForm()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$PolisherForm", "Select Items", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("POL135", "Polishing Machine", "226.79");
    LineArray[1] = new BoxLine("POL132", "Arbor for Polisher", "26.04");
    LineArray[2] = new BoxLine("POL130", "10inch x 2inch  Airflow Mop", "30.30");
    LineArray[3] = new BoxLine("POL134", "Complete Polisher Kit", "267.19");


    BuildSelection(BoxDefn, LineArray);
}


function DoAbralon_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Abralon_Form", "Select Grade", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("PPA081", "3 x P1000 Fine", "6.03");
    LineArray[1] = new BoxLine("PPA082", "3 x P2000 Very Fine", "6.03");
    LineArray[2] = new BoxLine("PPA083", "3 x P4000 Super Fine", "6.03");
    LineArray[3] = new BoxLine("PPA084", "Backing Pad", "17.54");

    BuildSelection(BoxDefn, LineArray);
}


