// 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["N"] = new pObject("PVC Hose for Water Ballast Pump","PA260",2.38,1.00,1,"");	
productData["G"] = new pObject("Water Ballast Pump 12volt","",0.00,1.00,1,"");
productData["S"] = new pObject("25 Litre Water Container","PA280",10.11,1.00,1,"");
productData["W"] = new pObject("6 inch Plastic Funnel","PA250",3.86,1.00,1,"");			
productData["P"] = new pObject("Tie Down Ratchet Strap 25mm","PA120",6.03,1.00,1,"");	
productData["D"] = new pObject("Camelbak","",0.00,1.00,1,"");	
productData["B"] = new pObject("DIY Pee Tube Kit","PA060",21.96,1.00,1,"");	
productData["H"] = new pObject("UriBag","",0.00,1.00,1,"");	
productData["V"] = new pObject("HD Ground Anchor Pkt 2","PA140",8.04,1.00,2,"");
productData["M"] = new pObject("Back Support Belt","",0.00,1.00,1,"");	
productData["X"] = new pObject("Energy Absorbing Cushion","",0.00,1.00,1,"");	
productData["AA"] = new pObject("Disposable pee bag","PA057",4.70,1.00,1,"");	


		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoUriBag_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$UriBag_Form", "Select Product", 2);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
    LineArray[0] = new BoxLine("PA051"," UriBag for Men ", "20.08");	
    LineArray[1] = new BoxLine("PA052"," UriBag for Women", "20.08");	
    	
    BuildSelection(BoxDefn, LineArray);	
}	

function DoBack_Support_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Belt_Size", "Select Belt Size", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("PA031", "Medium 79 to 93 cm", "33.55");
    LineArray[1] = new BoxLine("PA032", "Large 93 to 111 cm", "33.55");

    BuildSelection(BoxDefn, LineArray);
}

function DoCushion_SIZE()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Cushion_Size", "Select Cushion Size", 4);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[1] = new BoxLine("PA071", "16 x 18 x 1 inch Confor", "22.95");
    LineArray[2] = new BoxLine("PA072", "16 x 18 x 2 inch Confor", "39.68");
    LineArray[0] = new BoxLine("PA073", "16 x 18 x 1/2 inch Confor", "17.83");
    LineArray[3] = new BoxLine("PA074", "16 x 18 x 11/2 inch Duo-Confor", "55.95");



    BuildSelection(BoxDefn, LineArray);
}

function DoCamelbak_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$Camelbak_Form", "Select Part", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("PA170", "Camelbak Unbottle 2", "26.25");
    LineArray[1] = new BoxLine("PA171", "Big Bite Mouth Piece", "6.83");
    LineArray[2] = new BoxLine("PA172", "Cleaning Brush Kit", "21.00");

    BuildSelection(BoxDefn, LineArray);
}

function DoPumpForm()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$PumpForm", "Select Option", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("PA291", "Uplift Pump without Switch", "29.34");
    LineArray[1] = new BoxLine("PA292", "Uplift Pump with Switch", "34.97");

    BuildSelection(BoxDefn, LineArray);
}
