
i_styles={};i_menus={};

/*
 * GLOBAL
 */

i_hideTimeout = 100; // 1000 == 1s
i_subShowTimeout = 100;
i_keepHighlighted = true;
i_findCURRENT = false; // find the item linking to the current page and apply it the CURRENT style class
i_findCURRENTTree = true;
i_overlapControlsInIE = true;
i_rightToLeft = false; // if the menu text should have "rtl" direction (e.g. Hebrew, Arabic)




/*
 * MENU STYLES
 */


i_imagesPath = ""; // images directory


// MainMenu (the shorter the class name the better)
i_styles['MM'] = [ 
[
// BOX STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'#8F90C4',	// BorderColor ('color')
0,		// Padding
'#ffffff',	// Background ('color','transparent','[image_source]')
'',		// IEfilter (only transition filters work well - not static filters)
''		// Custom additional CSS for the menu box (valid CSS)
],[
// ITEMS STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'solid',	// OVER BorderStyle
'#FFF5C6',	// BorderColor ('color')
'#4d4c76',	// OVER BorderColor
2,		// Padding
'#FFFFFF',	// Background ('color','transparent','[image_source]')
'#0000CC',	// OVER Background
'#0000CC',	// Color
'#FFFFFF',	// OVER Color
'0.9em',		// FontSize (values in CSS valid units - %,em,ex,px,pt)
'verdana,arial,helvetica,sans-serif',	// FontFamily
'bold',		// FontWeight (CSS valid values - 'bold','normal','bolder','lighter','100',...,'900')
'none',		// TextDecoration (CSS valid values - 'none','underline','overline','line-through')
'none',		// OVER TextDecoration
'left',		// TextAlign ('left','center','right','justify')
10,		// ItemsSeparatorSize
'solid',	// ItemsSeparatorStyle (border-style valid values)
'#ffffff',	// ItemsSeparatorColor ('color','transparent')
0,		// ItemsSeparatorSpacing
false,			// UseSubMenuImage (true,false)
'[/js/hydrosila/icon_ha.gif]',	// SubMenuImageSource ('[image_source]')
'[/js/hydrosila/icon_hao.gif]',	// OverSubMenuImageSource
7,			// SubMenuImageWidth
4,			// SubMenuImageHeight
'middle',		// SubMenuImageVAlign ('pixels from item top','middle')
'solid',		// VISITED BorderStyle
'#FFF5C6',		// VISITED BorderColor
'#ffffff',		// VISITED Background
'#0000cc',		// VISITED Color
'none',			// VISITED TextDecoration
'[/js/hydrosila/icon_ha.gif]',	// VISITED SubMenuImageSource
'solid',		// CURRENT BorderStyle
'#CBCBEF',		// CURRENT BorderColor
'#FFFBF0',		// CURRENT Background
'#0000cc',		// CURRENT Color
'none',			// CURRENT TextDecoration
'[/js/hydrosila/icon_ha.gif]',	// CURRENT SubMenuImageSource
'padding-left:10px;padding-right:10px;',		// Custom additional CSS for the items (valid CSS)
'',		// OVER Custom additional CSS for the items (valid CSS)
'',		// CURRENT Custom additional CSS for the items (valid CSS)
''		// VISITED Custom additional CSS for the items (valid CSS)
]];


// SubMenus
i_styles['SM'] = [ 
[
// MENU BOX STYLE
1,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'#0000cc',	// BorderColor ('color')
2,		// Padding
'#ffffff',	// Background ('color','transparent','[image_source]')
'',		// IEfilter (only transition filters work well - not static filters)
''		// Custom additional CSS for the menu box (valid CSS)
],[
// MENU ITEMS STYLE
0,		// BorderWidth
'none',	// BorderStyle (CSS valid values except 'none')
'none',	// OVER BorderStyle
'#0000cc',	// BorderColor ('color')
'#4D4C76',	// OVER BorderColor
2,		// Padding
'#ffffff',	// Background ('color','transparent','[image_source]')
'#0000cc',	// OVER Background
'#000000',	// Color
'#ffffff',	// OVER Color
'0.9em',		// FontSize (values in CSS valid units - %,em,ex,px,pt)
'arial,helvetica,sans-serif',	// FontFamily
'normal',	// FontWeight (CSS valid values - 'bold','normal','bolder','lighter','100',...,'900')
'none',		// TextDecoration (CSS valid values - 'none','underline','overline','line-through')
'none',		// OVER TextDecoration
'left',		// TextAlign ('left','center','right','justify')
0,		// ItemsSeparatorSize
'solid',	// ItemsSeparatorStyle (border-style valid values)
'#CBCBEF',	// ItemsSeparatorColor ('color','transparent')
0,		// ItemsSeparatorSpacing
true,			// UseSubMenuImage (true,false)
'[/js/hydrosila/icon_va.gif]',	// SubMenuImageSource ('[image_source]')
'[/js/hydrosila/icon_vao.gif]',	// OverSubMenuImageSource
7,			// SubMenuImageWidth
7,			// SubMenuImageHeight
'middle',			// SubMenuImageVAlign ('pixels from item top','middle')
'solid',		// VISITED BorderStyle
'#000000',		// VISITED BorderColor
'#ffffff',		// VISITED Background
'#000000',		// VISITED Color
'none',			// VISITED TextDecoration
'[/js/hydrosila/icon_va.gif]',	// VISITED SubMenuImageSource
'none',		// CURRENT BorderStyle
'#CBCBEF',		// CURRENT BorderColor
'#ffffff',		// CURRENT Background
'#252455',		// CURRENT Color
'none',			// CURRENT TextDecoration
'[/js/hydrosila/icon_va.gif]',	// CURRENT SubMenuImageSource
'padding-left:7px;padding-right:7px;',		// Custom additional CSS for the items (valid CSS)
'',		// OVER Custom additional CSS for the items (valid CSS)
'',		// CURRENT Custom additional CSS for the items (valid CSS)
''		// VISITED Custom additional CSS for the items (valid CSS)
]];




/*
 * TREE FEATURES
 *
 * Normally you would probably have just one menu tree (i.e. one main menu with sub menus).
 * But you are actually not limited to just one and you can have as many menu trees as you like. 
 * Just copy/paste a config block below and configure it for another UL element if you like.
 */


// the UL element with id = "MainMenu"
i_menus['MainMenu'] = [ 
[
// MAIN-MENU FEATURES
'horizontal',	// ItemsArrangement ('vertical','horizontal')
'relative',	// Position ('relative','absolute','fixed')
'0px',		// X Position (values in CSS valid units- px,em,ex)
'0px',		// Y Position (values in CSS valid units- px,em,ex)
false,		// RightToLeft display of the sub menus
false,		// BottomToTop display of the sub menus
0,		// X SubMenuOffset (pixels)
0,		// Y SubMenuOffset
'10em',		// Width (values in CSS valid units - px,em,ex) (matters for main menu with 'vertical' ItemsArrangement only)
'MM',		// CSS Class (one of the defined in section 2)
false		// Open sub-menus onclick (default is onmouseover)
],[
// SUB-MENUS FEATURES
0,		// X SubMenuOffset (pixels)
0,		// Y SubMenuOffset
'auto',		// Width ('auto',values in CSS valid units - px,em,ex)
'100',		// MinWidth ('pixels') (matters/useful if Width is set 'auto')
'300',		// MaxWidth ('pixels') (matters/useful if Width is set 'auto')
'SM',		// CSS Class (one of the defined in section 2)
false		// Open sub-menus onclick (default is onmouseover)
]];