// 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["A"] = new pObject("PDA Plug","",0.00,1.00,1,"");	
productData["B"] = new pObject("Bare ended PDA Lead and Connector","",0.00,1.00,1,"");
productData["C"] = new pObject("PDA lead c/w Converter","",0.00,1.00,1,"");
productData["D"] = new pObject("Garmin to Logger Lead","",0.00,1.00,1,"");
productData["E"] = new pObject("Compaq Combo Lead","",0.00,1.00,1,"");			
productData["F"] = new pObject("Ipaq Combo Lead","",0.00,1.00,1,"");	
productData["G"] = new pObject("Volkslogger Lead","",0.00,1.00,1,"");
productData["H"] = new pObject("Colibri Lead","",0.00,1.00,1,"");	
productData["J"] = new pObject("EW Model D Lead","",0.00,1.00,1,"");	
productData["K"] = new pObject("12 volt to 5 volt Converter","",0.00,1.00,1,"");
productData["L"] = new pObject("Garmin 4 Pin Round Plug","",0.00,1.00,1,"");
productData["M"] = new pObject("Ipaq to EW Adaptor","",0.00,1.00,1,"");
productData["N"] = new pObject("GPS Mouse","",0.00,1.00,1,"");
productData["O"] = new pObject("Ipaq 31xx to 38xx converter","",15.71,1.00,1,"");

		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoLoose_PLugs_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$Loose_PLugs_Form", "Select Product", 2);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
    LineArray[0] = new BoxLine("PDA115","Connector Ipaq 3100/3600/3700 ", "5.28");	
    LineArray[1] = new BoxLine("PDA215","Connector Ipaq 2200/3800/3900/5500 ", "5.35");	

    	
    BuildSelection(BoxDefn, LineArray);	
}	
		
function DoBare_Leads_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$Bare_Leads_Form", "Select Product", 2);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
    LineArray[0] = new BoxLine("PDA092"," Ipaq 3100/3600/3700 ", "18.95");
    LineArray[1] = new BoxLine("PDA022","Ipaq 2200/3800/3900/5500 ", "18.95");	

    BuildSelection(BoxDefn, LineArray);	
}	
		
function DoPDA_Data_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$PDA_Data_Form", "Select Product", 2);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
   	
   	LineArray[0] = new BoxLine("PDA091"," Ipaq 3100/3600/3700 ", "34.50");
	LineArray[1] = new BoxLine("PDA021","Ipaq22/38/39/55/21/24/47 ", "34.50");	
	

    BuildSelection(BoxDefn, LineArray);	
}	

function DoGPS_Data_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$GPS_Data_Form", "Select Product", 2);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
     	LineArray[0] = new BoxLine("PDA110"," Garmin 4 Pin to EW Model D ", "16.35");	
	LineArray[1] = new BoxLine("PDA112"," Garmin 4 Pin to Cambridge 302", "16.35");	
	

    BuildSelection(BoxDefn, LineArray);	
}	

function DoIpaq_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$Ipaq_Form", "Select Product", 14);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
     	LineArray[0] = new BoxLine("PDA127","EW to Garmin to Ipaq 3600", "52.53");
	LineArray[1] = new BoxLine("PDA128","EW to Garmin to Ipaq 3900", "52.53");
	LineArray[2] = new BoxLine("PDA183","EW to Garmin to Ipaq 3600 to LX160s", "57.68");
	LineArray[3] = new BoxLine("PDA184","EW to Garmin to Ipaq 3900 to Lx160s", "57.68");
    	LineArray[4] = new BoxLine("PDA133","Cambridge 302 to Garmin To Ipaq 3600", "52.53");
	LineArray[5] = new BoxLine("PDA134","Cambridge 302 to Garmin To Ipaq 3900", "52.53");	
	LineArray[6] = new BoxLine("PDA163R","Volkslogger (Round) to Ipaq 3600", "48.41");
	LineArray[7] = new BoxLine("PDA164R","Volkslogger (Round) to Ipaq 3900", "48.41");
	LineArray[8] = new BoxLine("PDA163F","Volkslogger (Flat) to Ipaq 3600", "48.41");
	LineArray[9] = new BoxLine("PDA164F","Volkslogger (Flat) to Ipaq 3900", "48.41");	
	LineArray[10] = new BoxLine("PDA153","Colibri to Ipaq 3600", "41.60");
	LineArray[11] = new BoxLine("PDA154","Colibri to Ipaq 3900", "39.90");
	LineArray[12] = new BoxLine("PDA143","Cambridge 302 to Ipaq 3600", "48.41");
	LineArray[13] = new BoxLine("PDA144","Cambridge 302 to Ipaq 3900", "48.41");


    BuildSelection(BoxDefn, LineArray);	
}

function DoVolkslogger_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$Volkslogger_Form", "Select Product", 6);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
	LineArray[0] = new BoxLine("PDA163F","Volkslogger (Flat) to Ipaq 3600", "48.41");
	LineArray[1] = new BoxLine("PDA164F","Volkslogger (Flat) to Ipaq 3900", "48.41");	
	LineArray[2] = new BoxLine("PDA070F","Volkslogger (Flat) Bare ended lead", "8.83");
	LineArray[3] = new BoxLine("PDA163R","Volkslogger (Round) to Ipaq 3600", "48.41");
	LineArray[4] = new BoxLine("PDA164R","Volkslogger (Round) to Ipaq 3900", "48.41");	
	LineArray[5] = new BoxLine("PDA070R","Volkslogger (Round) Bare ended lead", "8.83");

    BuildSelection(BoxDefn, LineArray);	
}

function DoColibri_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$Colibri_Form", "Select Product", 3);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
	LineArray[0] = new BoxLine("PDA153","Colibri to Ipaq 3600", "41.60");
	LineArray[1] = new BoxLine("PDA154","Colibri to Ipaq 3900", "39.90");
	LineArray[2] = new BoxLine("PDA080","Colibri Bare ended lead", "8.90");

    BuildSelection(BoxDefn, LineArray);	
}

function DoEW_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$EW_Form", "Select Product", 6);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
	LineArray[0] = new BoxLine("PDA127","EW Model D to Garmin to Ipaq 3600", "52.53");
	LineArray[1] = new BoxLine("PDA128","EW Model D to Garmin to Ipaq 3900", "52.53");
	LineArray[2] = new BoxLine("PDA127","EW Micro Recorder to Ipaq 3600", "52.53");
	LineArray[3] = new BoxLine("PDA128","EW Micro Recorder to Ipaq 3900", "52.53");
	LineArray[4] = new BoxLine("PDA110"," Garmin 4 Pin to EW Model D ", "16.35");	
	LineArray[5] = new BoxLine("PDA050"," Bare ended EW Model D Lead", "14.73");	

    BuildSelection(BoxDefn, LineArray);	
}

function DoGarmin_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$Garmin_Form", "Select Product", 2);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
      LineArray[0] = new BoxLine("PDA101","Garmin 4 Pin Plug Round on lead", "15.50");
	LineArray[1] = new BoxLine("PDA102","Garmin 4 Pin Plug Round loose", "5.18");
	
    BuildSelection(BoxDefn, LineArray);	
}

function DoAdaptor_Leads_Form()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$Adaptor_Leads_Form", "Select Product", 4);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
    LineArray[0] = new BoxLine("PDA329A"," Ipaq 3100/3600/3700 ", "39.75");
    LineArray[1] = new BoxLine("PDA328A","Ipaq 2200/3800/3900/5500 ", "41.25");	
    LineArray[2] = new BoxLine("PDA329D"," Ipaq 3100/3600/3700 ", "39.75");
    LineArray[3] = new BoxLine("PDA328D","Ipaq 2200/3800/3900/5500 ", "38.30");	


    BuildSelection(BoxDefn, LineArray);	
}	

function DoAdaptor3100leadForm()	
{	
//Selection Box Description	
// Name, Initial Text, Number of lines in box	
    BoxDefn = new BoxDefnition("$Adaptor3100leadForm", "Select Product", 1);	
    LineArray = new Array(BoxDefn.length);	
	
// Text & Price Information for Each line in the box	
    LineArray[0] = new BoxLine("PDA601"," Ipaq 31xx to 38xx Lead ", "14.28");	

    BuildSelection(BoxDefn, LineArray);	
}