var onecount; onecount=0; subcat = new Array(); subcat[0] = new Array("OSC","5","9") subcat[1] = new Array("TCXO","5","10") subcat[2] = new Array("VCXO","5","11") subcat[3] = new Array("TCVCXO","5","12") subcat[4] = new Array("Front End for Automotive Electronics","1","13") subcat[5] = new Array("SAW Filters for Satellite Receiver","1","14") subcat[6] = new Array("SMD","4","15") subcat[7] = new Array("resonator","9","16") subcat[8] = new Array("one port","3","17") subcat[9] = new Array("two port","3","18") subcat[10] = new Array("MCF","6","19") subcat[11] = new Array("resonator holder","11","20") subcat[12] = new Array("Oscillator case","11","21") subcat[13] = new Array("DIP","4","22") subcat[14] = new Array("CATV Channel Filters for PAL System","1","23") subcat[15] = new Array("RF Filters for Cellular Phone","1","24") subcat[16] = new Array("RF Filters for Cordless Phone (ISM Band)","1","25") subcat[17] = new Array("Duplexers for Cordless Phone","1","26") subcat[18] = new Array("SAW Filters for FRS","1","27") subcat[19] = new Array("RF Filters for GPS","1","28") subcat[20] = new Array("IF Filters for Wireless LAN","1","29") subcat[21] = new Array("SAW Filters for Pager Application","1","30") subcat[22] = new Array("IF Filters for Communication Equipment","1","31") subcat[23] = new Array("IF Filters for Intercarrier Applications","1","32") subcat[24] = new Array("IF Filters for Video Applications","1","33") subcat[25] = new Array("IF Filters for Audio Applications","1","34") subcat[26] = new Array("Bandpass Filters for Digital Cable Applications","1","35") subcat[27] = new Array("Bandpass Filters for Digital Terrestrial TV Applications","1","36") subcat[28] = new Array("Bandpass Filters for Digital Audio Applications","1","37") subcat[29] = new Array("Bandpass Filters for Dual Conversion Turners","1","38") subcat[30] = new Array("SAW Resonators for RF Modulator","3","39") subcat[31] = new Array("SAW Resonators for CATV Modulator","3","40") subcat[32] = new Array("SAW Resonators for FM Broadcasting","3","41") subcat[33] = new Array("filter","9","42") subcat[34] = new Array("OCXO","5","43") subcat[35] = new Array("SMD Type","12","45") subcat[36] = new Array("Can type","12","46") subcat[37] = new Array("Plastic type","12","47") subcat[38] = new Array("discriminator","9","48") subcat[39] = new Array("LT","6","50") subcat[40] = new Array("resonator shell","11","51") subcat[41] = new Array("filter holder","11","52") subcat[42] = new Array("SAW holder","11","54") subcat[43] = new Array("Oscillator holder","11","55") subcat[44] = new Array("SMD ceramic PKG","9","56") onecount = 45; function ChangeLocation(locationid) { document.form1.sid.length = 0; var locationid=locationid; var i; for (i=0;i < onecount; i++) { if (subcat[i][1] == locationid) { document.form1.sid.options[document.form1.sid.length] = new Option(subcat[i][0], subcat[i][2]); } } } function viewmypic(mypic,file) { if (file.value) { mypic.src=file.value; mypic.style.display=""; mypic.border=1; } } function checkdata() { if (document.form1.Pdt_Name.value=="") { alert("产品名称不能为空!"); document.form1.Pdt_Name.focus(); return false; } if (document.form1.bid.value=="") { alert("请选择大类!"); document.form1.bid.focus(); return false; } if (document.form1.sid.value=="") { alert("请选择小类!"); document.form1.sid.focus(); return false; } } function showsubmenu(sid) { whichEl = eval("menu" + sid); if (whichEl.style.display == "none") { eval("menu" + sid + ".style.display=\"\";"); } else { eval("menu" + sid + ".style.display=\"none\";"); } }