document.write('<STYLE TYPE="text/css">\na.mv2style { margin-left:15px; font-size:12px; color:#FFFFFF;text-decoration:none;}\na:hover.mv2style {color:#EECDA5;text-decoration:underlined;}\n</STYLE>');
document.write('<STYLE TYPE="text/css">\na.mv2style_wam { font-size:12px; color:#EECDA5;text-decoration:none;}\na:hover.mv2style_wam {color:#ffffff;text-decoration:underlined;}\n</STYLE>');
document.write('<STYLE TYPE="text/css">\na.accueil {color:#006FBA;text-decoration:none;}\na:hover.accueil {color:#006FBA;text-decoration:underlined;}\n</STYLE>');
document.write('<STYLE TYPE="text/css">\na.envoi {color:#999999;text-decoration:none;}\na:hover.envoi {color:#999999;text-decoration:underlined;}\n</STYLE>');

url_long = window.location.href;

mv2_menu = new Array();
mv2_lien = new Array();

mv2_menu[0] = ' <b>Tous les jouets</b>';
mv2_menu[1] = ' <b>Nos magasins</b>';
mv2_menu[2] = ' <b>La Grande Récré</b>';
mv2_menu[3] = ' <b><A HREF="http://lagranderecre.profils.org/recrutement"  CLASS=mv2style target="_blank" STYLE="margin-left:0px;">Recrutement</A></b>';



mv2_lien[0] = ''
mv2_lien[0] += '<A HREF="rech.php?menuval=0" CLASS=mv2style_wam> . Rechercher</A><BR>';
mv2_lien[0] += '<A HREF="nouv.php?menuval=0" CLASS=mv2style_wam> . Nouveautés</A><BR>';
//mv2_lien[0] += '<A HREF="eve_catalogue.php?menuval=0" CLASS=mv2style_wam> . Catalogue</A><BR>';
mv2_lien[0] += '<A HREF="sour.php?menuval=0" CLASS=mv2style_wam> . Nos Labels</A><BR>';
mv2_lien[0] += '<A HREF="parents_conseils.php?menuval=0" CLASS=mv2style_wam> . Les parents conseils</A><BR>';

mv2_lien[1] = ''
mv2_lien[1] += '<A HREF="fran.php?menuval=1" CLASS=mv2style_wam> . Belgique</A><BR>';
mv2_lien[1] += '<A HREF="int.php?menuval=1" CLASS=mv2style_wam> . International</A><BR>';

mv2_lien[2] = ''
mv2_lien[2] += '<A HREF="ent.php?menuval=2" CLASS=mv2style_wam> . La Grande Récré</A><BR>';
mv2_lien[2] += '<A HREF="enf.php?menuval=2" CLASS=mv2style_wam> . Le jouet et l\'enfant</A><BR>';
mv2_lien[2] += '<A HREF="cheques_cadeaux.php?menuval=2" CLASS=mv2style_wam> . Les chèques cadeaux</A><BR>';

mv2_lien[3] = '';

url = window.location.href;
str_valeur = url.substring(url.indexOf("menuval="), url.length);

if(str_valeur.indexOf("&") != -1) {
	str_valeur = str_valeur.substring(("menuval=").length, str_valeur.indexOf("&"));
} else {
	str_valeur = str_valeur.substring(("menuval=").length, str_valeur.length);
}


if(str_valeur == "") {
	mv2_pos = -1;
} else {
	mv2_pos = str_valeur;
}

function mv2_menu_draw()
	{
	if(url.indexOf("?") != -1)		
		mv2_aff = "<font size='1' face='Arial, Helvetica, sans-serif'><a href='index.php' target='_top' class='accueil'>RETOUR À L'ACCUEIL</a><br></font>";
	else 
		mv2_aff = "<font size='1' face='Arial, Helvetica, sans-serif'><br></font>";

	mv2_aff += "<table width='160' border='0' cellpadding='0' cellspacing='0'><tr><td width='140' height='34'><img src='img/nav_001.jpg' width='140' height='34'></td><td width='20' height='34'><img src='img/nav_002.jpg' width='20' height='34'></td></tr><tr><td width='154' valign='top' bgcolor='#87cf41'><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>";
	
	for(a=0;a<mv2_menu.length;a++)
		{
		if(mv2_pos == a || !document.getElementById)
			bgcolor = "#4aabdc";
		else
			bgcolor = "#4aabdc";
	if(document.getElementById)
			mv2_aff += "<TR><TD BGCOLOR="+bgcolor+" height='20'><A HREF=\"#\"  onClick=\"mv2_pos="+a+";mv2_menu_draw()\" CLASS=mv2style><FONT FACE=\"Arial\" SIZE=2>"+mv2_menu[a]+"</FONT></A></TD></TR><TR><TD BGCOLOR="+bgcolor+"><img src='img/nav_003.gif' width='140' height='1'></TD></TR><td>";
		else
			mv2_aff += "<TR><TD BGCOLOR="+bgcolor+"><FONT FACE=\"Arial\" SIZE=2 COLOR=#FFFFFF>"+mv2_menu[a]+"</FONT></TD></TR><TR><TD BGCOLOR="+bgcolor+"><img src='img/nav_003.gif' width='140' height='1'></TD></TR>"
	if(mv2_pos == a || !document.getElementById)
			mv2_aff += "<TR><TD BGCOLOR="+bgcolor+"><FONT FACE=\"Arial\" SIZE=1>"+mv2_lien[a]+"</FONT></TD></TR><TR><TD BGCOLOR="+bgcolor+"></TD></TR>";
		}
		
url_replace = url_long.replace("&", "$");		
while(url_replace.indexOf("&") >= 0) {
	url_replace = url_replace.replace("&", "$");
}


	mv2_aff += "</TABLE></td><td width='6' style='background: url(img/nav_004.gif) repeat-y right #4aabdc'><img src='transparent.gif' width='1' height='1'></td></tr><tr><td width='140' rowspan='2' valign='bottom' bgcolor='#196acd'><img src='img/nav_006.jpg' width='140' ></td><td width='20' background='img/nav_004.gif'></td></tr><tr><td width='20' height='40' valign='bottom'  style='background: url(img/nav_004.gif) repeat-y right #196acd' ><img src='img/nav_007.jpg' width='20'><img src='img/nav_008.jpg' width='20'></td></tr></table><img src='img/transparent.gif' width='10' height='10'><font size='1' face='Arial, Helvetica, sans-serif'><a href='#2nav.php' class='envoi' onClick='PopupCentrer(\"envoi.php?url="+url_replace+"\",470,400,\"menubar=no,scrollbars=no,statusbar=no\")'>ENVOYER CETTE PAGE</a></font>";
	if(document.getElementById)
		document.getElementById("mv2").innerHTML = mv2_aff;
	else
		document.write(mv2_aff);
	}

mv2_menu_draw();
