mm1 = new Array("-  select one -","GPS Products","Bluetooth Products");
mm2 = new Array();
mm2[1] = new Array("* GPS eXtreme Recorder","- BT-Q1000eX","*GPS Sports Recorder","- SR-Q2100","- BT-Q2000","- BT-Q1300S","*GPS Travel Recorder","- BT-Q1000X","- BT-Q1000XT","- BTQ1300 nano","- BT-Q1200 Ultra","- BT-Q1000 Platinum","*Bluetooth GPS Receiver","- BT-Q818X","- BTQ818 eXtreme","- BT-Q818","- BT-Q816X","- BT-Q816","*GPS Mouse Receiver","- GM-Q782");
mm2[2] = new Array("*Bluetooth Stereo Headset","- BH-Q600S","- BH-Q395S","*Bluetooth Mono Headset","- BH-Q365","*Bluetooth Car Kit","*Bluetooth Remote Controller","- RC-Q201","- RC-Q202","- RC-Q203","*Bluetooth USB Adaptor","- BD-Q371","- BD-Q372","- BD-Q381","- BD-Q382");
function removeOption(obj)
{
	var x=document.getElementById(obj);
	var optionCount=x.options.length; 
	for(var i=0; i < optionCount;i++)
	{
		x.remove(0);
	}
}
function insertOption(v,t,obj,i)
{
	var y=document.createElement('option');
	y.text=t;
	y.value = v;
	if(t==i)
	{
	y.selected =i;
	}
	var x=document.getElementById(obj);
	try
	{
		x.add(y,null);
	}
	catch(ex)
	{
		 x.add(y);
	}
}
function loadmm1(obj,j)
{
	var l = mm1.length;
	for(var i= 0; i < l; i++)
	{
		insertOption(i,mm1[i],obj,j);
	}
}