
//-----------------------------------------------------------------------------------------------------------

	var MENU_POSV=[
// Level 0 block configuration
{
	// Item's height in pixels
	'height'     : 29,
	// Item's width in pixels
	'width'      : 235,
	// Vertical Offset between adjacent levels in pixels
	//'block_top'  : 0,
	// Horizontal Offset between adjacent levels in pixels
	//'block_left' : 0,
	// if Block Orientation is vertical
	'vertical'   : true,
	// Block outing table parameters:
	// [cellpadding, cellspacing, border]
	'table'      : [0, 0, 0],
	// Time Delay in milliseconds before o_block block expands
	// after mouse pointer overs an item
	'expd_delay' : 5,
	// Time Delay in milliseconds before menu collapses after mouse
	// pointer leafs all items
	'hide_delay' : 30,
	// Style class names for the level
	'css' : {
		// Block outing table class
		'table' : 'mtable1',
		// 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' : 'minner0'
	},
	'transition' : ['progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.55)', 'progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.55)'],
	// level shadow scope settings
	'shadow' : {
		// horisontal offset of the shadow in pixels
		'offX' : 4,
	// vertical offset of the shadow in pixels
		'offY' : 3,
		// color of the shadow
		'color' : '#777777'
	},
	'opacity' : 90
},
// Level 1 block configuration
{
	'width'      : 150,
	// Vertical Offset between adjacent levels in pixels
	'block_top'  : 22,
	// Horizontal Offset between adjacent levels in pixels
	'block_left' : 10,
	// block behaviour if single frame:	
	// 1 - shift to the edge, 2 - flip relatively to left upper corner
	'wise_pos'   : 2,
	'vertical'   : true,
	'transition' : [ 'progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=.5)']
},
// Level 2 block configuration
{
	'block_top'  : 11,
	'block_left' : 125,
	'transition' : [ 'progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.55)']
},
// Level 3 block configuration
{
	'block_left' : 195,
	'transition' : ['progid:DXImageTransform.Microsoft.CrStretch(stretchStyle=PUSH)']
}
	//o_block level configurations are inherited from level 3
]


function wrap_root (text) {
			var res = []; 
			for (var i=0; i<3; i++)
				res[i] = ['<table cellpadding=0 cellspacing=0 border=0 width=100% class="movero2"><tr><td width=100%>', text, '</td><td nowrap>&nbsp;<img src="/sms_icons/1rarrow.gif" width=12 height=12 align="absmiddle">&nbsp;</td></tr></table>'].join('');
			return res;
		}

function wrap_blue (text) {
	var res=[];
	for (var i=0; i<3; i++)
		res[i]=['<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="/tabmenu_files/blue',
			(i?2:1),'_l.gif" width="8" height="36" border="0"></td><td style="padding-bottom:5" background="/tabmenu_files/blue',
			(i?2:1),'_m.gif" class="textoblanco" width="100%">',text,'</td><td><img src="/tabmenu_files/blue',
			(i?2:1),'_r.gif" width="8" height="36" border="0"></td></tr></table>'
		].join('');
	return res;
}

function wrap_blue_end (text) {
	var res=[];
	for (var i=0; i<3; i++)
		res[i]=['<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="/tabmenu_files/blue',
			(i?2:1),'_l.gif" width="8" height="36" border="0"></td><td  style="padding-bottom:5" background="/tabmenu_files/blue',
			(i?2:1),'_m.gif" class="textoblanco" width="100%">',text,'</td><td><img src="/tabmenu_files/blue',
			(i?2:1),'_r_end.gif" width="8" height="36" border="0"></td></tr></table>'
		].join('');
	return res;
}

function wrap_or (text) {
	var res=[];
	for (var i=0; i<3; i++)
		res[i]=['<table cellpadding="0" cellspacing="0" border="0" ><tr><td><img src="/tabmenu_files/or',
			(i?2:1),'_l.gif" width="8" height="36" border="0"></td><td   style="padding-bottom:5" background="/tabmenu_files/or',
			(i?2:1),'_m.gif" class="textoblanco" width="100%">',text,'</td><td><img src="/tabmenu_files/or',
			(i?2:1),'_r.gif" width="8" height="36" border="0"></td></tr></table>'
		].join('');
	return res;
}
function wrap_or_end (text) {
	var res=[];
	for (var i=0; i<3; i++)
		res[i]=['<table cellpadding="0" cellspacing="0" border="0" ><tr><td><img src="/tabmenu_files/or',
			(i?2:1),'_l.gif" width="8" height="36" border="0"></td><td  style="padding-bottom:5"  background="/tabmenu_files/or',
			(i?2:1),'_m.gif" class="textoblanco" width="100%">',text,'</td><td><img src="/tabmenu_files/or',
			(i?2:1),'_r_end.gif" width="8" height="36" border="0"></td></tr></table>'
		].join('');
	return res;
}


var MENUTAB1_POS = [
// Level 0 block configuration
{
	// Item's height in pixels
	'height'     : 23,
	// Item's width in pixels
	'width'      : 90,
	// if Block Orientation is vertical
	'vertical'   : false,
	// Block outing table parameters:
	// [cellpadding, cellspacing, border]
	'table'      : [0, 0, 0],
	// Time Delay in milliseconds before o_block block expands
	// after mouse pointer overs an item
	'expd_delay' : 300,
	// Time Delay in milliseconds before menu collapses after mouse
	// pointer leafs all items
	'hide_delay' : 300,
	// Style class names for the level
	'css' : {
		// Block outing table class
		'table' : 'tmtable',
		// Item outer tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'outer' : 'tmouter',
		// Item inner tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'inner' : 'tminner'
	}
},
// Level 1 block configuration
{
	'width'      : 88,
	// Vertical Offset between adjacent levels in pixels
	'block_top'  : 24,
	// Horizontal Offset between adjacent levels in pixels
	'block_left' : 0,
	// block behaviour if single frame:	
	// 1 - shift to the edge, 2 - flip relatively to left upper corner
	'wise_pos'   : 2,
	'vertical'   : true,
	'transition' : [ 'progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=.5)'],
	// level shadow scope settings
	'shadow' : {
		// horisontal offset of the shadow in pixels
		'offX' : 4,
	// vertical offset of the shadow in pixels
		'offY' : 3,
		// color of the shadow
		'color' : '#777777'
	},
	'opacity' : 90,
	// Style class names for the level
	'css' : {
		// Block outing table class
		'table' : 'tm1table2',
		// Item outer tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'outer' : ['tm1out2', 'tm1over2', 'tm1over2'],
		// Item inner tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'inner' : 'tminner2'
	}
},
// Level 2 block configuration
{
	'width'      : 100,
	'block_top'  : 11,
	'block_left' : 100
},
// Level 3 block configuration
{
	'block_left' : 195
}
	//rest level configurations are inherited from level 3
]

var MENUTAB2_POS = [
// Level 0 block configuration
{
	// Item's height in pixels
	'height'     : 23,
	// Item's width in pixels
	'width'      : 94,
	// if Block Orientation is vertical
	'vertical'   : false,
	// Block outing table parameters:
	// [cellpadding, cellspacing, border]
	'table'      : [0, 0, 0],
	// Time Delay in milliseconds before o_block block expands
	// after mouse pointer overs an item
	'expd_delay' : 300,
	// Time Delay in milliseconds before menu collapses after mouse
	// pointer leafs all items
	'hide_delay' : 300,
	// Style class names for the level
	'css' : {
		// Block outing table class
		'table' : 'tmtable',
		// Item outer tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'outer' : 'tmouter',
		// Item inner tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'inner' : 'tminner'
	}
},
// Level 1 block configuration
{
	'width'      : 140,
	// Vertical Offset between adjacent levels in pixels
	'block_top'  : 24,
	// Horizontal Offset between adjacent levels in pixels
	'block_left' : 0,
	// block behaviour if single frame:	
	// 1 - shift to the edge, 2 - flip relatively to left upper corner
	'wise_pos'   : 2,
	'vertical'   : true,
	'transition' : [ 'progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=.5)'],
	// level shadow scope settings
	'shadow' : {
		// horisontal offset of the shadow in pixels
		'offX' : 4,
	// vertical offset of the shadow in pixels
		'offY' : 3,
		// color of the shadow
		'color' : '#777777'
	},
	'opacity' : 90,
	// Style class names for the level
	'css' : {
		// Block outing table class
		'table' : 'tm2table2',
		// Item outer tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'outer' : ['tm2out2', 'tm2over2', 'tm2over2'],
		// Item inner tag style class for all item states or
		// classes for [<default state>, <hovered state>, <clicked state>]
		'inner' : 'tminner2'
	}
},
// Level 2 block configuration
{
	'width'      : 160,
	'block_top'  : 11,
	'block_left' : 130
},
// Level 3 block configuration
{
	'block_left' : 160
}
	//rest level configurations are inherited from level 3
]