// 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["A"] = new pObject("Screen Protector","IA010",0.00,1.00,1,"");
productData["B"] = new pObject("Ipaq Styli","IA020",4.10,1.00,1,"");
productData["C"] = new pObject("Ipaq Car Cables","IA030",7.09,1.00,1,"");
productData["D"] = new pObject("Hp Ipaq Cable","DLC070",0.00,1.00,1,"");
productData["E"] = new pObject("Ipaq 31xx to 38xx converter","PDA601",15.71,1.00,1,"");

		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet



function DoProtectorForm()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$ProtectorForm", "Select Model", 8);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box	
      LineArray[0] = new BoxLine("IA011","Ipaq 31/36/3700 ", "6.42");
	LineArray[1] = new BoxLine("IA012"," Ipaq 2200 ", "6.42");	
	LineArray[2] = new BoxLine("IA013"," Ipaq 38/3900 ", "6.42");
	LineArray[3] = new BoxLine("IA014","Ipaq HX2400", "6.42");	
	LineArray[4] = new BoxLine("IA015","Ipaq RX3700", "6.42");
	LineArray[5] = new BoxLine("IA016","Ipaq HX2700", "6.42");
	LineArray[6] = new BoxLine("IA017","Ipaq HX4700", "6.42");
	LineArray[7] = new BoxLine("IA018","Ipaq 54/5500", "6.42");



    BuildSelection(BoxDefn, LineArray);
}


function DoIpaqForm()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$IpaqForm", "Select Cable", 3);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box	
      LineArray[0] = new BoxLine("DLC071","Ipaq 22/38/39/5400 & newer Serial Cable ", "10.39");
      LineArray[1] = new BoxLine("DLC072","Ipaq 31/36/3700 Serial Cable ", "23.80");
      LineArray[2] = new BoxLine("DLC073","Ipaq 22/38/39/5400 & newer USB Cable ", "10.39");


    BuildSelection(BoxDefn, LineArray);
}


