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/Video/AdminVideoClass.aspx", "icon3.gif", "icon3o.gif", "", "视频分类管理", "mainFrame", ],
	  ["|新增视频分类［中］", "zh/Video/AddVideoClass.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "新增视频分类", "mainFrame", ],
      ["|视频分类管理［英］", "en/Video/EnAdminVideoClass.aspx", "icon3.gif", "icon3o.gif", "", "视频分类管理", "mainFrame"],
      ["|新增视频分类［英］", "en/Video/EnAddVideoClass.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "新闻视频分类", "mainFrame", ],
      ["|视频管理［中］", "zh/Video/Video.aspx", "icon3.gif", "icon3o.gif", "", "视频管理", "mainFrame"],
	  ["|新增视频［中］", "zh/Video/AdminVideoManager.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "新增视频", "mainFrame"],
      ["|视频管理［英］", "en/Video/EnVideo.aspx", "icon3.gif", "icon3o.gif", "", "视频管理", "mainFrame"],
      ["|新增视频［英］", "en/Video/EnAdminVideoManager.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "新增视频", "mainFrame"],
      ["|视频留言", "zh/Video/AdminVideoComment.aspx", "icon3.gif", "icon3o.gif", "", "视频留言", "mainFrame"],

      ["商标管理", "", "", "", "", "点击打开", , "1", "0"],
      ["|商标分类管理［中］", "zh/Brand/AdminBrandClass.aspx", "icon3.gif", "icon3o.gif", "", "商标分类管理", "mainFrame", ],
	  ["|新增商标分类［中］", "zh/Brand/AddBrandClass.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "新增商标分类", "mainFrame", ],
      ["|商标分类管理［英］", "en/Brand/EnAdminBrandClass.aspx", "icon3.gif", "icon3o.gif", "", "商标分类管理", "mainFrame"],
      ["|新增商标分类［英］", "en/Brand/EnAddBrandClass.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "新闻商标分类", "mainFrame", ],
      ["|商标管理［中］", "zh/Brand/Brand.aspx", "icon3.gif", "icon3o.gif", "", "商标管理", "mainFrame"],
	  ["|新增商标［中］", "zh/Brand/AdminBrandManager.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "新增商标", "mainFrame"],
      ["|商标管理［英］", "en/Brand/EnBrand.aspx", "icon3.gif", "icon3o.gif", "", "商标管理", "mainFrame"],
      ["|新增商标［英］", "en/Brand/EnAdminBrandManager.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "新增商标", "mainFrame"],
      ["|商标留言", "zh/Brand/AdminBrandComment.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"],
      ["|图片信息管理[中]", "zh/Others/OtherPicList.aspx", "icon3.gif", "icon3o.gif", "", "信息管理", "mainFrame"],
	  ["|新增图片信息[中]", "zh/Others/OtherPicManger.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "新增信息", "mainFrame"],
      ["|图片信息管理[英]", "en/Others/EnOtherPicList.aspx", "icon3.gif", "icon3o.gif", "", "信息管理", "mainFrame"],
	  ["|新增图片信息[英]", "en/Others/EnOtherPicManger.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"],
      ["|招聘管理[中]", "zh/Jobs/job.aspx", "icon3.gif", "icon3o.gif", "", "招聘管理", "mainFrame"],
	  ["|发布招聘[中]", "zh/Jobs/AdminJobManager.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "发布招聘", "mainFrame"],
      ["|招聘管理[英]", "en/Jobs/Enjob.aspx", "icon3.gif", "icon3o.gif", "", "招聘管理", "mainFrame"],
      ["|发布招聘[英]", "en/Jobs/EnAdminJobManager.aspx?CMD=New", "icon3.gif", "icon3o.gif", "", "发布招聘", "mainFrame"],
	  ["|求职管理[中]", "zh/Jobs/Injob.aspx", "icon3.gif", "icon3o.gif", "", "应聘管理", "mainFrame"],
      ["|求职管理[英]", "en/Jobs/Injob.aspx", "icon3.gif", "icon3o.gif", "", "应聘管理", "mainFrame"],

          ["各大搜索引擎收录入口", "", "", "", "", "点击打开", , "1", "0"],
	  ["|百度登录入口", "http://www.baidu.com/search/url_submit.html", "icon3.gif", "icon3o.gif", "", "百度登录入口", "mainFrame"],
      ["|Google登录入口", "http://www.google.com/addurl/?hl=zh-CN&continue=/addurl", "icon3.gif", "icon3o.gif", "", "Google登录入口", "mainFrame"],
      ["|雅虎登录入口", "http://search.help.cn.yahoo.com/h4_4.html", "icon3.gif", "icon3o.gif", "", "雅虎登录入口", "mainFrame"],
      ["|Bing登录入口", "http://cn.bing.com/webmaster/SubmitSitePage.aspx", "icon3.gif", "icon3o.gif", "", "Bing登录入口", "mainFrame"],
      ["|Alexa排名提交入口", "http://www.alexa.com/help/webmasters", "icon3.gif", "icon3o.gif", "", "Alexa排名提交入口", "mainFrame"],
      ["|中搜登录入口", "http://ads.zhongsou.com/register/page.jsp", "icon3.gif", "icon3o.gif", "", "中搜登录入口", "mainFrame"],
      ["|搜狗登录入口", "http://www.sogou.com/feedback/urlfeedback.php", "icon3.gif", "icon3o.gif", "", "搜狗登录入口", "mainFrame"],
      ["|SOSO登录入口", "http://www.soso.com/help/usb/urlsubmit.shtml", "icon3.gif", "icon3o.gif", "", "SOSO登录入口", "mainFrame"],
      ["|有道登录入口", "http://tellbot.youdao.com/report", "icon3.gif", "icon3o.gif", "", "有道登录入口", "mainFrame"],
      ["|TOM搜索登录入口", "http://search.tom.com/tools/weblog/log.php", "icon3.gif", "icon3o.gif", "", "TOM搜索登录入口", "mainFrame"],
      ["|114网址错误页面入口", "http://url.114la.com/", "icon3.gif", "icon3o.gif", "", "114网址错误页面入口", "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/DataBase/Default.aspx", "icon3.gif", "icon3o.gif", "", "数据库管理", "mainFrame"],

	["图片管理", "", "","","", "点击打开",,"1","0"],
	  ["|图片管理", "SysSetting/UploadPic/Default.aspx", "icon3.gif", "icon3o.gif","","图片的管理","mainFrame"],

    ["帮助系统", "", "","","", "点击打开",,"1","0"],
      ["|操作说明", "http://bbs.yibuban.com", "icon3.gif", "icon3o.gif","","操作说明","mainFrame"],    

];

dtree_init();
