// this script contains the specific data for the product(s) sold on this page

// prices updated 30-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["B"] = new pObject("Innertube","",0.00,1.00,1,"");
productData["A"] = new pObject("Tyre","",0.00,1.00,1,"");
productData["C"] = new pObject("Valve Extender","",0.00,1.00,1,"");
productData["D"] = new pObject("Tail Wheels","",0.00,1.00,1,"");
		// ...Data from Magic XL Spreadsheet
		
		ArrayDone = true;
	};
}



// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoTyre_SIZE()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Tyre_SIZE", "Select Tyre Size", 10);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("TT031", "200 x 50 Tyre", "11.23");
	LineArray[1] = new BoxLine("TT032", "210 x 65 Tyre", "18.97");
	LineArray[2] = new BoxLine("TT033", "255 x 110 Tyre", "70.35");
	LineArray[3] = new BoxLine("TT034", "260 x 85 Tyre", "32.64");
	LineArray[4] = new BoxLine("TT035", "280 x 250 - 4 Tyre", "34.34");
	LineArray[5] = new BoxLine("TT036", "300 - 4 Tyre", "35.96");
	LineArray[6] = new BoxLine("TT037", "350 x 135 Tyre", "193.85");
	LineArray[7] = new BoxLine("TT038UB", "Un-branded 400 - 4 Tyre", "68.07");
      LineArray[8] = new BoxLine("TT038", "400 - 4 Tyre", "61.27");
	LineArray[9] = new BoxLine("TT039", "500 - 5 Tyre", "40.02");
	
	BuildSelection(BoxDefn, LineArray);
}

function DoTube_SIZE()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Tube_SIZE", "Select Tube Size", 8);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	
	LineArray[0] = new BoxLine("TT011", "200 x 50 Tube 90deg", "8.33");
	LineArray[1] = new BoxLine("TT012", "200 x 50 Tube 30deg", "7.21");
	LineArray[2] = new BoxLine("TT013", "210 x 65 Tube", "8.42");
	LineArray[3] = new BoxLine("TT015", "260 x 85 Tube", "10.42");
	LineArray[4] = new BoxLine("TT016", "280 x 250 - 4 Tube", "18.02");
	LineArray[5] = new BoxLine("TT018", "350 x 135 Tube", "63.28");
	LineArray[6] = new BoxLine("TT019", "400 - 4 Tube", "9.41");
	LineArray[7] = new BoxLine("TT020", "500 - 5 Tube", "39.38");
	
	BuildSelection(BoxDefn, LineArray);
}

function DoValve_Extension()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Valve_Extension", "Select Extender", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box

    LineArray[0] = new BoxLine("TT055", "Very Long approx 80 mm Brass", "5.09");
    LineArray[1] = new BoxLine("TT051", "Long approx 50 mm Brass", "4.68");
    LineArray[2] = new BoxLine("TT054", "Medium approx 40 mm Brass", "4.99");
    LineArray[3] = new BoxLine("TT052", "Short approx 25 mm Brass", "5.83");
    LineArray[4] = new BoxLine("TT053", "Plastic approx 40 mm", "1.91");
    LineArray[5] = new BoxLine("TT056", "Flexible approx 210 mm Rubber", "8.06");


    BuildSelection(BoxDefn, LineArray);
}

function DoTail_W_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Tail_W_SIZE", "Select wheel size and type", 8);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box

    LineArray[0] = new BoxLine("WB081", "50 x 200 Plastic without Tyre", "33.93");
    LineArray[1] = new BoxLine("WB082", "50 x 200 Pastic with Tyre and Tube", "52.27");
    LineArray[2] = new BoxLine("WB083", "50 x 200 Metal without Tyre", "85.88");
    LineArray[3] = new BoxLine("WB084", "50 x 200 Metal with Tyre and Tube", "125.55");
    LineArray[4] = new BoxLine("WB085", "65 x 210 Metal without Tyre", "76.84");
    LineArray[5] = new BoxLine("WB086", "65 x 210 Metal with Tyre and Tube", "122.50");
    LineArray[6] = new BoxLine("WB087", "65 x 210 Plastic without Tyre and Tube", "36.31");
    LineArray[7] = new BoxLine("WB088", "65 x 210 Plastic with Tyre and Tube", "70.48");

    BuildSelection(BoxDefn, LineArray);
}


