// JavaScript Document
<!--
var tacSelectedProduct = "";

var tacItem = new Array();
tacItem[0]='0';
tacItem[1]='Bullet';
tacItem[2]='Magnum';
tacItem[3]='Matchless';
tacItem[4]='Scorpion I';
tacItem[5]='Scorpion II';
tacItem[6]='Scorpion II FB';
tacItem[7]='SR6000';
tacItem[8]='SR6500';
tacItem[9]='SR9000';
tacItem[10]='10/4/2';
tacItem[11]='16/8/2';

var store = new Array();

store[0] = new Array(
	'All types','0',
	'B1014','B1014',
	'B1018','B1018',
	'B1204','B1204',
	'B1208','B1208',
	'B2000','B2000',
	'B3000','B3000',
	'B4000','B4000',
	'B5001','B5001',
	'MG1001','MG1001',
	'MG1101','MG1101',
	'MG2001','MG2001',
	'MG3001','MG3001',
	'MG4001','MG4001',
	'MCDS1000','MCDS1000',
	'MCDS1100','MCDS1100',
	'MCDS2000','MCDS2000',
	'MCDS3000','MCDS3000',
	'MCDS4000','MCDS4000',
	'S1000','S1000',
	'S1001','S1001',
	'S1101','S1101',
	'S1201','S1201',
	'S2000','S2000',
	'S2001','S2001',
	'S3000','S3000',
	'S3100','S3100',
	'S3101','S3101',
	'S3201','S3201',
	'S3301','S3301',
	'S4000','S4000',
	'S4001','S4001',
	'Scorpion Faders','Scorpion Faders',
	'Scorpion Meters','Scorpion Meters',
	'SFB1001','SFB1001',
	'SFB2001','SFB2001',
	'SFB2101','SFB2101',
	'SFB3001','SFB3001',
	'R1000','R1000',
	'R2000','R2000',
	'R3000','R3000',
	'R4000','R4000',
	'F1000','F1000',
	'F2000','F2000',
        'F3000','F3000',
        'SR9101','SR9101',
        'SR9300','SR9300',
        'SR9400','SR9400',
        'SR9500','SR9500',
        'SR9000 Faders','SR9000 Faders',
        '10/4/2','10/4/2',
        '16/8/2','16/8/2'
	);

store[1] = new Array(
	'All types','0',
	'B1014','B1014',
	'B1018','B1018',
	'B1204','B1204',
	'B1208','B1208',
	'B2000','B2000',
	'B3000','B3000',
	'B4000','B4000',
	'B5001','B5001'
	);

store[2] = new Array(
	'All types','0',
	'MG1001','MG1001',
	'MG1101','MG1101',
	'MG2001','MG2001',
	'MG3001','MG3001',
	'MG4001','MG4001'
	);

store[3] = new Array(
	'All types','0',
	'MCDS1000','MCDS1000',
	'MCDS1100','MCDS1100',
	'MCDS2000','MCDS2000',
	'MCDS3000','MCDS3000',
	'MCDS4000','MCDS4000'
	);
	
store[4] = new Array(
	'All types','0',
	'S1000','S1000',
	'S2000','S2000',
	'S3000','S3000',
	'S3100','S3100',
	'S4000','S4000',
	'Scorpion Faders','Scorpion Faders',
	'Scorpion Meters','Scorpion Meters'
	);

store[5] = new Array(
	'All types','0',
	'S1001','S1001',
	'S1101','S1101',
	'S1201','S1201',
	'S2001','S2001',
	'S3101','S3101',
	'S3201','S3201',
	'S3301','S3301',
	'S4001','S4001',
	'Scorpion faders','Scorpion faders'
	);

store[6] = new Array(
	'All types','0',
	'SFB1001','SFB1001',
	'SFB2001','SFB2001',
	'SFB2101','SFB2101',
	'SFB3001','SFB3001',
	'Scorpion faders','Scorpion faders'
	);

store[7] = new Array(
	'All types','0',
	'R1000','R1000',
	'R2000','R2000',
	'R3000','R3000',
	'R4000','R4000'
	);

store[8] = new Array(
	'All types','0',
	'F1000','F1000',
	'F2000','F2000',
	'F3000','F3000'
	);

store[9] = new Array(
	'All types','0',
        'SR9101','SR9101',
        'SR9300','SR9300',
        'SR9400','SR9400',
        'SR9500','SR9500',
        'SR9000 Faders','SR9000 Faders'
	);

store[10] = new Array(
	'All types','0',
        '10/4/2','10/4/2'
	);

store[11] = new Array(
	'All types','0',
        '16/8/2','16/8/2'
	);



function optionTestIt()
{
	optionTest = true;
	lgth = document.forms[0].badge.options.length - 1;
	document.forms[0].badge.options[lgth] = null;
	if (document.forms[0].badge.options[lgth]) optionTest = false;
}

function populate()
{
	if (!optionTest) return;
	var box = document.forms[0].product;
	var number = box.options[box.selectedIndex].value;
	tacSelectedProduct = tacItem[box.options[box.selectedIndex].value];
	if (!number) return;
	var list = store[number];
	var box2 = document.forms[0].badge;
	box2.options.length = 0;
	for(i=0;i<list.length;i+=2)
	{
	box2.options[i/2] = new Option(list[i],list[i+1]);
	}
}

function go()
{
	if (!optionTest) return;
	box = document.forms[0].badge;
	destination = box.options[box.selectedIndex].value;
	if (destination && confirm('Do you really want to go to this site?')) top.location.href = destination;
}

function setProduct(){
var box = document.forms[0].productType;
box.value=tacSelectedProduct;
}
//-->
