// JavaScript Document
<!--
var amekSelectedProduct = "";

var amekItem = new Array();
amekItem[0]='0';
amekItem[1]='Einstein';
amekItem[2]='Hendrix';
amekItem[3]='BC3 (BCIII)';
amekItem[4]='BC2 (BCII)';
amekItem[5]='Mozart';
amekItem[6]='Angela';
amekItem[7]='M2500';
amekItem[8]='G2520';
amekItem[9]='Classic';

var store = new Array();

store[0] = new Array(
	'All types','0',
        'A10','A10',
        'A20 / A21','A20 / A21',
        'A30','A30',
        'BC1115','BC1115',
        'BC1115/4','BC1115/4',
        'BC1116','BC1116',
        'BC1116/4','BC1116/4',
        'BC1118','BC1118',
        'BC1118/4','BC1118/4',
        'BC1119','BC1119',
        'BC1119/4','BC1119/4',
        'BC1125','BC1125',
        'BC1125/4','BC1125/4',
        'BC1126','BC1126',
        'BC1126/4','BC1126/4',
        'BC1135','BC1135',
        'BC1135/4','BC1135/4',
        'BC1136','BC1136',
        'BC1136/4','BC1136/4',
        'BC1137','BC1137',
        'BC1137/4','BC1137/4',
        'BC1145','BC1145',
        'BC1146','BC1146',
        'BC1155','BC1155',
        'BC1156','BC1156',
	'BC314','BC314',
	'BC315','BC315',
	'BC317','BC317',
	'BC318','BC318',
	'BC324','BC324',
	'BC325','BC325',
	'BC326','BC326',
	'BC328','BC328',
	'BC329','BC329',
	'BC338','BC338',
	'BC339','BC339',
	'BC346','BC346',
	'BC348','BC348',
	'BC358','BC358',
	'BC385','BC385',
	'BC388','BC388',
        'CC115','CC115',
        'CC115/4','CC115/4',
        'CC115/S','CC115/S',
        'CC117/S','CC117/S',
        'CC118','CC118',
        'CC118/4','CC118/4',
        'CC125','CC125',
        'CC125/S','CC125/S',
        'CC126','CC126',
        'CC146','CC146',
        'CC147','CC147',
        'CC158','CC158',
        'CC159','CC159',
        'BC1155','BC1155',
        'BC1156','BC1156',
	'E10','E10',
	'E30','E30',
	'E40','E40',
        'G10','G10',
        'G11','G11',
        'G20','G20',
        'G30','G30',
	'HX10','HX10',
	'HX11','HX11',
	'HX30','HX30',
        'HX31/32','HX31/32',
        'M2500A','M2500A',
        'M2500S','M2500S',
        'M2500B','M2500B',
        'M2500C','M2500C',
        'M2500D','M2500D',
        'MZ10','MZ10',
        'MZ11','MZ11',
        'MZ12','MZ12',
        'MZ15-RN','MZ15-RN',
        'MZ20','MZ20',
        'MZ30','MZ30',
        'MZ41','MZ41',
        'MZ42','MZ42',
        'MZ50','MZ50',
        'MZ77','MZ77',
        'Mozart Faders','Mozart Faders'
	);

store[1] = new Array(
	'All types','0',
	'E10','E10',
	'E30','E30',
	'E40','E40'
	);

store[2] = new Array(
	'All types','0',
	'HX10','HX10',
	'HX11','HX11',
	'HX30','HX30',
	'HX31/32','HX31/32'
	);

store[3] = new Array(
	'All types','0',
	'BC314','BC314',
	'BC315','BC315',
	'BC317','BC317',
	'BC318','BC318',
	'BC324','BC324',
	'BC325','BC325',
	'BC326','BC326',
	'BC328','BC328',
	'BC329','BC329',
	'BC338','BC338',
	'BC339','BC339',
	'BC346','BC346',
	'BC348','BC348',
	'BC358','BC358',
	'BC385','BC385',
	'BC388','BC388'
	);

store[4] = new Array(
	'All types','0',
        'BC1115','BC1115',
        'BC1115/4','BC1115/4',
        'BC1116','BC1116',
        'BC1116/4','BC1116/4',
        'BC1118','BC1118',
        'BC1118/4','BC1118/4',
        'BC1119','BC1119',
        'BC1119/4','BC1119/4',
        'BC1125','BC1125',
        'BC1125/4','BC1125/4',
        'BC1126','BC1126',
        'BC1126/4','BC1126/4',
        'BC1135','BC1135',
        'BC1135/4','BC1135/4',
        'BC1136','BC1136',
        'BC1136/4','BC1136/4',
        'BC1137','BC1137',
        'BC1137/4','BC1137/4',
        'BC1145','BC1145',
        'BC1146','BC1146',
        'BC1155','BC1155',
        'BC1156','BC1156'
	);


store[5] = new Array(
	'All types','0',
        'MZ10','MZ10',
        'MZ11','MZ11',
        'MZ12','MZ12',
        'MZ15-RN','MZ15-RN',
        'MZ20','MZ20',
        'MZ30','MZ30',
        'MZ41','MZ41',
        'MZ42','MZ42',
        'MZ50','MZ50',
        'MZ77','MZ77',
        'Mozart Faders','Mozart Faders'
	);

store[6] = new Array(
	'All types','0',
        'A10','A10',
        'A20 / A21','A20 / A21',
        'A30','A30'
	);

store[7] = new Array(
	'All types','0',
        'M2500A','M2500A',
        'M2500S','M2500S',
        'M2500B','M2500B',
        'M2500C','M2500C',
        'M2500D','M2500D'
	);

store[8] = new Array(
	'All types','0',
        'G10','G10',
        'G11','G11',
        'G20','G20',
        'G30','G30'
	);

store[9] = new Array(
	'All types','0',
        'CC115','CC115',
        'CC115/4','CC115/4',
        'CC115/S','CC115/S',
        'CC117/S','CC117/S',
        'CC118','CC118',
        'CC118/4','CC118/4',
        'CC125','CC125',
        'CC125/S','CC125/S',
        'CC126','CC126',
        'CC146','CC146',
        'CC147','CC147',
        'CC158','CC158',
        'CC159','CC159',
        'BC1155','BC1155',
        'BC1156','BC1156'
	);



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;
	amekSelectedProduct = amekItem[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=amekSelectedProduct;
}
//-->
