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')
'#000',	// BorderColor ('color')
0,		// Padding
'transparent',	// Background ('color','transparent','[image_source]')
'',		// IEfilter (only transition filters work well - not static filters)
'width:210px!important;margin-right:12px;margin-top:10px;'		// 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
2,		// Padding
'[menu.jpg]',	// Background ('color','transparent','[image_source]')
'[Hmenu.jpg]',	// OVER Background
/*'[v_arrow.gif]',	// Background ('color','transparent','[image_source]')
'[v_arrow_over.gif]',	// OVER Background*/
'#FFFFFF',	// Color
'#BBD127',	// 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)
'#000000',	// ItemsSeparatorColor ('color','transparent')
0,		// ItemsSeparatorSpacing
true,			// UseSubMenuImage (true,false)
'[menu.gif]',	// SubMenuImageSource ('[image_source]')
'[menu.gif]',	// OverSubMenuImageSource
/*'[ttt.gif]',	// SubMenuImageSource ('[image_source]')
'[ttt.gif]',*/	// OverSubMenuImageSource
0,			// SubMenuImageWidth
0,			// SubMenuImageHeight
'0',			// SubMenuImageVAlign ('pixels from item top','middle')
'solid',		// VISITED BorderStyle
'#ebf3fb',		// VISITED BorderColor
'[Hmenu.jpg]',		// VISITED Background
'#FFFFFF',		// VISITED Color
'none',			// VISITED TextDecoration
'',	// VISITED SubMenuImageSource
'',		// CURRENT BorderStyle
'',		// CURRENT BorderColor
'[Hmenu.jpg]',		// CURRENT Background
'#07519A',		// CURRENT Color
'none',			// CURRENT TextDecoration
'',	// CURRENT SubMenuImageSource
'padding:7px 6px 2px 0px;background-repeat:no-repeat;background-position:50% 40%;height:30px;width:210px;',		// Custom additional CSS for the items (valid CSS)
'padding:7px 6px 2px 0px;background-repeat:no-repeat;background-position:50% 40%;height:30px;width:210px;',		// OVER Custom additional CSS for the items (valid CSS)
'padding:7px 6px 2px 0px;background-repeat:no-repeat;background-position:50% 40%;height:30px;width:210px;',		// CURRENT Custom additional CSS for the items (valid CSS)
'padding:7px 6px 2px 0px;background-repeat:no-repeat;background-position:50% 40%;height:30px;width:210px;'	 	// 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')
3,		// Padding
'transparent',	// 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
'',	// Background ('color','transparent','[image_source]')
'',	// OVER Background
/*'[v_arrow2.gif]',	// Background ('color','transparent','[image_source]')
'[v_arrow_over2.gif]',	// OVER Background*/
'#000',	// Color
'#FB3608',	// 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')
0,		// 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
'[v_arrow2.gif]',		// VISITED Background
'#000',		// VISITED Color
'none',			// VISITED TextDecoration
'',	// VISITED SubMenuImageSource
'',		// CURRENT BorderStyle
'',		// CURRENT BorderColor
'',		// CURRENT Background
'#000',		// 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)
]];
