if (mtDropDown.isSupported()) { var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft); var menu1 = ms.addMenu(document.getElementById("mainmenu1")); menu1.addItem("新闻动态", "?action=news|admin|360|cn|416|75","_blank"); menu1.addItem("招聘", "?action=text|admin|360|cn|568|75","_blank"); var menu4 = ms.addMenu(document.getElementById("mainmenu4")); menu4.addItem("百度竞价排名", "?action=text|admin|360|cn|402|5","_blank"); menu4.addItem("GOOGLE搜索引擎", "?action=text|admin|360|cn|403|5","_blank"); menu4.addItem("搜狐搜索引擎", "?action=text|admin|360|cn|404|5","_blank"); menu4.addItem("3721网络实名", "?action=text|admin|360|cn|406|5","_blank"); menu4.addItem("网易网站推广", "?action=text|admin|360|cn|407|5","_blank"); var menu5 = ms.addMenu(document.getElementById("mainmenu5")); menu5.addItem("域名问答", "?action=news|admin|360|cn|408|12","_blank"); menu5.addItem("网站建设", "?action=news|admin|360|cn|409|12","_blank"); menu5.addItem("企业邮局", "?action=news|admin|360|cn|410|12","_blank"); menu5.addItem("网站推广", "?action=news|admin|360|cn|411|12","_blank"); menu5.addItem("虚拟主机", "?action=news|admin|360|cn|412|12","_blank"); menu5.addItem("设计知识", "?action=news|admin|360|cn|413|12","_blank"); menu5.addItem("搜索引擎优化", "?action=news|admin|360|cn|414|12","_blank"); menu5.addItem("其它常见问题", "?action=news|admin|360|cn|415|12","_blank"); mtDropDown.renderAll(); } //初始菜单 window.onload = init;