// this script contains the specific data for the product(s) sold on this page

// Last updated 29-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("EDS System","",0.00,1.00,1,"");
		productData["B"] = new pObject("XCP System","",0.00,1.00,1,"");
		productData["C"] = new pObject("Oxygen Bottle","",0.00,1.00,1,"");
		productData["D"] = new pObject("Oxygen Masks","",0.00,1.00,1,"");
		productData["E"] = new pObject("EDS Oxygen Regulator","",0.00,1.00,1,"");
		productData["F"] = new pObject("XCR Oxygen Regulator","",0.00,1.00,1,"");
		productData["G"] = new pObject("4mm Red Poly tubing","OXY170",1.07,1.00,1,"");
		productData["H"] = new pObject("6mm Red Poly tubing","OXY180",1.40,1.00,1,"");
		productData["J"] = new pObject("4mm Q/R Coupling","OXY190",11.22,1.00,1,"");
		productData["K"] = new pObject("6mm Q/R Coupling","OXY200",11.22,1.00,1,"");
		productData["M"] = new pObject("NPT Brass Fitting","OXY300",0.00,1.00,1,"");
		productData["R"] = new pObject("Content Gauge","OXY220",0.00,1.00,1,"");
		productData["T"] = new pObject("Bottle filler adaptor","OXY240",0.00,1.00,1,"");
		productData["U"] = new pObject("3/16 Compression fitting","OXY250",0.00,1.00,1,"");
		productData["V"] = new pObject("1/8 to 3/16 tube to tube fitting","OXY260",7.34,1.00,1,"");
		productData["W"] = new pObject("1/4NPT to 1/4BSP adaptor","OXY270",8.72,1.00,1,"");
		productData["X"] = new pObject("Copper Tubing","OXY280",0.00,1.00,1,"");
		productData["Y"] = new pObject("Push In Tube Connector","OXY290",0.00,1.00,1,"");
		productData["Z"] = new pObject("Flow-meter","OXY080",0.00,1.00,1,"");

		// ...Data from Magic XL Spreadsheet
		
		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoEDS_SystemForm()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$EDS_SystemForm", "Select Model", 10);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY011"," {1 Place 1 x EDS, Kevlar 311 ltr Bottle, Mask set", "833.00");
	LineArray[1] = new BoxLine("OXY012"," {2 Place 2 x EDS, Kevlar 311 ltr Bottle, Mask sets", "1241.00");
	LineArray[2] = new BoxLine("OXY013"," {1 Place 1 x EDS, Alloy 180 ltr Bottle, Mask set", "544.00");
	LineArray[3] = new BoxLine("OXY015"," {1 Place 1 x EDS, Alloy 248 ltr Bottle, Mask set", "544.00");
	LineArray[4] = new BoxLine("OXY019"," {1 Place 1 x EDS, Alloy 415 ltr Bottle, Mask set", "544.00");
	LineArray[5] = new BoxLine("OXY014"," {2 Place 2 x EDS, Alloy 248 ltr Bottle, Mask sets", "986.00");
	LineArray[6] = new BoxLine("OXY016"," {2 Place 1 x 2P EDS, Alloy 415 ltr Bottle, Mask sets", "986.00");
	LineArray[7] = new BoxLine("OXY017"," {1 Place 1 x EDS, CFF-048 Composite Bottle, Mask set", "778.60");
	LineArray[8] = new BoxLine("OXY018"," {2 Place 1 x 2P EDS, CFF-048 Composite Bottle, Mask sets", "1220.60");
	LineArray[9] = new BoxLine("OXY019"," {1 Place 1 x EDS, Steel 3ltr Bottle 100 mm dia, Mask set", "634.84");


	BuildSelection(BoxDefn, LineArray);
}

function DoXCP_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$XCP_Form", "Select Model", 7);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY021"," {1 Place 1 x XCP Reg, Alloy 248 Bottle, Mask set", "323.00");
	LineArray[1] = new BoxLine("OXY022"," {1 Place 1 x XCP Reg, Alloy 415 ltr Bottle, Mask set", "323.00");
	LineArray[2] = new BoxLine("OXY023"," {1 Place 1 x XCP Reg, Alloy 647 ltr Bottle, Mask set", "336.60");
	LineArray[3] = new BoxLine("OXY024"," {2 Place 1 x XCP Reg, Alloy 248 ltr Bottle, Mask sets", "408.00");
	LineArray[4] = new BoxLine("OXY025"," {2 Place 1 x XCP Reg, Alloy 415 ltr Bottle, Mask sets", "408.00");
	LineArray[5] = new BoxLine("OXY026"," {2 Place 1 x XCP Reg, Alloy 647 ltr Bottle, Mask sets", "425.00");
	LineArray[6] = new BoxLine("OXY027"," {1 Place 1 x XCP Reg, Steel 3ltr Bottle 100 mm dia, Mask set", "413.83");

	BuildSelection(BoxDefn, LineArray);
}

function DoBottles_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Bottles_Form", "Select Bottle Size", 6);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY031"," Aluminium Bottle shell 180 Ltr", "108.80");
	LineArray[1] = new BoxLine("OXY032"," Aluminium Bottle shell 248 Ltr", "132.60");
	LineArray[2] = new BoxLine("OXY034"," Aluminium Bottle shell 415 Ltr", "132.60");
	LineArray[3] = new BoxLine("OXY035"," Aluminium Bottle shell 647 Ltr", "159.80");
	LineArray[4] = new BoxLine("OXY036"," Alloy Core Silica Wrap CFF-048", "268.60");
	LineArray[5] = new BoxLine("OXY037"," Steel German 3 Ltr bottle 100 mm dia", "201.11");

	BuildSelection(BoxDefn, LineArray);
}

function DoMask_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Mask_Form", "Select Mask", 5);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY051"," EDS Type Face Mask", "10.11");
	LineArray[1] = new BoxLine("OXY052"," EDS Type Cannula", "10.14");
	LineArray[2] = new BoxLine("OXY053"," XCP Type Face Mask", "11.27");
	LineArray[3] = new BoxLine("OXY054"," XCP Type Moustache Cannula", "18.76");
	LineArray[4] = new BoxLine("OXY055"," XCP Type Pendant Cannula", "18.76");
	BuildSelection(BoxDefn, LineArray);
}


function DoEDSRegForm()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$EDSRegForm", "Select Regulator Options", 4);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY061", "1 Place EDS Unit c/w Masks, No Regulator", "408.00");
	LineArray[1] = new BoxLine("OXY062", "1 Place EDS Unit c/w Masks, & Din 477 Regulator", "561.00");
	LineArray[2] = new BoxLine("OXY063", "1 Place EDS Unit c/w Masks, & CGA540 Regulator", "472.60");
	LineArray[3] = new BoxLine("OXY064", "2 Place EDS Unit c/w Masks, No Regulator", "544.00");
	LineArray[4] = new BoxLine("OXY065", "2 Place EDS Unit c/w Masks, & Din 477 Regulator", "0.83");
	LineArray[5] = new BoxLine("OXY066", "2 Place EDS Unit c/w Masks, & CGA540 Regulator", "0.83");			
	BuildSelection(BoxDefn, LineArray);
}

function DoFlowRegForm()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$FlowRegForm", "Select Regulator Options", 2);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY081", "MH3 Flow-meter max alt 18000 ft", "44.20");
	LineArray[1] = new BoxLine("OXY082", "MH4 Flow-meter max alt 25000 ft", "44.20");
			
	BuildSelection(BoxDefn, LineArray);
}

function DoXcrRegForm()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$XcrRegForm", "Select Regulator Options", 6);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY071", "Single Outlet  Reg Din 477 Thread", "119.00");
	LineArray[1] = new BoxLine("OXY072", "Single Outlet  Reg CGA540 Thread", "159.80");
	LineArray[3] = new BoxLine("OXY076", "Single Outlet  Reg Inline Connection 3/16 pipe", "153.00");
	LineArray[2] = new BoxLine("OXY075", "Single Outlet  Reg Inline Connection 1/8 pipe", "153.00");
	LineArray[4] = new BoxLine("OXY073", "Dual Outlet  Reg Din 477 Thread", "238.00");
	LineArray[5] = new BoxLine("OXY074", "Dual Outlet  Reg CGA540 Thread", "214.20");

	BuildSelection(BoxDefn, LineArray);
}

function DoGauges_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Gauges_Form", "Select Content Gauge", 3);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY221", "2200 PSI Gauge", "17.00");
	LineArray[1] = new BoxLine("OXY222", "3000 PSI Gauge", "17.00");
	LineArray[2] = new BoxLine("OXY223", "Mounting Plate", "37.40");
	BuildSelection(BoxDefn, LineArray);
}

function DoFillers_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Fillers_Form", "Select Adaptor Required", 3);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY241", "CGA540 to Din 477 Thread", "42.53");
	LineArray[1] = new BoxLine("OXY242", "CGA540 to 1/4 BSP Thread", "41.46");
	LineArray[2] = new BoxLine("OXY243", "Din 477 to 1/4 BSP Thread", "46.42");

	BuildSelection(BoxDefn, LineArray);
}

function DoFittings_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Fittings_Form", "Select Fitting Required", 4);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY251", "3/16 Tee fitting", "10.15");
	LineArray[1] = new BoxLine("OXY252", "3/16 Tube to 1/4 BSP female fitting", "6.44");
	LineArray[2] = new BoxLine("OXY253", "3/16 Tube to 1/4 BSP male fitting", "6.20");
	LineArray[3] = new BoxLine("OXY254", "3/16 tube to tube fitting", "5.41");

	BuildSelection(BoxDefn, LineArray);
}

function DoPush_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Push_Form", "Select Fitting Required", 6);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY281", "4mm Tee fitting", "2.98");
	LineArray[1] = new BoxLine("OXY282", "4mm Tube to Tube fitting", "4.34");
	LineArray[2] = new BoxLine("OXY283", "4mm Y fitting", "3.56");
	LineArray[3] = new BoxLine("OXY284", "6mm Tee fitting", "2.98");
	LineArray[4] = new BoxLine("OXY285", "6mm Tube to Tube fitting", "4.40");
	LineArray[5] = new BoxLine("OXY286", "6mm Y fitting", "3.65");

	BuildSelection(BoxDefn, LineArray);
}

function DoCoppertube_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Coppertube_Form", "Select Tube Required", 2);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY291", "1/8 Copper Tube", "7.61");
	LineArray[1] = new BoxLine("OXY292", "3/16 Copper Tube", "7.63");

	BuildSelection(BoxDefn, LineArray);
}

function DoNPTFittings_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$NPTFittings_Form", "Select Fitting Required", 4);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("OXY301", "1/8 NPT to1/8 Copper Tube", "7.77");
	LineArray[1] = new BoxLine("OXY302", "1/8 NPT to 3/16 Copper Tube", "7.79");
	LineArray[2] = new BoxLine("OXY303", "1/4 NPT to1/8 Copper Tube", "7.77");
	LineArray[3] = new BoxLine("OXY304", "1/4 NPT to 3/16 Copper Tube", "7.79");

	BuildSelection(BoxDefn, LineArray);
}

