var texpandItemClick = 1;

var tpressedFontColor = "#AA0000";
var tpathPrefix_img = "img/";

var tlevelDX = 20;
var ttoggleMode = 1;

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

var tblankImage      = "img/blank.gif";
var tmenuWidth       = "230px";
var tmenuHeight      = "auto";

var tabsolute        = 1;
var tleft            = 20;
var ttop             = 80;

var tfloatable       = 0;
var tfloatIterations = 10;

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

var tfontStyle       = "normal 8pt Tahoma";
var tfontColor       = ["#854E15","#BF772C"];
var tfontDecoration  = ["none","underline"];

var titemBackColor   = ["#F5DCDC","#F5DCDC"];
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 tXPTitleTopBackColor = "";
var tXPTitleBackColor    = "#C94343";
var tXPTitleLeft    = "xptitleleft_red.gif";
var tXPTitleLeftWidth = 4;
var tXPExpandBtn    = ["xpexpand1_red.gif","xpexpand1_red.gif","xpcollapse1_red.gif","xpcollapse1_red.gif"];
var tXPTitleBackImg = "xptitle_red.gif";

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,#FFBEBE", "tfontDecoration=none,none"],
    ["tfontStyle=bold 8pt Tahoma","titemBackColor=#265BCC,#265BCC","tfontColor=#801E1E,#D47170", "tfontDecoration=none,none"],
    ["tfontStyle=bold 11px Tahoma","tfontColor=#0000FF,#5522FF"],
    ["titemBackColor=#CCBBBB,#FFFFFF", "tfontDecoration=none,none"],
    ["tfontStyle=bold 8pt Tahoma","titemBackColor=#265BCC,#265BCC","tfontColor=#FFFFFF,#428EFF", "tfontDecoration=none,none"],
    ["tfontStyle=bold 12px Arial","tfontColor=#215DC6,#428EFF"],
];


var tXPStyles =
[
    ["tXPTitleBackColor=#F4D9D9", "tXPExpandBtn=xpexpand2_red.gif,xpexpand2_red.gif,xpcollapse2_red.gif,xpcollapse2_red.gif", "tXPTitleBackImg=xptitle2_red.gif"],
    ["tXPTitleBackColor=#265BCC", "tXPExpandBtn=xpexpand1.gif,xpexpand2.gif,xpcollapse1.gif,xpcollapse2.gif", "tXPTitleBackImg=xptitle.gif"]
];

var tmenuItems =
[
    ["+Deluxe Tree: XP Style", "", "xpicon_red.gif","","", "XP Title Tip",,"0"],
    ["|Home", "http://deluxe-tree.com", "icon1_r.gif", "icon1_ro.gif", "", "Home Page Tip","_blank"],
    ["|+Product Info", "", "icon2_r.gif", "icon2_ro.gif", "", "Product Info Tip"],
        ["||What's New", "testlink.htm", "iconarrred.gif", , , , , "2"],
        ["||Features", "testlink.htm", "iconarrred.gif", , , , , "2"],
        ["||Installation", "testlink.htm", "iconarrred.gif", , , , , "2"],
        ["||Functions", "testlink.htm", "iconarrred.gif", , , , , "2"],
        ["||Supported Browsers", "testlink.htm", "iconarrred.gif", , , , , "2"],
    ["|Samples", "", "icon3_r.gif", "icon3_ro.gif", "", "Samples Tip"],
        ["||Sample 1", "testlink.htm", "iconarrred.gif"],
        ["||Sample 2", "testlink.htm", "iconarrred.gif"],
        ["||Sample 3", "testlink.htm", "iconarrred.gif"],
        ["||Sample 4", "testlink.htm", "iconarrred.gif"],
        ["||Sample 5", "testlink.htm", "iconarrred.gif"],
        ["||Sample 6", "testlink.htm", "iconarrred.gif"],
        ["||More Samples", "", "icon3_r.gif", "icon3_ro.gif"],
            ["|||New Sample 1", "testlink.htm", "iconarrred.gif"],
            ["|||New Sample 2", "testlink.htm", "iconarrred.gif"],
            ["|||New Sample 3", "testlink.htm", "iconarrred.gif"],
            ["|||New Sample 4", "testlink.htm", "iconarrred.gif"],
            ["|||New Sample 5", "testlink.htm", "iconarrred.gif"],
    ["|Purchase", "testlink.htm", "icon4_r.gif", "icon4_ro.gif", "", "Purchase Tip"],
    ["|Support", "", "icon5_r.gif", "icon5_ro.gif", "", "Support Tip"],
        ["||Write Us", "mailto:dhtml@dhtml-menu.com", "iconarrred.gif"],

    ["+Samples Gallery", "", "","","", "XP Title Tip",,"1","0"],
        ["|Samples Block 1", "", "icon3_r.gif", "icon3_ro.gif", , , , "5"],
            ["||New Sample 1", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 2", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 3", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 4", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 5", "testlink.htm", "iconarrred.gif"],
        ["|Samples Block 2", "", "icon3_r.gif", "icon3_ro.gif", , , , "5"],
            ["||New Sample 1", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 2", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 3", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 4", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 5", "testlink.htm", "iconarrred.gif"],
        ["|Samples Block 3", "", "icon3_r.gif", "icon3_ro.gif", , , , "5"],
            ["||New Sample 1", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 2", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 3", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 4", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 5", "testlink.htm", "iconarrred.gif"],
            
    ["Samples Gallery 2", "", "xpicon1.gif","","", "XP Title Tip",,"4","1"],
        ["|Samples Block 1", "", "icon3_r.gif", "icon3_ro.gif"],
            ["||New Sample 1", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 2", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 3", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 4", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 5", "testlink.htm", "iconarrred.gif"],
        ["|Samples Block 2", "", "icon3_r.gif", "icon3_ro.gif"],
            ["||New Sample 1", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 2", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 3", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 4", "testlink.htm", "iconarrred.gif"],
            ["||New Sample 5", "testlink.htm", "iconarrred.gif"],
];



dtree_init();
