// 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("Cockpit Colour Aerosol ","PPA010",0.00,1.00,2,"");
		productData["C"] = new pObject("Standard Colour Aerosol ","PPA020",0.00,1.00,2,"");
		productData["D"] = new pObject("Primer Aerosol","PPA030",0.00,1.00,2,"");
		productData["E"] = new pObject("Control Colour Touch Up ","PPA040",0.00,1.00,1,"");
		productData["F"] = new pObject("Wet and Dry Paper","PPA050",0.00,1.00,1,"");
		productData["G"] = 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 DoCockpit_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Cockpit_Form", "Select Colour", 7);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("PPA011"," Schemp Grey Dark", "9.47");
	LineArray[1] = new BoxLine("PPA012"," Schemp Grey Light", "9.47");
	LineArray[2] = new BoxLine("PPA013"," ASW Grey", "9.47");
	LineArray[3] = new BoxLine("PPA014"," ASW Cream", "9.47");
	LineArray[4] = new BoxLine("PPA015"," Astir Grey", "9.47");
	LineArray[5] = new BoxLine("PPA016"," Slingsby Green", "9.47");
	LineArray[6] = new BoxLine("PPA017"," Glasfugel Grey", "9.47");

    BuildSelection(BoxDefn, LineArray);
}

function DoStandard_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Standard_Form", "Select Colour", 4);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("PPA021"," Gloss Black ", "3.90");
	LineArray[1] = new BoxLine("PPA022"," Matt Black ", "3.90");
	LineArray[2] = new BoxLine("PPA023"," Semi Gloss Black ", "3.90");
	LineArray[3] = new BoxLine("PPA024"," Gloss White ", "3.90");

    BuildSelection(BoxDefn, LineArray);
}

function DoPrimers_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Primers_Form", "Select Type", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("PPA031", "Grey Primer ", "4.45");
    LineArray[1] = new BoxLine("PPA032", "Grey Etch Primer", "5.95");
    LineArray[2] = new BoxLine("PPA033", "Green Chromate Primer", "7.25");

    BuildSelection(BoxDefn, LineArray);
}

function DoTouch_up_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Touch_up_Form", "Select Colour", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("PPA041", "Green", "3.90");
    LineArray[1] = new BoxLine("PPA042", "Red", "3.90");
    LineArray[2] = new BoxLine("PPA043", "Blue", "3.90");
    LineArray[3] = new BoxLine("PPA044", "Yellow", "3.90");

    BuildSelection(BoxDefn, LineArray);
}

function DoWet_Dry_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Wet_Dry_Form", "Select Grade", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("PPA051", "3 x P400 Course", "2.33");
    LineArray[1] = new BoxLine("PPA052", "3 x P800 Med", "2.33");
    LineArray[2] = new BoxLine("PPA053", "3 x P1000 Med", "2.65");
    LineArray[3] = new BoxLine("PPA054", "3 x P1200 Fine", "3.10");
    LineArray[4] = new BoxLine("PPA055", "3 x P1500 Very Fine", "3.71");

    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);
}

