// 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["M"] = new pObject("Acetone","",0.00,1.00,1,"");
productData["N"] = new pObject("Aerosil","",0.00,1.00,1,"");
productData["E"] = new pObject("Carbon 2 x 2 Twill 200 g/sq mtr","CM030",21.29,1.00,1,"");
productData["G"] = new pObject("Honeycomb Plastic","",0.00,1.00,1,"");
productData["I"] = new pObject("Dyvinicell Foam Core 8mm","",0.00,1.00,1,"");
productData["P"] = new pObject("Flox","",0.00,1.00,1,"");
productData["D"] = new pObject("Glass Rovings","CM070",7.52,1.00,1,"");
productData["J"] = new pObject("Herex Foam Core 8mm","",0.00,1.00,1,"");
productData["A"] = new pObject("Interglass 92110 Glass Cloth","CM100",4.69,1.00,1,"");
productData["B"] = new pObject("Interglass 92125 Glass Cloth","CM110",7.27,1.00,1,"");
productData["C"] = new pObject("Interglass 92145 Glass Cloth","CM120",6.66,1.00,1,"");
productData["K"] = new pObject("Scheufler L285 Resin","",0.00,1.00,1,"");
productData["L"] = new pObject("Scheufler H286 Hardener","",0.00,1.00,1,"");
productData["O"] = new pObject("Micro Balloons (White)","",0.00,1.00,1,"");
productData["F"] = new pObject("Peel Ply 1000 mm wide","CM160",3.01,1.00,1,"");
productData["H"] = new pObject("Rohacell Foam Core 8mm","",0.00,1.00,1,"");
productData["V"] = new pObject("Paint Brushes","CON010",0.00,1.00,1,"");
productData["Q"] = new pObject("Paper Cups Small","CON021",1.88,1.00,1,"");
productData["R"] = new pObject("Paper Cups Large","CON022",3.13,1.00,1,"");
productData["T"] = new pObject("Latex Gloves","",0.00,1.00,1,"");
productData["U"] = new pObject("Face Masks","CON050",2.52,1.00,1,"");
productData["S"] = new pObject("Mixing Sticks","CON060",0.60,1.00,1,"");
productData["W"] = new pObject("Interglass 92115 Glass Cloth","CM102",8.47,1.00,1,"")
productData["X"] = new pObject("Interglass 92140 Glass Cloth","CM103",7.51,1.00,1,"");
productData["Z"] = new pObject("Interglass 92146 Glass Cloth","CM104",8.15,1.00,1,"");
productData["AA"] = new pObject("The Hard Stuff","BK240",36.75,1.00,0,"");
productData["DD"] = new pObject("Care and Repair of Advanced Composites","BK040",92.82,1.00,0,"");
productData["FF"] = new pObject("Vacuum Bagging Techniques","BK060",10.03,1.00,0,"");

		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoHoneycomb()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Honeycomb", "Select Core Size", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM241", "6mm x 300 x 300 mm ", "8.36");
    LineArray[1] = new BoxLine("CM242", "6mm x 400 x 400 mm ", "12.02");
    LineArray[2] = new BoxLine("CM243", "6mm x 500 x 500 mm", "15.93");
    LineArray[3] = new BoxLine("CM244", "8mm x 300 x 300 mm", "8.68");
    LineArray[4] = new BoxLine("CM245", "8mm x 400 x 400 mm", "12.53");
    LineArray[5] = new BoxLine("CM246", "8mm x 500 x 500 mm", "16.01");

    BuildSelection(BoxDefn, LineArray);
}

function DoROHA_Foam()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$ROHA_Foam", "Select Foam Size", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM041", "600 x 500 x 3 mm ", "7.52");
    LineArray[1] = new BoxLine("CM042", "600 x 500 x 4 mm ", "9.75");
    LineArray[2] = new BoxLine("CM043", "600 x 500 x 5 mm", "11.70 ");
    LineArray[3] = new BoxLine("CM044", "600 x 500 x 6 mm", "12.64");
    LineArray[4] = new BoxLine("CM045", "600 x 500 x 7 mm", "13.92");
    LineArray[5] = new BoxLine("CM046", "600 x 500 x 8 mm", "16.33");

    BuildSelection(BoxDefn, LineArray);
}

function DoDYVIN_Foam()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$DYVIN_Foam", "Select Foam Size", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM051", "300 x 300 mm ", "4.86");
    LineArray[1] = new BoxLine("CM052", "400 x 400 mm ", "6.46");
    LineArray[2] = new BoxLine("CM053", "500 x 500 mm", "6.71");
    LineArray[3] = new BoxLine("CM054", "600 x 500 mm", "7.61");
    LineArray[4] = new BoxLine("CM055", "700 x 500 mm", "9.16");
    LineArray[5] = new BoxLine("CM056", "900 x 500 mm", "10.71");

    BuildSelection(BoxDefn, LineArray);
}

function DoHEREX_Foam()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$HEREX_Foam", "Select Foam Size", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM091", "300 x 300 mm ", "9.56");
    LineArray[1] = new BoxLine("CM092", "400 x 400 mm ", "11.15");
    LineArray[2] = new BoxLine("CM093", "500 x 500 mm", "12.57");
    LineArray[3] = new BoxLine("CM094", "600 x 500 mm", "14.05");
    LineArray[4] = new BoxLine("CM095", "700 x 500 mm", "16.44");
    LineArray[5] = new BoxLine("CM096", "900 x 500 mm", "18.10");

    BuildSelection(BoxDefn, LineArray);
}

function DoResin_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Resin_SIZE", "Select Quantity", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM131", "150g Resin", "5.40");
    LineArray[1] = new BoxLine("CM132", "250g Resin", "8.69");
    LineArray[2] = new BoxLine("CM133", "500g Resin", "14.50");
    LineArray[3] = new BoxLine("CM134", "1kg Resin", "23.39");

    BuildSelection(BoxDefn, LineArray);
}

function DoHardener_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Hardener_SIZE", "Select Quantity", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM141", "60g Hardener", "3.97");
    LineArray[1] = new BoxLine("CM142", "100g Hardener", "4.90");
    LineArray[2] = new BoxLine("CM143", "200g Hardener", "6.88");
    LineArray[3] = new BoxLine("CM144", "400g Hardener", "11.76");

    BuildSelection(BoxDefn, LineArray);
}

function DoAcetone_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Acetone_SIZE", "Select Quantity", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM011", "250ml Acetone", "3.98");
    LineArray[1] = new BoxLine("CM012", "500ml Acetone", "4.81");
    LineArray[2] = new BoxLine("CM013", "1ltr Acetone", "5.62");

    BuildSelection(BoxDefn, LineArray);
}

function DoAerosil_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Aerosil_SIZE", "Select Quantity", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM024", "50g Baby Bag", "1.78");
    LineArray[1] = new BoxLine("CM021", "100g Small Bag", "3.08");
    LineArray[2] = new BoxLine("CM022", "250g Medium Bag", "4.81");
    LineArray[3] = new BoxLine("CM023", "500g Large Bag", "9.64");

    BuildSelection(BoxDefn, LineArray);
}

function DoBalloon_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Balloon_SIZE", "Select Quantity", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM151", "100g Small Bag", "5.10");
    LineArray[1] = new BoxLine("CM152", "250g Medium Bag", "7.90");
    LineArray[2] = new BoxLine("CM153", "500g Large Bag", "15.35");

    BuildSelection(BoxDefn, LineArray);
}

function DoFlox_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Flox_SIZE", "Select Quantity", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CM061", "100g Small Bag", "2.37");
    LineArray[1] = new BoxLine("CM062", "250g Medium Bag", "4.70");
    LineArray[2] = new BoxLine("CM063", "500g Large Bag", "8.04");

    BuildSelection(BoxDefn, LineArray);
}

function DoBrush_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Brush_SIZE", "Select Brush Size", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CON011", " 1 inch Brush ", "0.76");
    LineArray[1] = new BoxLine("CON012", " 2 inch Brush ", "1.00");

    BuildSelection(BoxDefn, LineArray);
}

function DoGlove_Size()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Glove_Size", "Select Glove Size", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("CON041", "Small", "1.04");
    LineArray[1] = new BoxLine("CON042", "Medium", "1.04");
    LineArray[2] = new BoxLine("CON043", "Large", "1.04");

    BuildSelection(BoxDefn, LineArray);
}

