if (GDNetMenuDown.isSupported()) { var ms = new GDNetMenuDownSet(GDNetMenuDown.direction.down, 0, 0, GDNetMenuDown.reference.bottomLeft); var menu1 = ms.addMenu(document.getElementById("menu1")); menu1.addItem("- Company Profile ", "aboutus.asp?id=7"); menu1.addItem("- Company Culture ", "aboutus.asp?id=9"); var menu3 = ms.addMenu(document.getElementById("menu3")); menu3.addItem("- Core Agent ", "Product.asp?SortID=1"); var menut1=menu3.addMenu(menu3.items[0]); menut1.addItem("- Incremental optical encoder ", "Product.asp?SortID=2"); var menut2=menut1.addMenu(menut1.items[0]); menut1.addItem("- Absolute optical encoder ", "Product.asp?SortID=4"); var menut4=menut1.addMenu(menut1.items[1]); menut1.addItem("- Customization of photoelectric encoder ", "Product.asp?SortID=24"); menut1.addItem("- Split type optical encoder ", "Product.asp?SortID=29"); var menut29=menut1.addMenu(menut1.items[3]); menu3.addItem("- Accessories series ", "Product.asp?SortID=10"); var menut10=menu3.addMenu(menu3.items[1]); menut10.addItem("- Coupling ", "Product.asp?SortID=16"); menu3.addItem("- Product reliability test ", "Product.asp?SortID=11"); menu3.addItem("- Product assembly case ", "Product.asp?SortID=18"); menu3.addItem("- Endoscopic high temperature ", "Product.asp?SortID=22"); menu3.addItem("- Speed switches ", "Product.asp?SortID=26"); var menu2 = ms.addMenu(document.getElementById("menu2")); menu2.addItem("- Company News ", "news.asp?sortid=1"); menu2.addItem("- Industrue News ", "news.asp?sortid=8"); var menu4 = ms.addMenu(document.getElementById("menu4")); menu4.addItem("- Technical Articles ", "support.asp?sortid=1"); menu4.addItem("- FAQ ", "support.asp?sortid=2"); menu4.addItem("- Download ", "download.asp"); var menu5= ms.addMenu(document.getElementById("menu5")); menu5.addItem("- Recruitment ", "job.asp"); menu5.addItem("- Employee Pictures ", "Employee.asp"); var menu6= ms.addMenu(document.getElementById("menu6")); menu6.addItem("- Company Address ", "contactus.asp"); menu6.addItem("- Company Map ", "map.asp"); GDNetMenuDown.renderAll(); }