dataArraySelect = new Array(); var dnum=0; dataArraySelect[dnum++] = new Array("電子連接器","1","series"); dataArraySelect[dnum++] = new Array("記憶卡連接器","2","series"); dataArraySelect[dnum++] = new Array("市塲應用","31","series"); dataArraySelect[dnum++] = new Array("SD Series Connector","55","series2"); dataArraySelect[dnum++] = new Array("MS Series Connector","56","series2"); dataArraySelect[dnum++] = new Array("XD Series Connector","57","series2"); dataArraySelect[dnum++] = new Array("CF Series Connector","61","series2"); dataArraySelect[dnum++] = new Array("Combo Card Connector","58","series2"); dataArraySelect[dnum++] = new Array("SIM Card Connector","59","series2"); dataArraySelect[dnum++] = new Array("USB 3.0","60","series2"); dataArraySelect[dnum++] = new Array("Others","85","series2"); dataArraySelect[dnum++] = new Array("1.0 Pitch","62","series1"); dataArraySelect[dnum++] = new Array("1.25 Pitch","63","series1"); dataArraySelect[dnum++] = new Array("1.27 Pitch","64","series1"); dataArraySelect[dnum++] = new Array("1.5 Pitch","65","series1"); dataArraySelect[dnum++] = new Array("1.58 Pitch","66","series1"); dataArraySelect[dnum++] = new Array("2.0 Pitch","67","series1"); dataArraySelect[dnum++] = new Array("2.5 Pitch","68","series1"); dataArraySelect[dnum++] = new Array("2.54 Pitch","69","series1"); dataArraySelect[dnum++] = new Array("3.0 Pitch","70","series1"); dataArraySelect[dnum++] = new Array("3.5 Pitch","71","series1"); dataArraySelect[dnum++] = new Array("3.81 Pitch","72","series1"); dataArraySelect[dnum++] = new Array("3.96 Pitch","73","series1"); dataArraySelect[dnum++] = new Array("4.2 Pitch","74","series1"); dataArraySelect[dnum++] = new Array("4.5 Pitch","75","series1"); dataArraySelect[dnum++] = new Array("5.0 Pitch","76","series1"); dataArraySelect[dnum++] = new Array("5.03 Pitch","77","series1"); dataArraySelect[dnum++] = new Array("5.08 Pitch","78","series1"); dataArraySelect[dnum++] = new Array("6.2 Pitch","79","series1"); dataArraySelect[dnum++] = new Array("8.0 Pitch","82","series1"); dataArraySelect[dnum++] = new Array("6.35 pitch","83","series1"); dataArraySelect[dnum++] = new Array("Others","84","series1"); dataArraySelect[dnum++] = new Array("MP3","1","apply"); dataArraySelect[dnum++] = new Array("MP4","2","apply"); dataArraySelect[dnum++] = new Array("筆記電腦","3","apply"); dataArraySelect[dnum++] = new Array("床頭音響","4","apply"); dataArraySelect[dnum++] = new Array("電腦遊戲機","5","apply"); dataArraySelect[dnum++] = new Array("電視遊戲機","6","apply"); dataArraySelect[dnum++] = new Array("讀卡機","7","apply"); dataArraySelect[dnum++] = new Array("光碟播放機","8","apply"); dataArraySelect[dnum++] = new Array("平板電腦","9","apply"); dataArraySelect[dnum++] = new Array("數碼複印機","10","apply"); dataArraySelect[dnum++] = new Array("數位相機","11","apply"); dataArraySelect[dnum++] = new Array("數位攝影機","12","apply"); dataArraySelect[dnum++] = new Array("數位投影機","13","apply"); dataArraySelect[dnum++] = new Array("衛星導航機","14","apply"); dataArraySelect[dnum++] = new Array("相片播放機","15","apply"); dataArraySelect[dnum++] = new Array("液晶電視","16","apply"); dataArraySelect[dnum++] = new Array("印刷機","17","apply"); dataArraySelect[dnum++] = new Array("影碟機","18","apply"); dataArraySelect[dnum++] = new Array("掌上電腦","19","apply"); dataArraySelect[dnum++] = new Array("掌上電視","20","apply"); dataArraySelect[dnum++] = new Array("掌上游戏机","21","apply"); dataArraySelect[dnum++] = new Array("智慧型手機","22","apply"); dataArraySelect[dnum++] = new Array("桌上電腦","23","apply"); function select1Change(select1ID) { document.forms1.type.length = 0; var j=0; document.forms1.type.style.display=''; document.forms1.mtype.style.display='none'; for (var i=0;i < dnum; i++) { if (dataArraySelect[i][2] == select1ID) { j++; document.forms1.type.options[document.forms1.type.length]= new Option(dataArraySelect[i][0], dataArraySelect[i][1]); } } if(j==0){document.forms1.type.style.display='none';} } function select2Change(select1ID) { document.forms1.mtype.length = 0; var j=0; document.forms1.mtype.style.display=''; for (var i=0;i < dnum; i++) { if (dataArraySelect[i][2] == select1ID) { j++; document.forms1.mtype.options[document.forms1.mtype.length]= new Option(dataArraySelect[i][0], dataArraySelect[i][1]); } } if(j==0){document.forms1.mtype.style.display='none';} }