	var MENU_POS = [
// Level 0 block configuration
{
	// Item's height in pixels
	'height'     : 24,
	// Item's width in pixels
	'width'      : 95,
	// Block outing table parameters:
	'vertical'   : false,
	// [cellpadding, cellspacing, border]
	'table'      : [0, 0, 0],
	// Time Delay in milliseconds before o_block block expands
	// after mouse pointer overs an item
	'expd_delay' : 0,
	// Time Delay in milliseconds before menu collapses after mouse
	// pointer lefts all items
	'hide_delay' : 200,
	// Style class names for the level
	'css' : {
		// Block outing table class
		'table' : '',
		// Item outer tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'outer' : ['mouto1', 'movero1', 'mdowno1'],
		// Item inner tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'inner' : ''
	},
	// level shadow scope settings
	'shadow' : {
		// horisontal offset of the shadow in pixels
		'offX' : 6,
	// vertical offset of the shadow in pixels
		'offY' : 5,
		// color of the shadow
		'color' : '#A0A0A0'
	},
	// block behaviour if single frame:	
	// 1 - shift to the edge, 2 - flip relatively to left upper corner
	'wise_pos'   : 2,
	// menu opacity
	'opacity' : 90,
	// menu effect
	'transition' : ['progid:DXImageTransform.Microsoft.Fade(Duration=0.55)',
	'progid:DXImageTransform.Microsoft.Fade(Duration=0.55)']
},
// Level 1 block configuration
{
	'width'      : 160,
	// Vertical Offset between adjacent levels in pixels
	'block_top'  : 24,
	// Horizontal Offset between adjacent levels in pixels
	'block_left' : 0,
	'css' : {
		// Block outing table class
		'table' : 'mtable',
		// Item outer tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'outer' : ['mouto', 'movero', 'mdowno'],
		// Item inner tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'inner' : 'minner'
	},
	'vertical'   : true
},
// Level 2 block configuration
{
	'block_top'  : 11,
	'block_left' : 125
}

//o_block level configurations are inherited from level 3

]

function wrap_root (text) {
	var res = []; 
	for (var i=0; i<3; i++)
		//res[i] = ['&nbsp;', text, '&nbsp;<img src="icons/', i, 'darrow.gif" width="12" height="12" align="absmiddle">&nbsp;'].join('');
		res[i] = ['', text, ].join('');
	return res;
}

function wrap_parent (text,pos,icon) {
	var res=[];
	for (var i=0; i<3; i++)
		//res[i]=['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% class="minner">&nbsp;', icon == null ? '' : ('<img height="16" width="15" src="' + (icon ? 'icons/'+icon : 'menu_files/pixel') + '.gif" align="absmiddle">'), ' ', text, '</td>', pos?['<td nowrap>&nbsp;<img src="icons/', i, 'rarrow.gif" width=12 height=12 align="absmiddle">&nbsp;</td>'].join(''):'', '</tr></table>'].join('');
		res[i] = ['', text, ].join('');
	return res;
}

function wrap_child (text,pos,icon) {
	var res=[];
	for (var i=0; i<3; i++)
		//res[i]=['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% class="minner">&nbsp;', icon == null ? '' : ('<img height="16" width="15" src="' + (icon ? 'icons/'+icon : 'menu_files/pixel') + '.gif" align="absmiddle">'), ' ', text, '</td>', pos?['<td nowrap>&nbsp;<img src="icons/', i, 'rarrow.gif" width=12 height=12 align="absmiddle">&nbsp;</td>'].join(''):'', '</tr></table>'].join('');
		res[i] = ['', text, ].join('');
	return res;
}
