var tsaveState = 1;
var tpressedFontColor = "#AA0000";

var tpathPrefix_img = "images/menu/img/";

var tlevelDX = 10;
var ttoggleMode = 1;

var texpanded = 0;
var tcloseExpanded   = 1;
var tcloseExpandedXP = 1;

var tblankImage      = "images/menu/img/blank.gif";
var tmenuWidth       = "180px";
var tmenuHeight      = "auto";

var tabsolute        = 1;
var tleft            = 0;
var ttop             = 0;

var tfloatable       = 1;
var tfloatIterations = 10;

var tmoveable        = 0;
var tmoveImage       = "images/menu/img/movepic.gif";
var tmoveImageHeight = 12;

var tfontStyle       = "normal 8pt Tahoma";
var tfontColor       = ["#215DC6","#428EFF"];
var tfontDecoration  = ["none","underline"];

var titemBackColor   = ["#D6DFF7","#D6DFF7"];
var titemAlign       = "left";
var titemBackImage   = ["blank.gif","blank.gif"];
var titemCursor      = "pointer";
var titemHeight      = 22;
var titemTarget      = "_self";

var ticonWidth       = 21;
var ticonHeight      = 15;
var ticonAlign       = "left";

var tmenuBackImage   = "blank.gif";
var tmenuBackColor   = "";
var tmenuBorderColor = "#FFFFFF";
var tmenuBorderStyle = "solid";
var tmenuBorderWidth = 0;

var texpandBtn       =["expandbtn2.gif","expandbtn2.gif","collapsebtn2.gif"];
var texpandBtnW      = 9;
var texpandBtnH      = 9;
var texpandBtnAlign  = "left";

var tpoints       = 0;
var tpointsImage  = "";
var tpointsVImage = "";
var tpointsCImage = "";

// XP-Style Parameters
var tXPStyle = 1;
var tXPIterations = 10;                  // expand/collapse speed
var tXPTitleBackColor    = "#265BCC";
var tXPExpandBtn    = ["xpexpand1.gif","xpexpand2.gif","xpcollapse1.gif","xpcollapse2.gif"];
var tXPTitleBackImg = "xptitle.gif";

var tXPTitleLeft      = "xptitleleft.gif";
var tXPTitleLeftWidth = 4;

var tXPBtnWidth  = 25;
var tXPBtnHeight = 25;

var tXPIconWidth  = 31;
var tXPIconHeight = 32;

var tXPFilter=1;

var tXPBorderWidth = 1;
var tXPBorderColor = '#FFFFFF';

var tstyles =
[
    ["tfontStyle=bold 8pt Tahoma","titemBackColor=#265BCC,#265BCC","tfontColor=#FFFFFF,#428EFF", "tfontDecoration=none,none"],
    ["tfontStyle=bold 8pt Tahoma","titemBackColor=#265BCC,#265BCC","tfontColor=#215DC6,#428EFF", "tfontDecoration=none,none"],
    ["tfontDecoration=none,none"],
    ["tfontStyle=bold 8pt Tahoma","tfontColor=#444444,#5555FF"],
];
var tXPStyles =
[
    ["tXPTitleBackColor=#D0DAF8", "tXPExpandBtn=xpexpand3.gif,xpexpand4.gif,xpcollapse3.gif,xpcollapse4.gif", "tXPTitleBackImg=xptitle2.gif"]
];
var tmenuItems =
[
    ["系统设置", "", "","","", "点击打开",,"1","0"],
    	["|风格切换", "SysSetting/Html/ModulePage.aspx", "icon3.gif", "icon3o.gif","","生成Html","mainFrame"],
        ["|静态生成", "SysSetting/Html/MakHtml.aspx", "icon3.gif", "icon3o.gif","","生成Html","mainFrame"],
        ["|网站配置", "SysSetting/SysData/SystemDataSet.aspx", "icon3.gif", "icon3o.gif", "", "网站配置","mainFrame"],
        ["|公告管理", "", "icon3.gif", "", "", "","0"],
        ["||网站公告［中文］", "zh/Affiche/AfficheManger.aspx", "icon3.gif", "icon3o.gif", "", "网站公告","mainFrame"],
        ["||网站公告［英文］", "en/Affiche/EnAfficheManger.aspx", "icon3.gif", "icon3o.gif", "", "网站公告","mainFrame"],
        ["|首页幻灯", "SysSetting/FlashIndex/FlashList.aspx", "icon3.gif", "icon3o.gif", "", "系统配置","mainFrame"],
        ["|客服设置", "SysSetting/QQ/QQList.aspx", "icon3.gif", "icon3o.gif", "", "客服设置","mainFrame"],
        ["|友情连接", "SysSetting/FriendLink/FriendLinksList.aspx", "icon3.gif", "icon3o.gif", "", "友情连接","mainFrame"],
        ["|调查管理", "SysSetting/Vote/VoteList.aspx", "icon3.gif", "icon3o.gif", "", "调查管理","mainFrame"],
        ["|导航栏目", "SysSetting/Menu/MenuList.aspx", "icon3.gif", "icon3o.gif", "", "导航栏目","mainFrame"],
		["|页面底部", "SysSetting/Bottom/EditBottom.aspx", "icon3.gif", "icon3o.gif", "", "页面底部","mainFrame"],

    ["新闻管理", "", "","","", "点击打开",,"1","0"],
        ["|新闻分类管理［中］", "zh/New/AdminNewClass.aspx", "icon3.gif", "icon3o.gif","","新闻分类管理","mainFrame"],
		["|新增新闻分类［中］", "zh/New/AddNewClass.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增新闻分类","mainFrame"],
		["|新闻分类管理［英］", "en/New/EnAdminNewClass.aspx", "icon3.gif", "icon3o.gif","","新闻分类管理","mainFrame"],
		["|新增新闻分类［英］", "en/New/EnAddNewClass.aspx", "icon3.gif", "icon3o.gif","","新增新闻分类","mainFrame"],
        ["|新闻管理［中］", "zh/New/News.aspx", "icon3.gif", "icon3o.gif","","新闻管理","mainFrame"],
		["|新增新闻［中］", "zh/New/AdminNewManger.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增新闻","mainFrame"],
		["|新闻管理［英］", "en/New/EnNews.aspx", "icon3.gif", "icon3o.gif","","新闻管理","mainFrame"],
		["|新增新闻［英］", "en/New/EnAdminNewManger.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增新闻","mainFrame"],
	    ["|新闻留言", "zh/New/AdminNewComment.aspx", "icon3.gif", "icon3o.gif","","新闻管理","mainFrame"],

	["商品系统", "", "","","", "点击打开",,"1","0"],
		["|商品分类管理［中］", "zh/Products/AdminProClass.aspx", "icon3.gif","icon3o.gif","","商品分类管理","mainFrame"],
		["|新增商品分类［中］", "zh/Products/AddProClass.aspx?CMD=New", "icon3.gif","icon3o.gif","","新增商品分类","mainFrame"],
		["|商品分类管理［英］", "en/Products/EnAdminProClass.aspx", "icon3.gif","icon3o.gif","","商品分类管理","mainFrame"],
		["|新增商品分类［英］", "en/Products/EnAddProClass.aspx?CMD=New", "icon3.gif","icon3o.gif","","新增商品分类","mainFrame"],
		["|商品管理［中］", "zh/Products/Pro.aspx", "icon3.gif","icon3o.gif","","商品管理","mainFrame"],
		["|商品排序［中］", "zh/Products/ProSort.aspx", "icon3.gif","icon3o.gif","","商品排序","mainFrame"],
		["|新增商品［中］", "zh/Products/AdminProManager.aspx?CMD=New", "icon3.gif","icon3o.gif","","新增商品","mainFrame"],
		["|商品管理［英］", "en/Products/EnPro.aspx", "icon3.gif","icon3.gif","","商品管理","mainFrame"],
		["|商品排序［英］", "en/Products/EnProSort.aspx", "icon3.gif","icon3o.gif","","商品排序","mainFrame"],
		["|新增商品［英］", "en/Products/EnAdminProManager.aspx?CMD=New", "icon3.gif","icon3o.gif","","新增商品","mainFrame"],
		["|商品留言", "zh/Products/AdminProComment.aspx", "icon3.gif","icon3o.gif","","商品留言","mainFrame"],
        ["|订单管理［中］", "zh/Products/AdminOrderList.aspx", "icon3.gif","icon3o.gif","","订单管理","mainFrame"],
		["|订单管理［英］", "en/Products/EnAdminOrderList.aspx", "icon3.gif","icon3o.gif","","订单管理","mainFrame"],

    ["下载管理", "", "","","", "点击打开",,"1","0"],
      ["|下载分类管理［中］", "zh/Down/AdminDownClass.aspx", "icon3.gif", "icon3o.gif","","下载分类管理","mainFrame",],
	  ["|新增下载分类［中］", "zh/Down/AddDownClass.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增下载分类","mainFrame",],
	  ["|下载分类管理［英］", "en/Down/EnAdminDownClass.aspx", "icon3.gif", "icon3o.gif","","下载分类管理","mainFrame"],
	  ["|新增下载分类［英］", "en/Down/EnAddDownClass.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新闻下载分类","mainFrame",],
      ["|下载管理［中］", "zh/Down/Down.aspx", "icon3.gif", "icon3o.gif","","下载管理","mainFrame"],
	  ["|新增下载［中］", "zh/Down/AdminDownManger.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增下载","mainFrame"],
	  ["|下载管理［英］", "en/Down/EnDown.aspx", "icon3.gif", "icon3o.gif","","下载管理","mainFrame"],
	  ["|新增下载［英］", "en/Down/EnAmminDownManger.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增下载","mainFrame"],
	  ["|下载留言", "zh/Down/AdminDownComment.aspx", "icon3.gif", "icon3o.gif","","下载留言","mainFrame"],

	["企业信息", "", "","","", "点击打开",,"1","0"],
      ["|企业信息[中]", "zh/Abouts/AdminAbouts.aspx", "icon3.gif", "icon3o.gif","","企业信息管理","mainFrame"],    
      ["|企业信息[英]", "en/Abouts/EnAdminAbouts.aspx", "icon3.gif", "icon3o.gif","","企业信息管理","mainFrame"], 
      ["|新增企业信息[中]", "zh/Abouts/AdminEditAbouts.aspx?CMD=New&IDX=0", "icon3.gif", "icon3o.gif","","企业信息管理","mainFrame"],    
      ["|新增企业信息[英]", "en/Abouts/EnAdminEditAbouts.aspx?CMD=New&IDX=0", "icon3.gif", "icon3o.gif","","企业信息管理","mainFrame"], 

    ["其他信息", "", "","","", "点击打开",,"1","0"],
      ["|信息类别[中]", "zh/Others/AdminOtherClass.aspx", "icon3.gif", "icon3o.gif","","信息类别","mainFrame"], 
	  ["|新增信息类别[中]", "zh/Others/AddOtherClass.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增信息","mainFrame"], 
      ["|信息类别[英]", "en/Others/EnAdminOtherClass.aspx", "icon3.gif", "icon3o.gif","","信息类别","mainFrame"], 
	  ["|新增信息类别[英]", "en/Others/EnAddOtherClass.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增信息","mainFrame"], 
      ["|信息管理[中]", "zh/Others/OtherList.aspx", "icon3.gif", "icon3o.gif","","信息管理","mainFrame"], 
	  ["|新增信息[中]", "zh/Others/OtherManger.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增信息","mainFrame"], 
      ["|信息管理[英]", "en/Others/EnOtherList.aspx", "icon3.gif", "icon3o.gif","","信息管理","mainFrame"], 
	  ["|新增信息[英]", "en/Others/EnOtherManger.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增信息","mainFrame"], 

    ["留言管理", "", "","","", "点击打开",,"1","0"],
      ["|留言管理", "SysSetting/Comm/WebComment.aspx", "icon3.gif", "icon3o.gif","","留言管理","mainFrame"],
	  
    ["会员管理", "", "","","", "点击打开",,"1","0"],
      ["|管理员管理", "SysSetting/AdminUser/AdminUser.aspx", "icon3.gif", "icon3o.gif","","管理员管理","mainFrame"],
	  ["|新增加管理员", "SysSetting/AdminUser/AddAdminUser.aspx", "icon3.gif", "icon3o.gif","","新增加管理员","mainFrame"],
	  ["|新增加管理员角色", "SysSetting/AdminUser/RoleManger.aspx?CMD=New", "icon3.gif", "icon3o.gif","","新增加管理员角色","mainFrame"],
      ["|后台权限设置", "SysSetting/AdminUser/AdminRoleList.aspx", "icon3.gif", "icon3o.gif","","后台权限","mainFrame"], 
      ["|用户等级管理", "SysSetting/FontUser/FontRoleList.aspx", "icon3.gif", "icon3o.gif","","用户等级管理","mainFrame"],    
      ["|用户管理", "SysSetting/FontUser/FontUserList.aspx", "icon3.gif", "icon3o.gif","","会员管理","mainFrame"],  

	["生成静态", "", "","","", "点击打开",,"1","0"],
	  ["|风格切换", "SysSetting/Html/ModulePage.aspx", "icon3.gif", "icon3o.gif","","生成Html","mainFrame"],
      ["|静态生成", "SysSetting/Html/MakHtml.aspx", "icon3.gif", "icon3o.gif","","生成Html","mainFrame"],
    ["模版管理", "", "","","", "点击打开",,"1","0"],
	  ["|模版管理", "SysSetting/FileManager/Default.aspx", "icon3.gif", "icon3o.gif","","模版管理","mainFrame"],
	["图片管理", "", "","","", "点击打开",,"1","0"],
	  ["|图片管理", "SysSetting/UploadPic/Default.aspx", "icon3.gif", "icon3o.gif","","图片的管理","mainFrame"],

    ["帮助系统", "", "","","", "点击打开",,"1","0"],
      ["|操作说明", "http://help.liangjing.org/index.html", "icon3.gif", "icon3o.gif","","操作说明","mainFrame"],    

];

dtree_init();
