// this script contains the specific data for the product(s) sold on this page

// prices updated 29-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("Ram Mount","RM022",18.00,1.00,1,"");
productData["D"] = new pObject("Ipaq Cables","PDA",0.00,1.00,1,"");
productData["H"] = new pObject("Self Connect Mount","",0.00,1.00,1,"");
productData["J"] = new pObject("Passive PDA Mount","",0.00,1.00,1,"");

		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoCablesForm()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$CablesForm", "Select Cable", 6);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box	
      LineArray[0] = new BoxLine("PDA092","Bare ended Lead Ipaq 3100/3600/3700 ", "18.95");
	LineArray[1] = new BoxLine("PDA022","Bare ended Lead Ipaq 2200/3800/3900/5500 ", "17.85");	
	LineArray[2] = new BoxLine("PDA091"," Ipaq 3100/3600/3700 Lead C/w Converter ", "34.50");
	LineArray[3] = new BoxLine("PDA021","Ipaq2200/3800/3900/5500 Lead C/w Converter ", "34.50");	
	LineArray[4] = new BoxLine("PDA080","Colibri/LX20  1.5m Bare ended lead", "8.90");
	LineArray[5] = new BoxLine("PDA080","Colibri/LX20  3m Double ended lead", "9.69");


    BuildSelection(BoxDefn, LineArray);
}


function DoSCMountForm()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$SCMountForm", "Select Model and Type", 9);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box	
	LineArray[0] = new BoxLine("IP052C","Ipaq 22XX Model C basic mount", "55.87");	
	LineArray[1] = new BoxLine("IP058C","Ipaq 38/39/54XX Model C basic mount", "55.87");
	LineArray[2] = new BoxLine("IP057C","Ipaq RX17XX Model C basic mount", "55.87");	
	LineArray[3] = new BoxLine("IP053C","Ipaq RX37XX Model C basic mount", "55.87");	
	LineArray[4] = new BoxLine("IP055C","Ipaq HX21/24/27XX Model C basic mount", "55.87");	
	LineArray[5] = new BoxLine("IP054C","Ipaq HX47XX Model C basic mount", "55.87");	
	LineArray[6] = new BoxLine("IP056C","Ipaq HX63XX Model C basic mount", "55.87");	
	LineArray[7] = new BoxLine("IP051","Flexible 150 mm arm for S/C Mount", "8.90");	
	LineArray[8] = new BoxLine("IP300","Heavy duty 150 mm flexible arm for S/C Mount", "16.98");	


    BuildSelection(BoxDefn, LineArray);
}


function DoPassiveMountForm()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$PassiveMountForm", "Select Model and Type", 12);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box	
	LineArray[0] = new BoxLine("IP162A","Ipaq 22XX Model A basic mount", "21.06");
	LineArray[1] = new BoxLine("IP169A","Ipaq 36/37XX Model A basic mount", "21.06");	
	LineArray[2] = new BoxLine("IP168A","Ipaq 38/39/54/55XX Model A basic mount", "21.06");	
	LineArray[3] = new BoxLine("IP167A","Ipaq RX17XX Model A basic mount", "21.06");
	LineArray[4] = new BoxLine("IP163A","Ipaq RX37XX Model A basic mount", "21.06");	
	LineArray[5] = new BoxLine("IP165A","Ipaq HX21/24/27XX Model A basic mount", "21.06");
	LineArray[6] = new BoxLine("IP164A","Ipaq HX47XX  Model A basic mount", "21.06");	
	LineArray[7] = new BoxLine("IP166A","Ipaq HX63XX  Model A basic mount", "21.06");	
	LineArray[8] = new BoxLine("IP170A","Dell Axim X3/X30 Model A basic mount", "21.06");
	LineArray[9] = new BoxLine("IP171A","Dell Axim X5 (normal battery only) Model A basic mount", "21.06");	
	LineArray[10] = new BoxLine("IP172A","O2 XDAII  Model A basic mount", "21.06");	
	LineArray[11] = new BoxLine("IP051","Flexible 150 mm arm for S/C Mount", "8.90");	


    BuildSelection(BoxDefn, LineArray);
}


