//******************************************************************************
// ------ Apycom.com Tree-menu Data --------------------------------------------
//******************************************************************************


var key		     = "147b672e9atg"; 

var tlevelDX 	     = 0; 			//Item X offset relatively a root item.
var texpandItemClick = 0; 			//1 - expand item within item click, 0 - expand item withing [+]-button click. Default is 0.  

// Saving state parameters -----
//var tsaveState       = 1;              	// 0/1 - disable/exnable state saving;
//var tsaveMenuN       = 0;              	// menu number on a page;
//var tsavePrefix      = "myMenu";      	// individual prefix for each menu. Must be not empty.


var tblankImage      = "Images/blank.gif";
var tmenuWidth       = 160;			// Menu width (px or %). If "" - fits to largest item. 
var tmenuHeight      = 600;      			// If equal to 0 or "" - menu height setted automatically (without vertical scrollbar).

var tabsolute        = 1;			// 0 - relative position, 1 - absolute position.
var tleft            = 4;			// X coordinate of top-left menu corner, if absolutePos = 1.
var ttop             = 2;			// Y coordinate of top-left menu corner, if absolutePos = 1.

var tfloatable       = 0;			// 1 - menu "floats" on window scrolling staying always visible. 
var tfloatIterations = 6;			// Defines speed of floating. More iterations - less speed.

var tmoveable        = 0;			// 1 - you can drag the menu by using top spacer.
var tmoveImage       = "Images/movepic.gif";
var tmoveImageHeight = 12;			// Height of drag spacer

var tfontStyle       = "bold 9pt Verdana";
var tfontColor       = ["#854E15","#BF772C"];	// Normal and mouseover font color.
var tfontDecoration  = ["none","none"];		// Normal and mouseover font color decoration ("none", "underline", "line-through", "overline").

var titemBackColor   = ["#F5DCDC","#F5DCDC"];	// Normal and mouseover color of item background.
var titemAlign       = "left";			// Alignment of item text.
var titemBackImage   = ["",""];			// Normal and mouseover background image.
var titemCursor      = "hand";			// Mouseover cursor ("hand", "default", "move", ...).
var titemHeight      = 20;			// Item height.

var titemTarget      = "principal";		// Default target for all items ("_self", "_blank", "_parent", "_top", ...). If "" - target is "_self".
var ticonWidth       = 1;			// Item icon width.
var ticonHeight      = 1;			// Item icon Height.
var ticonAlign       = "left";			// Alignment of item icon ("left", "right")

var tmenuBackImage   = "";			// Menu background image.
var tmenuBackColor   = "";			// Menu background color.
var tmenuBorderColor = "#FFFFFF";		// Menu border color.
var tmenuBorderStyle = "solid";			// Menu border style ("none", "solid", "double", "dotted", "dashed", "groove", "ridge").
var tmenuBorderWidth = 0;			// Menu border width.

var texpanded	     = 0;			// 1 - all menu items are expanded.

var texpandBtn       =["Images/expandbtn02.gif","Images/expandbtn02.gif","Images/collapsebtn02.gif"]; 	//Expand button images: normal, mouseover and when item submenu expanded.
var texpandBtnW      = 9;			// Expand button width.
var texpandBtnH      = 9;			// Expand button height.
var texpandBtnAlign  = "left";			// Alignment of expand button ("left", "right").


var tpoints       = 0;				// 1 - display lines, that connecting expand buttons.
var tpointsImage  = "";				// Horizontal line image.
var tpointsVImage = "";				// Vertical line image.
var tpointsCImage = "";				// Corner image.

// XP-Style Parameters
var tXPStyle = 1;								// 1 - enable XP-style menu.
var tXPIterations = 5;                  					// expand/collapse speed
var tXPTitleTopBackColor = "";							// Top background color of XP-style title. Preffered value - "".
var tXPTitleBackColor    = "#E18A2C";						// Background color of XP-style title.
var tXPTitleLeft    = "Images/xptitleleft_red.gif";				// Left border image of XP-style title.
var tXPExpandBtn    = ["Images/xpexpand01.gif","Images/xpexpand01.gif","Images/xpcollapse01.gif","Images/xpcollapse01.gif"];
var tXPBtnHeight    = 25;							// Expand button height.
var tXPTitleBackImg = "Images/xptitle01_red.gif";				// Background image of XP-style title.


var tstyles =
[
    ["tfontStyle=bold 9pt Verdana","titemBackColor=#8A2828,#8A2828","tfontColor=#FFFFFF,#FFDFBD", "tfontDecoration=none,none"],
    ["tfontStyle=bold 9pt Verdana","titemBackColor=#8A2828,#8A2828","tfontColor=#854E15,#AD7235", "tfontDecoration=none,none"],
];


//[1. item_label, 2.item_link, 3.normal_icon, 4.mouseover_icon, 5.expanded_icon, 6.tooltip, 7.item_target, 8.item_style, 9.XP_title_style]

var tmenuItems =
[
    ["+&nbsp;Informations", 	"", 				"Images/xpicon_red.gif",	"",	"",   "Information sur l´AVcB",, "0"],
    ["|Comité", 		"infos/comite.html", 		"", 	"",  	"", "Comité de l´AVcB",		"principal"],
    ["|Clubs",     		"infos/clubs.html",  		"",	"", 	"", "Les clubs", 		"principal"],
    ["|Le mot du président",	"infos/motPresident.html",  	"",	"", 	"", "Le mot du président", 	"principal"],

    ["&nbsp;Interclubs", 	"", 				"Images/xpicon_red.gif",	"",	"", "Interclubs",, "0"],
    ["|Classements", 		"interclubs/classements.html", 	"", 	"",  	"", "Classements",		"principal"],
    ["|Règlement",     		"interclubs/reglement.html",  	"",   	"", 	"", "Règlement", 		"principal"],

    ["&nbsp;Juniors", 		"", 				"Images/xpicon_red.gif",	"",	"", 	"Juniors",, "0"],
    ["|Juniors & Cadres", 	"juniors/cadres.html", 		"", 	"",  	"", 	"Les cadres juniors",			"principal"],
    ["|Entraîneurs",     	"juniors/entraineurs.html",  	"",   	"", 	"", 	"Les entraîneurs des cardes", 		"principal"],
    ["|CS Ecoliers",     	"juniors/csEcoliers.html",  	"",   	"", 	"", 	"Championnat Suisse des écoliers", 	"principal"],
    ["|J & S",     		"juniors/jSports.html",  	"",   	"", 	"", 	"Jeunesse et Sport", 			"principal"],

    ["&nbsp;Manifestations", 	"", 					"Images/xpicon_red.gif",	"",	"", 	"Les manifestation et tournois",, "0"],
    ["|Calendrier", 		"manifestations/calendrier.html", 	"", 	"",  	"", 	"Calendrier des manifestations",		"principal"],
    ["|Règlement",     		"manifestations/reglement.html",  	"",   	"", 	"", 	"Règlement pour les tournois de l´AVcB", 	"principal"],
    ["|Tournois",     		"manifestations/tournois.html",  	"",   	"", 	"", 	"Tournois de Badminton", 			"principal"],
    ["|Résultats & Photos",     "manifestations/photos.html",  		"",   	"", 	"", 	"Photos", 					"principal"],

    ["&nbsp;Bibliothèque", 	"", 					"Images/xpicon_red.gif",	"",	"", 		"Bibliothèque",, "0"],
   
    ["|Articles", 		"bibliotheque/articles.html", 		"", 	"",  	"", 	"Articles",			"principal"],
    ["|Interviews", 		"bibliotheque/interviews.html", 	"", 	"",  	"", 	"Interviews",			"principal"],
    ["|Entraînements", 		"bibliotheque/entrainements.html", 	"", 	"",  	"", 	"Entraînements",		"principal"],
    ["|Le badminton", 		"bibliotheque/historique.html", 	"", 	"",  	"", 	"Le Badminton",			"principal"],
    ["|Fair-Play", 		"bibliotheque/charte.html", 		"", 	"",  	"", 	"La charte du Fair-Play",	"principal"], 

];

