// 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("ATR500 Radio","",0.00,1.00,1,"");
		productData["B"] = new pObject("ATR833 Radio ","",0.00,1.00,1,"");
		productData["C"] = new pObject("AR4201 Radio","",0.00,1.00,1,"");
		productData["D"] = new pObject("Microair 760 Radio ","",0.00,1.00,1,"");
		productData["U"] = new pObject("Loudspeakers","",0.00,1.00,1,"");
		productData["T"] = new pObject("Microphones","",0.00,1.00,1,"");
		productData["S"] = new pObject("PTT Switch with 1m Lead","RC170",8.14,1.00,1,"");
		productData["R"] = new pObject("PTT Switch Gold Plated Contacts","RC180",4.54,1.00,1,"");
		productData["Q"] = new pObject("PTT Switch Low Cost","RC190",2.20,1.00,1,"");

		
		// ...Data from Magic XL Spreadsheet
		
		ArrayDone = true;
	};
}

// Descriptions & Data for Drop-Down Selection Boxes
// Also From XL Spreadsheet
function DoATR500_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$ATR500_Form", "Select Model", 3);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("RA101"," ATR500 Panel Mounted VHF Radio", "804.56");
	LineArray[1] = new BoxLine("RA102"," Pre made wiring loom for ATR500", "48.20");
	LineArray[2] = new BoxLine("RA103"," Boom Mike/Loudspeaker/PTT Switch Kit", "52.06");

	BuildSelection(BoxDefn, LineArray);
}

function DoATR600_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$ATR600_Form", "Select Model", 4);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("RA021"," ATR833 Panel Mounted VHF Radio", "1489.18");
	LineArray[1] = new BoxLine("RA022"," Rear Seat Control For ATR833", "250.00");
	LineArray[2] = new BoxLine("RA023"," Pre made wiring loom for ATR800", "48.20");
	LineArray[3] = new BoxLine("RA024"," Boom Mike/Loudspeaker/PTT Switch Kit", "52.06");
	
	BuildSelection(BoxDefn, LineArray);
}

function DoAR4201_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$AR4201_Form", "Select Model", 3);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("RA031"," AR4201 Panel Mounted VHF Radio", "889.00");
	LineArray[1] = new BoxLine("RA032"," Pre made wiring loom for AR4201", "48.13");
	LineArray[2] = new BoxLine("RA024"," Boom Mike/Loudspeaker/PTT Switch Kit", "52.06");
	
	BuildSelection(BoxDefn, LineArray);
}

function DoMicroair_Form()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Microair_Form", "Select Model", 2);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("RA052"," Pre made wiring loom for Microair 760", "48.13");
	LineArray[1] = new BoxLine("RA024"," Boom Mike/Loudspeaker/PTT Switch Kit", "52.06");
	LineArray[2] = new BoxLine("RA051"," Microair 760 Panel Mounted VHF Radio", "549.00");

	BuildSelection(BoxDefn, LineArray);
}


function DoMicrophone_Type()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Microphone_Type", "Select Microphone", 2);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("RC161", "Boom Mike Dynamic", "28.04");
	LineArray[1] = new BoxLine("RC162", "Boom Mike Elect", "41.11");
				
	BuildSelection(BoxDefn, LineArray);
}
function DoSpeaker_Type()
{
	//Selection Box Description
	// Name, Initial Text, Number of lines in box
	BoxDefn = new BoxDefnition("$Speaker_Type", "Select Speaker", 2);
	LineArray = new Array(BoxDefn.length);
	
	// Text & Price Information for Each line in the box
	LineArray[0] = new BoxLine("RC201", "2.5 W 8ohm Open 50mm Dia", "2.81");
	LineArray[1] = new BoxLine("RC203", "5W 8ohm Enclosed Speaker", "7.44");

	BuildSelection(BoxDefn, LineArray);
}

