textAlign = 'right';
if (lang !='far')
	textAlign = 'left';

c_styles={};
c_menus={};

c_hideTimeout=500; // 1000==1 second
c_subShowTimeout=250;
c_keepHighlighted=true;
c_findCURRENT=false; // find the item linking to the current page and apply it the CURRENT style class
c_findCURRENTTree=true;
c_overlapControlsInIE=true;

c_rightToLeft=true;// if the menu text should have "rtl" direction (e.g. Farsi, Arabic)
if (lang != 'far') {
	c_rightToLeft=false;
}

c_imagesPath="images/custom_menu/"+lang+"/"; // path to the directory containing the menu images

c_styles['MM']=[ // MainMenu (the shorter the class name the better)
[
// MENU BOX STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'',	// BorderColor ('color')
0,		// Padding
'transparent',	// 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
'',	// BorderStyle (CSS valid values except 'none')
'',	// OVER BorderStyle
'',	// BorderColor ('color')
'',	// OVER BorderColor
4,		// Padding
'[v_arrow.gif]',	// Background ('color','transparent','[image_source]')
'[v_arrow_over.gif]',	// OVER Background
'#FFFFFF',	// Color
'#FFFFFF',	// OVER Color
'12px',		// FontSize (values in CSS valid units - %,em,ex,px,pt)
'tahoma,verdana,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
textAlign,		// TextAlign ('left','center','right','justify')
8,		// ItemsSeparatorSize
'solid',	// ItemsSeparatorStyle (border-style valid values)
'#04142B',	// ItemsSeparatorColor ('color','transparent')
0,		// ItemsSeparatorSpacing
true,			// UseSubMenuImage (true,false)
'[ttt.gif]',	// SubMenuImageSource ('[image_source]')
'[ttt_over.gif]',	// OverSubMenuImageSource
0,			// SubMenuImageWidth
0,			// SubMenuImageHeight
'0',			// SubMenuImageVAlign ('pixels from item top','middle')
'solid',		// VISITED BorderStyle
'#ebf3fb',		// VISITED BorderColor
'[v_arrow.gif]',		// VISITED Background
'#FFFFFF',		// VISITED Color
'none',			// VISITED TextDecoration
'',	// VISITED SubMenuImageSource
'',		// CURRENT BorderStyle
'',		// CURRENT BorderColor
'[v_arrow.gif]',		// CURRENT Background
'#07519A',		// CURRENT Color
'none',			// CURRENT TextDecoration
'',	// CURRENT SubMenuImageSource
'',		// 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)
]];


c_styles['SM']=[ // SubMenus
[
// MENU BOX STYLE
0,		// BorderWidth
'none',	// BorderStyle (CSS valid values except 'none')
'',	// BorderColor ('color')
0,		// Padding
'#1948A0',	// Background ('color','transparent','[image_source]')[menu-tail.png]
'',		// IEfilter (only transition filters work well - not static filters)
''		// Custom additional CSS for the menu box (valid CSS)
],[
// MENU ITEMS STYLE
0,		// BorderWidth
'',	// BorderStyle (CSS valid values except 'none')
'',	// OVER BorderStyle
'',	// BorderColor ('color')
'',	// OVER BorderColor
4,		// Padding
'#1948A0',	// Background ('color','transparent','[image_source]')
'#A92C26',	// OVER Background
'#FFFFFF',	// Color
'#FFFFFF',	// OVER Color
'12px',		// FontSize (values in CSS valid units - %,em,ex,px,pt)
'tahoma,verdana,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
textAlign,		// TextAlign ('left','center','right','justify')
2,		// ItemsSeparatorSize
'solid',	// ItemsSeparatorStyle (border-style valid values)
'transparent',	// ItemsSeparatorColor ('color','transparent')
2,		// ItemsSeparatorSpacing
false,			// UseSubMenuImage (true,false)
'[ttt.gif]',	// SubMenuImageSource ('[image_source]')
'[ttt.gif]',	// OverSubMenuImageSource
'0',			// SubMenuImageWidth
'0',			// SubMenuImageHeight
'',			// SubMenuImageVAlign ('pixels from item top','middle')
'',		// VISITED BorderStyle
'',		// VISITED BorderColor
'#1948A0',		// VISITED Background
'#FFFFFF',		// VISITED Color
'none',			// VISITED TextDecoration
'',	// VISITED SubMenuImageSource
'',		// CURRENT BorderStyle
'',		// CURRENT BorderColor
'',		// CURRENT Background
'#FFFFFF',		// CURRENT Color
'none',			// CURRENT TextDecoration
'',	// CURRENT SubMenuImageSource
'',		// 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)
]];
