/*
  --- menu level scope settins structure --- 
  note that this structure has changed its format since previous version.
  Now this structure has the same layout as Tigra Menu GOLD.
  Format description can be found in product documentation.
*/

//sert au positionnement relatif du menu
function largeur_fenetre()
{
if (window.innerWidth) return window.innerWidth;
 else if (document.body && document.body.offsetWidth) return document.body.offsetWidth+39;
 else return 0;
}

var d = (largeur_fenetre()-640)/2; //distance entre le bord gauche et l'en-tête, 640 = largeur de l'en-tête
var l; //distance entre le bord gauche et le menu

if (d > 50) l = d+30; //distance variable en fonction de la largeur de la fenêtre
	else l = 50 + 30; //distance fixe


var MENU_POS = [{
	// item sizes
	'height': 24,
	'width': 115,
	// menu block offset from the origin:
	//	for root level origin is upper left corner of the page
	//	for other levels origin is upper left corner of parent item
	
	'block_top': 110,
	'block_left': l,//285,
	// offsets between items of the same level
	'top': 0,
	'left': 103,
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	'hide_delay': 400,
	'expd_delay': 0,
	'css' : {
		'outer' : ['m0l0oout', 'm0l0oover'],
		'inner' : ['m0l0iout', 'm0l0iover']
	}
},{
	'height': 24,
	'width': 124,
	'block_top': 25,
	'block_left': 15,
	'top': 24,
	'left': 0,
	'css' : {
		'outer' : ['m0l1oout', 'm0l1oover'],
		'inner' : ['m0l1iout', 'm0l1iover']
	}
},{
	'block_top': 5,
	'block_left': 120//160
}
]

