function mv2_menu_draw()
{
	mv2_aff = '';

	for(a=0;a<mv2_menu.length;a++)
	{
		if(document.getElementById)
		{
			mv2_aff += '<DIV onClick=\"mv2_pos=' + a + '; mv2_menu_draw()\">' + mv2_menu[a] + '</DIV>';
		}
		else
		{
			mv2_aff += '<DIV>' + mv2_menu[a] + '</DIV>';
		}
		
		if(mv2_pos == a || !document.getElementById)
		{
			mv2_aff += '<DIV>' + mv2_lien[a] + '</DIV>';
		}
	}

	mv2_aff += '';
	
	if(document.getElementById)
	{
		document.getElementById("mv2").innerHTML = mv2_aff;
	}
	else
	{
		document.write(mv2_aff);
	}
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}


/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */


function QuestionFAQ(Question)
{
	Bloc = '<table cellspacing="0" cellpadding="3" border="0" width="550"><tr>';
	Bloc += '<td class="questionFAQ" width="100%"><a href="#" class="lienFAQ">&nbsp;' + Question + '</a></td>';
	Bloc += '</tr></table>';
	return Bloc;
}

function ReponseFAQ(Reponse)
{
	Bloc = '<table cellspacing="0" cellpadding="0" border="0" width="550">';
	Bloc += '<tr><td class="reponseFAQ" width="550">' + Reponse + '</td></tr>';
	Bloc += '<tr><td height="20"></td></tr></table>';
	return Bloc;
}

function CreerBloc(Espace, Type, Lien, Image, Tag)
{
	if (Type == 1) { ImgBloc = 'OButton.jpg'; }
	else { ImgBloc = 'NoButton.jpg'; }
	if (Espace == 1) { Bloc = '<img src="../../images/menu/vide.gif" border="0" width="100" height="8"><br>'; }
	else { Bloc = ''; }
	if (Lien == '')
	{
		Bloc += '<DIV width="200" height="25" border="0">';
	}
	else
	{
		Bloc += '<DIV onclick="MM_goToURL(\'parent.frames.page\',\'' + Lien + '\'); return document.MM_returnValue" ';
		Bloc += 'width="200" height="25" border="0">';
	}
	Bloc += '<table width="200" cellpadding="0" cellspacing="0" border="0" style="border:1pt solid #193A1B;"><tr><td>';
	Bloc += '<table width="200" cellpadding="2" cellspacing="0" border="0" background="../../images/menu/fond_bloc.jpg"><tr>';
	Bloc += '<td width="20" height="25" style="vertical-align: middle;">';
	Bloc += '<img src="../../images/menu/' + Image + '" border="0" width="20" height="20" align="left"></td>';
	Bloc += '<td width="160" height="25"  style="vertical-align: middle; color: #3399FF; ';
	Bloc += 'font: bold  Tahoma;"><a class="lien_titre">' + Tag + '</a></td>';
	Bloc += '<td width="20" height="25">';
	Bloc += '<img src="../../images/menu/bloctype' + Type + '.gif" border="0" width="17" height="17" alt=""></td></tr></table>';
	Bloc += '</td></tr></table></DIV>';
	return Bloc;
}

function FermerBloc()
{
	Bloc = '<img src="../../images/menu/vide.gif" border="0" width="100" height="8"><br>';
	return Bloc;
}

function OuvrirSousBloc()
{
	SousBloc = '<table width="200" cellpadding="0" cellspacing="0" border="0" style="border:1pt solid #193A1B;"><tr><td>';
	return SousBloc;
}

function FermerSousBloc()
{
	SousBloc = '</td></tr></table>';
	return SousBloc;
}

function CreerSousBloc(Lien, Image, Tag)
{
	SousBloc = '<table width="200" cellpadding="2" cellspacing="0" border="0">';
	SousBloc += '<tr><td width="16" height="16" class="fond_menu">';
	SousBloc += '<img src="../../images/menu/' + Image + '" border="0" width="16" height="16" align="left"></td>';
	SousBloc += '<td width="184" height="16" class="fond_menu">';
	SousBloc += '<a href="' + Lien + '" target="page" class="lien_deroul">' + Tag + '</a></td></tr></table>';
	return SousBloc;
}