/* ------------------------------------------------------------------------------ */
/* USAGE STRICTEMENT RESERVE A SIMONE CAMINADE INTERNATIONAL INC ET A SES CLIENTS */
/* TOUTE UTILISATION FRAUDULEUSE FERA L'OBJET D'UN DEPOT DE PLAINTE               */
/* ------------------------------------------------------------------------------ */


var states = ['mout', 'mover', 'mdown'];

/* Tigra Menu PRO items structure */
var MENU_ITEMS = [
	[wrap_parent('<B>A</B>ccueil'), ['Accueil.asp', '_self'], [0, , 70]],
	[wrap_parent('<B>S</B>ervices','d'), null, [70, , 100],
		[wrap_child('<SPAN CLASS="Menu_Gras"><B>I</B>nternet</SPAN>',null), ['Internet.asp', '_self'], [0, , 100]],
		[wrap_child('<SPAN CLASS="Menu_Gras"><B>F</B>ormation</SPAN>',null), ['Formation.asp', '_self'], [, , 100]],
		[wrap_child('<SPAN CLASS="Menu_Gras"><B>C</B>onsultants & <B>E</B>xperts</SPAN>',null), ['Consultants_Experts.asp', '_self'], [, , 100,40]],
		[wrap_child('<SPAN CLASS="Menu_Gras"><B>C</B>ommunication</SPAN>', null), ['Communication.asp', '_self'], [,40 , 100]]
		],
	[wrap_parent('<B>S</B>olutions &nbsp; <B>e-RH</B>', 'd'), null, [100, , 150],
		[wrap_child('<SPAN CLASS="Menu_Gras"><B>Galilée</B></SPAN><BR>Pilotage de la Formation Professionnelle',null), ['Galilee.asp', '_self'], [0, , 150, 53]],
		[wrap_child('<SPAN CLASS="Menu_Gras"><B>Copernic</B></SPAN><BR>Gestion des Relations',null), ['Copernic.asp', '_self'], [, 53, 150, 40]],
		[wrap_child('<SPAN CLASS="Menu_Gras"><B>Ptolémée</B></SPAN><BR>Gestion des Habilitations',null), ['Ptolemee.asp', '_self'], [, 40, 150, 40]],
		[wrap_child('<SPAN CLASS="Menu_Gras"><B>Hipparcos</B></SPAN><BR>Gestion des Questionnaires',null), ['Hipparcos.asp', '_self'], [, 40, 150, 40]]
		],
	[wrap_parent('<B>R</B>éférences', null), ['References.asp', '_self'], [150, , 100]],
	[wrap_parent('<B>C</B>ontact', null), ['Contact.asp', '_self'], [100, , 80]],
	[wrap_parent('<B>N</B>ews', null), ['News_afficher.asp', '_self'], [80, , 80]]
];


function wrap_parent (text, pos, icon) {
	var res = new Array;
	for (var i=0; i<states.length; i++)
		res[i] =  '<table align=center cellpadding="0" cellspacing="0" border="0" height="100%" ><tr><td style="padding-right:10px;" align=left valign="middle">' + (icon != null ? '<img src="../images/'  + icon + '" height="16">' : '') + '</td><td valign="middle" class="m0l0' + states[i] + 'i">' + text + '</td><td width="20" align="right" valign="middle">' + (pos != null ? '<img src="../images/' + states[i] + '_' + pos + 'arrow.gif" width="12" height="12" border=0>' : '') + '</td></tr></table>';
	return res;
}

function wrap_SousParent (text, pos, icon) {
	var res = new Array;
	for (var i=0; i<states.length; i++)
		res[i] =  '<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td align=left valign="middle">' + (icon != null ? '<img src="../images/'  + icon + '" height="16">' : '') + '</td><td valign="middle" class="m0l1' + states[i] + 'i">' + text + '</td><td width="20" align="right" valign="middle"><img src="../images' + states[i] + '_' + pos + 'arrow.gif" width="12" height="12"></td></tr></table>';
	return res;
}

function wrap_child (text, icon) {
	var res = new Array;
	for (var i=0; i<states.length; i++)
		res[i] =  '<table cellpadding="4" cellspacing="0" border="0" width="100%"><tr>' + (icon != null ? '<td style="padding:3px;" width="24" valign="middle"><img src="../images/'  + icon + '" height="16" border=0 align="absmiddle"></td>' : '') + '<td valign="middle" class="m0l1' + states[i] + 'i">' + text + '</td></tr></table>';
	return res;
}
