// 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("RAM Mount Ball System","RM010",0.00,1.00,1,"");
productData["B"] = new pObject("RAM Mount Flexible System","RM020",0.00,1.00,1,"");
productData["C"] = new pObject("RAM GPS Mount","RM030",0.00,1.00,1,"");
productData["D"] = new pObject("RAM PDA Mount","RM040",0.00,1.00,1,"");
productData["E"] = new pObject("RAM Suction Mount","RM050",8.52,1.00,1,"");

		// ...Data from Magic XL Spreadsheet

		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Cut & Paste From XL Spreadsheet
function DoRAMBALL_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$RAMBALL_Form", "Select Parts", 5);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("RM011 ", "Diamond Base Ball", "8.00");
    LineArray[1] = new BoxLine("RM015 ", "Threaded Ball", "11.05");  
    LineArray[2] = new BoxLine("RM012 ", "Support Arm 75 mm", "10.37");
    LineArray[3] = new BoxLine("RM013 ", "Support Arm 45 mm", "13.00");
    LineArray[4] = new BoxLine("RM014 ", "Support Arm 130 mm", "16.25");

    BuildSelection(BoxDefn, LineArray);

}

function DoFlexArm_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$FlexArm_Form", "Select Arm Length", 1);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("RM021", "Flexible Arm 150 mm", "8.90");

    BuildSelection(BoxDefn, LineArray);
}

function DoGPSMount_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$GPSMount_Form", "Select GPS Mount", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("RM031", " Garmin 12 Mount", "13.16");
    LineArray[1] = new BoxLine("RM033", " Garmin Pilot II/III Mount", "11.66");

    BuildSelection(BoxDefn, LineArray);
}

function DoPDAMount_Form()
{
//Selection Box Description
// Name, Initial Text, Number of lines in box
    BoxDefn = new BoxDefnition("$PDAMount_Form", "Select PDA Mount", 2);
    LineArray = new Array(BoxDefn.length);

// Text & Price Information for Each line in the box
    LineArray[0] = new BoxLine("RM041", " Ipaq 2200 Series Mount", "9.71");
    LineArray[1] = new BoxLine("RM042", " Ipaq 3800 Series Mount", "16.25");

    BuildSelection(BoxDefn, LineArray);
}
