//Common
var tmenuWidth = 300;//390		//Width of the menu in (px, % or other units).
var tmenuHeight = 0;	//Height of the menu in (px, % or other units). If the value 0 - the menu sets its height automatically. If the value is small - scrollbars appear.
var tblankImage = "../gol.gif";	//	 	Path to a blank image. Usually it's a GIF image with a transparent background, size 1x1 px.
var tlevelDX = 30;	// 	Indent for each level of items (in px).
var texpandItemClick = 0;	// 	0 - expand items on a [+]-button click only; 1 - expand items on a mouse click.
var texpanded = 0;	// 	Expands all menu. 0 - don't expand items; 1 - expands all menu items by defaults. To expand a separate item by default add '+' symbol before item's text.
var titemTarget = "_self";	// 	Default target for all items.
var titemCursor = "default";	// 	Items cursor.
var ttoggleMode = 1;	// 	Enables a toggle-mode. 0 - disabeld, 1 - items stay highlighted after mouse click.
var tpressedFontColor = "#555555";	// 	Color of a text of selected items. Used when var ttoggleMode = 1.
var tcloseExpanded = 1;	// 	Enables the mode when 1 item only can be expanded. 0 - disabled, 1 - enabled.
var tcloseExpandedXP = 1;	// 	Enables the mode when 1 submenu only can be expanded (XP-style). 0 - disabled, 1 - enabled.
//var tsaveState = 0;	// 	Saves a menu state. 0 - disable state saving; 1 - enable state saving - the menu saves items state for a next visit. apytmenu_ss.js file must be included into html page!
var tpathPrefix_img = "../scripturi/";


//Positioning
var tabsolute = 0;	// 	Menu positioning. 0 - static position, 1 - absolute position.
var tleft = 0;	//
var ttop = 0;	// 	X and Y coordinates of a top-left menu corner. Work if var absolute = 1.


//Floatable Menu
var tfloatable = 0;	// 	Creates a floatable menu - when the page is scrolled the menu remains visible. 0 - disabled, 1 - enabled. apytmenu_add.js file must be included into html page!
var tfloatIterations = 0;	// 	Sets a floatation speed. The less the value is the more the speed is.
//var tfloatableX = 1;	//
//var tfloatableY = 1;	// 	Set a floatable ability for the menu along X and Y axes. 0 - disabled, 1 - enabled.


//Movable Menu
var tmoveable = 0;	// 	Creates a movable menu - you can use a mouse to move a menu. 0 - disabled, 1 - enabled. apytmenu_add.js file must be included into html page!
var tmoveImage = "";	// 	Image of the drag spacer.
//var tmoveImageHeight = 0;
//var tmoveHeight = 12;	// 	Height of the drag spacer.
//var tmoveColor = "#AAAAAA";	// 	Color of the drag spacer.


//Font
var tfontStyle = "normal 10px Verdana";	// 	Font style.
var tfontColor = ["#555555","#000000"];	// 	Normal and mouseover font colors.
var tfontDecoration = ["none","underline"];	// 	Normal and mouseover font color decorations. Available values: "none", "underline", "line-through", "overline".
var tfontColorDisabled = "#CCCCCC";	// 	Font color for a disabled item. The item is disabled when its target is "_".


//Items Appearance
var titemBackColor = ["",""];	// 	Normal and mouseover background colors of items.
var titemBackImage = ["",""];	// 	Normal and mouseover background images of items.
var titemHeight = 26;	// 	Height of items.
var titemAlign       = "left";


//Icons & Buttons
var ticonWidth = 13;	// 	Width of icons.
var ticonHeight = 7;	// 	Height of icons.
var ticonAlign = "right";	// 	Alignment of icons.
var texpandBtn = ["plus.gif","plus2.gif","minus.gif"];	// 	Images for expand-buttons of items: normal, mouseover, expanded. Mouseover image is optional parameter in version 2.0.
var texpandBtnW = 9;	// 	Width of expand-buttons.
var texpandBtnH = 9;	// 	height of expand-buttons.
var texpandBtnAlign = "left" 	//Alignment of expand-buttons. Available values: "left", "right".


//Menu Appearance
var tmenuBackColor = "#FFFFFF";	// 	Background color of the menu.
var tmenuBackImage = "";	// 	Background image of the menu.
var tmenuBorderColor="#CCCCCC";	// 	Border color of the menu.
var tmenuBorderStyle = "none";	// 	Border style of the menu.
var tmenuBorderWidth = 0;	// 	Border width of the menu.

//Lines
var tpoints = 1;	// 	0 - don't show menu lines; 1 - show menu lines.
var tpointsImage = "vertical.gif";	// 	Horizontal lines image.
var tpointsVImage = "orizontal.gif";	// 	Vertical lines image.
var tpointsCImage = "terminatie.gif";	// 	Corner lines image.


//XP-Style
var tXPStyle = 1;	// 	Enables XP-style for Tree Menu. 0 - disabled, 1 - enabled.
var tXPIterations = 5;	// 	Animation speed for submenus. The less the value is the more the speed is.
//var tXPTitleTopBackColor = "";
var tXPTitleBackColor = "#f2f2f0";	// 	Background color of submenus title.
var tXPTitleBackImg = "../gol.gif";	// 	Background image of submenus title.
var tXPTitleLeft = "../gol.gif";	// 	Left border image of submenus title (used when a title has no icons).
var tXPTitleLeftWidth = 0;	// 	Width of left border image of submenus title (var tXPTitleLeft).
var tXPExpandBtn = ["sagetica_jos.gif","sagetica_jos2.gif", "sagetica_jos.gif","sagetica_jos2.gif"];	// 	Images for expand-buttons of submenus title: expanded-normal, expanded-mouseover, collapsed-normal, collapsed-mouseover.
var tXPBtnWidth = 20;	//
var tXPBtnHeight = 20;	// 	Width and height of expand-buttons of submenus title.
var tXPIconWidth = 30;	//
var tXPIconHeight = 32;	// 	Width and height of icons within submenus title.
var tXPFilter = 0;	// 	Fade effect for submenus in Internet Explorer. 0 - disabled, 1 - enabled.
var tXPBorderWidth = 10;
var tXPBorderColor = '#FFFFFF';
