// 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["A"] = new pObject("Pan Headed Screws","SNW010",0.00,1.00,1,"");
productData["B"] = new pObject("Pan Headed Screws Cross head","SNW020",0.00,1.00,1,"");
productData["C"] = new pObject("Pan Headed Screws, Japanned","SNW030",0.00,1.00,1,"");
productData["D"] = new pObject("Pan Headed Screws Japanned Cross head","SNW040",0.00,1.00,1,"");
productData["E"] = new pObject("Countersunk Screws","SNW050",0.00,1.00,1,"");
productData["F"] = new pObject("Countersunk Screws Cross head","SNW060",0.00,1.00,1,"");
productData["G"] = new pObject("Nyloc Nuts","SNW070",0.00,1.00,1,"");
productData["H"] = new pObject("Plain Nuts","SNW080",0.00,1.00,1,"");
productData["I"] = new pObject("Wing Nuts","SNW090",0.00,1.00,1,"");
productData["J"] = new pObject("Dome Headed Nuts","SNW100",0.00,1.00,1,"");
productData["K"] = new pObject("Plain Washers","SNW110",0.00,1.00,1,"");
productData["L"] = new pObject("Crinkle Washers","SNW120",0.00,1.00,1,"");
productData["M"] = new pObject("Spring Washers","SNW130",0.00,1.00,1,"");
productData["N"] = new pObject("Cheese Headed Screw/Nut/Washer","SNW140",0.00,1.00,1,"");
productData["P"] = new pObject("Plated Cup Washers","SNW150",0.00,1.00,1,"");

		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}



// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoPan_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Pan_SIZE", "Select Screw Size and Length", 10);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW011", "M3 x 12 mm Pkt 10", "1.17");	
    LineArray[1] = new BoxLine("SNW012", "M3 x 20 mm Pkt 10", "1.40");	
    LineArray[2] = new BoxLine("SNW013", "M4 x 12 mm Pkt 10", "1.17");	
    LineArray[3] = new BoxLine("SNW014", "M4 x 16 mm Pkt 10", "1.62");	
    LineArray[4] = new BoxLine("SNW015", "M4 x 20 mm Pkt 10", "1.62");	
    LineArray[5] = new BoxLine("SNW016", "M5 x 16 mm Pkt 10", "1.62");	
    LineArray[6] = new BoxLine("SNW017", "M5 x 25 mm Pkt 10", "1.77");	
    LineArray[7] = new BoxLine("SNW018", "M6 x 16 mm Pkt 10", "1.62");	
    LineArray[8] = new BoxLine("SNW019", "M6 x 20 mm Pkt 10", "1.67");	
    LineArray[9] = new BoxLine("SNW0110", "M6 x 25 mm Pkt 10", "1.85");	


    BuildSelection(BoxDefn, LineArray);
}

function DoPan_X_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Pan_X_SIZE", "Select Screw Size and Length", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW021", "M3 x 12 mm Pkt 10", "1.17");	
    LineArray[1] = new BoxLine("SNW022", "M3 x 20 mm Pkt 10", "1.40");	
    LineArray[2] = new BoxLine("SNW023", "M4 x 12 mm Pkt 10", "1.17");	
    LineArray[3] = new BoxLine("SNW024", "M4 x 16 mm Pkt 10", "1.40");	
    LineArray[4] = new BoxLine("SNW025", "M4 x 20 mm Pkt 10", "1.62");	
    LineArray[5] = new BoxLine("SNW026", "M5 x 16 mm Pkt 10", "1.67");	
    LineArray[6] = new BoxLine("SNW027", "M5 x 25 mm Pkt 10", "1.60");	
    LineArray[7] = new BoxLine("SNW028", "M6 x 16 mm Pkt 10", "1.67");	
    LineArray[8] = new BoxLine("SNW029", "M6 x 20 mm Pkt 10", "1.67");	
    LineArray[9] = new BoxLine("SNW0210", "M6 x 25 mm Pkt 10", "1.84");	

    BuildSelection(BoxDefn, LineArray);
}

function DoPan_J_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Pan_J_SIZE", "Select Screw Size and Length", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW031", "M3 x 12 mm Pkt 10", "1.06");	
    LineArray[1] = new BoxLine("SNW032", "M4 x 12 mm Pkt 10", "1.17");	
    LineArray[2] = new BoxLine("SNW033", "M5 x 12 mm Pkt 10", "1.28");	
    LineArray[3] = new BoxLine("SNW035", "M6 x 16 mm Pkt 10", "1.35");	
    LineArray[4] = new BoxLine("SNW036", "M6 x 20 mm Pkt 10", "1.39");	

    BuildSelection(BoxDefn, LineArray);
}

function DoPan_JX_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Pan_JX_SIZE", "Select Screw Size and Length", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW041", "M3 x 12 mm Pkt 10", "1.02");	
    LineArray[1] = new BoxLine("SNW042", "M4 x 12 mm Pkt 10", "1.17");	
    LineArray[2] = new BoxLine("SNW043", "M5 x 12 mm Pkt 10", "1.28");	
    LineArray[3] = new BoxLine("SNW045", "M6 x 16 mm Pkt 10", "1.44");	
    LineArray[4] = new BoxLine("SNW046", "M6 x 20 mm Pkt 10", "1.39");	

    BuildSelection(BoxDefn, LineArray);
}

function DoCSK_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$CSK_SIZE", "Select Screw Size and Length", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW051", "M3 x 12 mm", "1.02");	
    LineArray[1] = new BoxLine("SNW052", "M3 x 20 mm", "1.17");	
    LineArray[2] = new BoxLine("SNW053", "M4 x 12 mm", "1.24");	
    LineArray[3] = new BoxLine("SNW054", "M4 x 16 mm", "1.22");	

    BuildSelection(BoxDefn, LineArray);
}

function DoCSK_X_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$CSK_X_SIZE", "Select Screw Size and Length", 10);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW061", "M3 x 12 mm Pkt 10", "1.06");	
    LineArray[1] = new BoxLine("SNW062", "M3 x 20 mm Pkt 10", "1.09");	
    LineArray[2] = new BoxLine("SNW063", "M4 x 12 mm Pkt 10", "1.12");	
    LineArray[3] = new BoxLine("SNW064", "M4 x 16 mm Pkt 10", "1.22");	
    LineArray[4] = new BoxLine("SNW065", "M4 x 20 mm Pkt 10", "1.28");	
    LineArray[5] = new BoxLine("SNW066", "M5 x 16 mm Pkt 10", "1.16");	
    LineArray[6] = new BoxLine("SNW067", "M5 x 25 mm Pkt 10", "1.23");	
    LineArray[7] = new BoxLine("SNW068", "M6 x 16 mm Pkt 10", "1.40");	
    LineArray[8] = new BoxLine("SNW069", "M6 x 20 mm Pkt 10", "1.40");	
    LineArray[9] = new BoxLine("SNW0610", "M6 x 25 mm Pkt 10", "1.50");	

    BuildSelection(BoxDefn, LineArray);
}

function DoNyloc_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Nyloc_SIZE", "Select Nut Size", 7);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW071", "Nylock M3 Pkt 10", "0.38");	
    LineArray[1] = new BoxLine("SNW072", "Nylock M4 Pkt 10", "0.41");	
    LineArray[2] = new BoxLine("SNW073", "Nylock M5 Pkt 10", "0.48");	
    LineArray[3] = new BoxLine("SNW074", "Nylock M6 Pkt 10", "0.54");	
    LineArray[4] = new BoxLine("SNW075", "Nylock M8 Pkt 10", "0.69");	
    LineArray[5] = new BoxLine("SNW076", "Nylock M10 Pkt 10", "0.91");	
    LineArray[6] = new BoxLine("SNW077", "Nylock M12 Pkt 10", "1.09");	

    BuildSelection(BoxDefn, LineArray);
}

function DoNut_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Nut_SIZE", "Select Nut Size", 7);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW081", "Plain Nut M3 Pkt 10", "0.27");	
    LineArray[1] = new BoxLine("SNW082", "Plain Nut M4 Pkt 10", "0.33");	
    LineArray[2] = new BoxLine("SNW083", "Plain Nut M5 Pkt 10", "0.37");	
    LineArray[3] = new BoxLine("SNW084", "Plain Nut M6 Pkt 10", "0.39");	
    LineArray[4] = new BoxLine("SNW085", "Plain Nut M8 Pkt 10", "0.50");	
    LineArray[5] = new BoxLine("SNW086", "Plain Nut M10 Pkt 10", "0.54");	
    LineArray[6] = new BoxLine("SNW087", "Plain Nut M12 Pkt 10", "0.59");	

    BuildSelection(BoxDefn, LineArray);
}

function DoWing_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Wing_SIZE", "Select Nut Size", 1);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW091", "Wing Nut M6 Pkt 10", "0.59");

    BuildSelection(BoxDefn, LineArray);
}

function DoDome_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Dome_SIZE", "Select Nut Size", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW101", "Domed Nut M4 Pkt 10", "0.61");	
    LineArray[1] = new BoxLine("SNW102", "Domed Nut M6 Pkt 10", "0.72");	

    BuildSelection(BoxDefn, LineArray);
}

function DoWasher_P_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Washer_P_SIZE", "Select Washer Size", 7);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW111", "Plain Washer M3 Pkt 10", "0.22");	
    LineArray[1] = new BoxLine("SNW112", "Plain Washer M4 Pkt 10", "0.26");	
    LineArray[2] = new BoxLine("SNW113", "Plain Washer M5 Pkt 10", "0.32");	
    LineArray[3] = new BoxLine("SNW114", "Plain Washer M6 Pkt 10", "0.34");	
    LineArray[4] = new BoxLine("SNW115", "Plain Washer M8 Pkt 10", "0.39");	
    LineArray[5] = new BoxLine("SNW116", "Plain Washer M10 Pkt 10", "0.43");	
    LineArray[6] = new BoxLine("SNW117", "Plain Washer M12 Pkt 10", "0.47");	

    BuildSelection(BoxDefn, LineArray);
}

function DoWasher_C_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Washer_C_SIZE", "Select Washer Size", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW121", "Crinkle Washer M3 Pkt 10", "0.27");	
    LineArray[1] = new BoxLine("SNW122", "Crinkle Washer M4 Pkt 10", "0.32");	
    LineArray[2] = new BoxLine("SNW123", "Crinkle Washer M5 Pkt 10", "0.36");	
    LineArray[3] = new BoxLine("SNW124", "Crinkle Washer M6 Pkt 10", "0.40");	
    LineArray[4] = new BoxLine("SNW125", "Crinkle Washer M8 Pkt 10", "0.44");	

    BuildSelection(BoxDefn, LineArray);
}

function DoWasher_S_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Washer_S_SIZE", "Select Washer Size", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW131", "Shakeproof Washer M5 Pkt 10", "0.39");	
    LineArray[1] = new BoxLine("SNW132", "Shakeproof Washer M6 Pkt 10", "0.43");	
    LineArray[2] = new BoxLine("SNW133", "Shakeproof Washer M8 Pkt 10", "0.46");	

    BuildSelection(BoxDefn, LineArray);
}

function DoCup_Washer()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Cup_Washer", "Select Screw Size", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW151", "Cup Washer ,M4/5  Pkt 10", "1.18");	
    LineArray[1] = new BoxLine("SNW152", "Cup Washer ,M5/6  Pkt 10", "1.28");	

    BuildSelection(BoxDefn, LineArray);
}


function DoBrass_kit_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Brass_kit_SIZE", "Select Screw Size and Length", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("SNW141", "Brass Screw,M4 x 16 mm c/w Nuts & washers Pkt 5", "1.17");	
    LineArray[1] = new BoxLine("SNW142", "Brass Screw M4 x 25 mm c/w Nuts & washers Pkt 5", "1.28");	

    BuildSelection(BoxDefn, LineArray);
}


