//var tsaveState = 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       = "270px";
var tmenuHeight      = "auto";

var tabsolute        = 0;
var tleft            = 5;
var ttop             = 107;

var tfloatable       = 0;
var tfloatIterations = 10;

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

var tfontStyle       = "Bold 11px Tahoma";
var tfontColor       = ["#3F3D3D","#7E7C7C"];
var tfontDecoration  = ["none","underline"];

//var titemBackColor   = ["#CCFFCC","#CCFFCC"];
var titemBackColor   = ["#99FF99","#99FF99"];

var titemAlign       = "left";
var titemBackImage   = ["",""];
var titemCursor      = "pointer";
var titemHeight      = 22;

var titemTarget      = "_self";
//var titemTarget      = "_blank";

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 texpandBtn       =["","",""];
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    = "#57C34A";
//99FF00


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

var tXPExpandBtn    = ["xpexpand1_green.gif","xpexpand1_green.gif","xpcollapse1_green.gif","xpcollapse1_green.gif"];
//var tXPExpandBtn    = ["","","",""];

var tXPTitleBackImg = "xptitle_green.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 9pt Tahoma","tfontColor=#FFFFFF,#D2FCD5", "tfontDecoration=none,none"],
    ["tfontStyle=bold 9pt Tahoma","tfontColor=#3F3D3D,#659669", "tfontDecoration=none,none"],
    ["tfontDecoration=none,none"],
    ["tfontStyle=bold 9pt Tahoma","tfontColor=#444444,#5555FF"],
];

var tXPStyles =
[
    ["tXPTitleBackColor=#DEF3DB", "tXPExpandBtn=xpexpand2_green.gif,xpexpand2_green.gif,xpcollapse2_green.gif,xpcollapse2_green.gif", "tXPTitleBackImg=xptitle2_green.gif"]
    //["tXPTitleBackColor=#DEF3DB", "tXPExpandBtn=,,,", "tXPTitleBackImg=xptitle2_green.gif"]	
];

var tmenuItems =
[
    ["+RoyalJute.com", "", "xpicon_green.gif","","", "RoyalJute Links","","0"],
    ["|Home", "javascript:_pAGEcTSdSPLY('Home');", "icon1_s.gif", "icon1_so.gif", "", "Home Page","_blank"],
    ["|Jute", "javascript:_pAGEcTSdSPLY('Jute');", "icon1_s.gif", "icon1_so.gif", "", "Information about Jute Bags","_self"],
	["|+Products", "javascript:_pAGEcTSdSPLY('Products','Cat001');", "icon2_so.gif", "icon2_s.gif", "", "Products"],
        //["||Products", "javascript:_pAGEcTSdSPLY('Products');", "iconarrs.gif","","","Products 1"],
		["||Readymade Promotional Bags", "javascript:_pAGEcTSdSPLY('Products','Cat011');", "iconarrs.gif","","","The most common and widely used Readymade promtional bags"],
        ["||Regular Promotional Bags", "javascript:_pAGEcTSdSPLY('Products','Cat001');", "iconarrs.gif","","","The most common and widely used promtional bags"],
        ["||Premium Promotional Bags", "javascript:_pAGEcTSdSPLY('Products','Cat002');", "iconarrs.gif","","","Bags with a touch of elegance"],
        ["||Unique Promotional Bags", "javascript:_pAGEcTSdSPLY('Products','Cat003');", "iconarrs.gif","","","A one of a kind bags with embellishments"],
        ["||Drawstring and Vanity Bags", "javascript:_pAGEcTSdSPLY('Products','Cat004');", "iconarrs.gif","","","Bags with zippers and drawstrings"],
        ["||Files etc...", "javascript:_pAGEcTSdSPLY('Products','Cat005');", "iconarrs.gif","","","Alternative promotional ideas"],
    	["||Wine Bags", "javascript:_pAGEcTSdSPLY('Products','Cat006');", "iconarrs.gif","","","Wine Bags"],
        ["|+Seasonal Bags", "javascript:_pAGEcTSdSPLY('Products','Cat008');", "icon2_so.gif", "icon2_s.gif","","Seasonal Bags"],
		["|||Valentine's day Bags", "javascript:_pAGEcTSdSPLY('Products','Cat008');", "iconarrs.gif","","","Valentine's day Bags"],
		["|||Halloween Bags", "javascript:_pAGEcTSdSPLY('Products','Cat009');", "iconarrs.gif","","","Halloween Bags"],
		["|||Christmas Bags", "javascript:_pAGEcTSdSPLY('Products','Cat010');", "iconarrs.gif","","","Christmas and Holiday Bags"],

	["|+Customize", "", "icon5_so.gif", "icon5_s.gif", "", "Design your own bag"],
        //["||Colors", "testlink.htm", "iconarrs.gif","","","Colors"],
        ["||Colors", "javascript:_pAGEcTSdSPLY('Colors');", "iconarrs.gif","","","Colors"],
        ["||Handles", "javascript:_pAGEcTSdSPLY('Handles');", "iconarrs.gif","","","Handles"],
        ["||Prints", "javascript:_pAGEcTSdSPLY('Prints');", "iconarrs.gif","","","Prints"],
    ["|About Us", "javascript:_pAGEcTSdSPLY('About_Us');", "icon3_s.gif", "icon3_so.gif", "", "Know about our company and our mission"],
    ["|Contact Us", "javascript:_pAGEcTSdSPLY('Contact');", "icon3_s.gif", "icon3_so.gif", "", "Send us your specific queries and comments"],
    ["|Your Cart", "javascript:_pAGEcTSdSPLY('Cart_Summary');", "icon4_s.gif", "icon4_so.gif", "", "Submit items for quotes"],
    ["|FAQ", "javascript:_pAGEcTSdSPLY('FAQ');", "icon3_s.gif", "icon3_so.gif", "", "Answers to some general questions"],
    ["|Environmental Issues", "javascript:_pAGEcTSdSPLY('En_Iss');", "icon3_s.gif", "icon3_so.gif", "", "Learn how you can improve the environment"],
    ["|+Spread the World", "", "icon3_so.gif", "icon3_s.gif", "", "Eco-Slogans, quotes and sayings"],	
	["||Environmental Quotes", "javascript:_pAGEcTSdSPLY('EnvironmentQ');", "iconarrs.gif","","","Environmental Quotes"],
	["||Slogans and Messages", "javascript:_pAGEcTSdSPLY('Slogan');", "iconarrs.gif","","","Slogans and Messages"],

//    ["Samples Gallery", "", "","","", "XP Title Tip",,"1","0"],
//       ["|Samples Block 1", "", "icon3_s.gif", "icon3_so.gif"],
//            ["||New Sample 1", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 2", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 3", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 4", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 5", "testlink.htm", "iconarrs.gif"],
//        ["|Samples Block 2", "", "icon3_s.gif", "icon3_so.gif"],
//            ["||New Sample 1", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 2", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 3", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 4", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 5", "testlink.htm", "iconarrs.gif"],
//        ["|Samples Block 3", "", "icon3_s.gif", "icon3_so.gif"],
//            ["||New Sample 1", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 2", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 3", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 4", "testlink.htm", "iconarrs.gif"],
//            ["||New Sample 5", "testlink.htm", "iconarrs.gif"],
];


dtree_init();
