/**
* 菜单栏：横排的菜单栏
* 菜单名称、菜单文本
*/
 var mnuMain = new menu("mnuMain"); 
 mnuMain.bar[0] = ["ContentManage", "文件(F)"];
 mnuMain.bar[1] = ["TgManage", "浏览量管理(D)"];
 mnuMain.bar[2] = ["ControlPanel", "控制面板(C)"];
 mnuMain.bar[3] = ["SystemMenage", "系统管理(S)"];
 mnuMain.bar[4] = ["usermanage", "用户管理(U)"];
 mnuMain.bar[5] = ["personcenter", "个人中心(I)"];
 mnuMain.bar[6] = ["runTimeMenu", "插件(P)"];
 mnuMain.bar[7] = ["ChuangKou", "窗口(W)"];
 mnuMain.bar[8] = ["HelpInfo", "帮助(H)"];
 createMainMenu(mnuMain);

/**
* 一级菜单：基本信息
* 菜单文本、链接、子菜单名称
*/
var ContentManage = new menu("ContentManage"); 
ContentManage.bar[0] = ["打开(O)", "/Admin/OpenFile.Asp", ""];
ContentManage.bar[1] = ["保存(S)", "javascript:300:300:PreservationFile", ""];
ContentManage.bar[2] = ["关闭(C)", "/Admin/Base.Asp", ""];
ContentManage.bar[3] = ["新建(N)", "/Admin/NewlyFile.Asp", ""];
ContentManage.bar[4] = ["-", "", ""];
ContentManage.bar[5] = ["导入(I)", "javascript:300:300:../Admin/JoinFile.Asp",""];
ContentManage.bar[6] = ["另存为(A)", "javascript:300:300:SavesFile", ""];
ContentManage.bar[7] = ["退出(X)", "javascript:300:0:AboutJFCms",""];
createMenu(ContentManage);


var ControlPanel = new menu("ControlPanel"); 
ControlPanel.bar[0] = ["首页管理(H)", "/Web-Management/Index-Magnagement.Asp", ""];
ControlPanel.bar[1] = ["栏目管理(C)", "../Admin/CoteEye.Asp", ""];
ControlPanel.bar[2] = ["增加栏目(A)", "javascript:800:600:../Admin/CoteEye-Add.Asp", ""];
ControlPanel.bar[3] = ["模板管理(T)", "/Web-Management/Template.Asp", ""];
ControlPanel.bar[4] = ["模板添加(TA)", "/Web-Management/Template-Add.Asp", ""];
ControlPanel.bar[5] = ["-", "", ""];
ControlPanel.bar[6] = ["自定义文件(O)", "/Admin/User-Defined-File.Asp",""];
ControlPanel.bar[7] = ["-", "", ""];
ControlPanel.bar[8] = ["文件管理(F)", "/Admin/File-Management.Asp", ""];
ControlPanel.bar[9] = ["文件夹管理(D)", "/Admin/Folder-Management.Asp",""];
createMenu(ControlPanel);


var SystemMenage = new menu("SystemMenage"); 
SystemMenage.bar[0] = ["参数设置(P)", "/Admin/Web_Info_Up.Asp", ""];
SystemMenage.bar[1] = ["计划任务(D)", "/Admin/TaskPlan.Asp", ""];
SystemMenage.bar[2] = ["登录日志(R)", "../Admin/Login-Management.Asp", ""];
SystemMenage.bar[3] = ["-", "", ""];
SystemMenage.bar[4] = ["链接管理(L)", "/Web-Management/Link-Management.Asp", ""];
SystemMenage.bar[5] = ["批量处理(B)", "/Admin/SqlFso.Asp", ""];
SystemMenage.bar[6] = ["内容来源(C)", "/Admin/ContentOrigin.Asp", ""];
SystemMenage.bar[7] = ["数据采集(G)", "/Admin/Colects-Info.Asp", ""];
createMenu(SystemMenage);

var runTimeMenu = new menu("runTimeMenu"); 
runTimeMenu.bar[0] = ["广告管理(D)", "../Web-Management/Advertisement.Asp", ""];
runTimeMenu.bar[1] = ["公告管理(N)", "../Web-Management/Announcement.Asp", ""];
runTimeMenu.bar[2] = ["-", "", ""];
runTimeMenu.bar[3] = ["Access压缩库压缩(A)", "../Web-Management/CompressionAccessDara.Asp", ""];
createMenu(runTimeMenu);

var personcenter = new menu("personcenter"); 
personcenter.bar[0] = ["全屏(E)", "javascript:"+top.window.name+":1:fullwindow", ""];
personcenter.bar[1] = ["取消全屏(C)", "javascript:"+top.window.name+":2:fullwindow", ""];
personcenter.bar[2] = ["修改密码(R)", "javascript:300:300:../User/UpUser.Asp", ""];
personcenter.bar[3] = ["注销用户(U)", "javascript:300:logout:AboutJFCms", ""];
personcenter.bar[4] = ["退出系统(W)", "javascript:300:0:AboutJFCms", ""];
createMenu(personcenter);

var usermanage = new menu("usermanage"); 
usermanage.bar[0] = ["系统用户管理(S)", "../User/User_Admin.Asp", ""];
usermanage.bar[1] = ["注册用户管理(U)", "../User/User_Member.Asp", ""];
usermanage.bar[2] = ["注册用户组管理(G)", "../User/User_Members.Asp", ""];
createMenu(usermanage);

var HelpInfo = new menu("HelpInfo"); 
HelpInfo.bar[0] = ["查看主页(H)", "javascript:300:300:JFCmsSite", ""];
HelpInfo.bar[1] = ["查看升级(P)", "javascript:300:300:JFCmsUpdateSite", ""];
HelpInfo.bar[2] = ["在线帮助(O)", "javascript:300:300:JFCmsHelpSite", ""];
HelpInfo.bar[3] = ["技术支持论坛(B)", "javascript:300:300:JFCmsBbsSite", ""];
HelpInfo.bar[4] = ["关于蓝锋网站管理系统(L)", "javascript:300:300:AboutJFCms", ""];
createMenu(HelpInfo);


//alert(top.window.name);