list = new Array;
valeur_list = new Array;
positionnement = document.location.href.indexOf("?",0);
if(positionnement >= 0)
	{
	query_string = document.location.href.substring(positionnement+1, document.location.href.length);
	positionnement_and = query_string.indexOf("&",0);
	if(positionnement_and >= 0)
		list = query_string.split("&");
	else
		list[0] = query_string;
	for (i=0;i<list.length;i++)
		{
		temp = list[i].split("=");
		vari = temp[0];
		valeur = temp[1];
		plusplus = valeur.indexOf("+",0);
		while (plusplus >-1)
			{
			temp2 = valeur.substring(0,plusplus) + ' ' + valeur.substring(plusplus+1,valeur.length);
			valeur = temp2;
			plusplus = valeur.indexOf("+",plusplus+2);
			}
		valeur_list[vari] = valeur;
		}
	}

function get(get_var)
	{
	if(valeur_list[get_var])
		return(unescape(valeur_list[get_var]));
	else
		return("");
	}







hauteurcadre = 18;

xmenu = new Array;
xlien = new Array;

xmenu[0] = '<a href="../fr/"><font color=#AFC0D0>Accueil</font></a>';
xmenu[1] = '<a href="../fr/cw.php?menu=cw"><font color=#AFC0D0>Conception web</font></a>';
xmenu[2] = '<a href="../fr/cw.php?menu=cw" onclick="window.open(\'../fr/?menu=devisonline&go=menu_general_devisonline\',\'devis\',\'toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=1,menuBar=0,width=640,height=480\');"><b><font color=#AFC0D0>Devis en ligne</font></b></a>';
xmenu[3] = '<a href=# onClick="window.open(\'../fr/?menu=dp&js=devis\',\'dp\',\'width=512,Height=384\');"><font color=#AFC0D0>Devis personnalisé</font></a>';
xmenu[4] = '<font color=#AFC0D0>Contacts</font>';


xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''
xlien[0] += '<A HREF="../fr/ia.php"><font size=1  color=#5F778F>Internet Aujourd\'hui</font></A>';
xlien[0] += '&nbsp;&nbsp;<font size=1 color=#5F778F>|</FONT>&nbsp;&nbsp;';
xlien[0] += '<A HREF="../fr/no.php"><font size=1 color=#5F778F>Notre Objectif</font></A>';
xlien[0] += '&nbsp;&nbsp;<font size=1 color=#5F778F>|</FONT>&nbsp;&nbsp;';
xlien[0] += '<A HREF="../fr/rea.php"><font size=1 color=#5F778F>Réalisations</font></A>';



xlien[1] += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
xlien[1] += '<A HREF="../fr/cw.php?menu=cw" ><font size=1  color=#5F778F>Création de sites</font></A>';
xlien[1] += '&nbsp;&nbsp;<font size=1  color=#5F778F>|</font>&nbsp;&nbsp;';
xlien[1] += '<A HREF="../fr/re.php?menu=re" ><font size=1  color=#5F778F>Refonte de sites</font></A>';
xlien[1] += '&nbsp;&nbsp;<font size=1  color=#5F778F>|</font>&nbsp;&nbsp;';
xlien[1] += '<A HREF="../fr/nos.php?menu=nos" ><font size=1  color=#5F778F>Nos objectifs</font></A>';

xlien[4] += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
xlien[4] += '<A HREF="../fr/coor.php?menu=coor" ><font size=1  color=#5F778F>Coordonnées</font></A>';
xlien[4] += '&nbsp;&nbsp;<font size=1  color=#5F778F>|</font>&nbsp;&nbsp;';
xlien[4] += '<A HREF="#" onClick="window.open(\'../fr/?menu=contact\',\'contact\',\'width=512,Height=384\')" ><font size=1  color=#5F778F>Formulaire en ligne</font></A>';

document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#000000; text-decoration:none;}\nA:hover.menudyn3 {color:#000000;text-decoration:none;}\n</STYLE>');

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100% BGCOLOR=#FFFFFF>  <TR><TD><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%>  <TR>');

for(i=0;i<xlien.length;i++)

{

	document.write('<TD BGCOLOR=#000000 onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=1 FACE="Verdana"><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A></FONT></TD>');
	}
document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR=#E0E8EF VALIGN=bottom background="../picts/1/sous_menu.gif" HEIGHT='+hauteurcadre+' align=left><ilayer id="dynamenu31" width=100% height='+hauteurcadre+'><layer id="dynamenu32" width=100% height='+hauteurcadre+'><div id="dynamenu33">&nbsp;</div></layer></ilayer></TD>  </TR></TABLE></TD></TR></TABLE>');

function colorIt(tditem)
	{
	if(document.all)
		{
	document.all.td0.style.background='#5F778F';
	document.all.td1.style.background='#5F778F';
	document.all.td2.style.background='#5F778F';
	document.all.td3.style.background='#5F778F';
	document.all.td4.style.background='#5F778F';
	
		tditem.style.background='#5F778F';
		}
else if(document.getElementById)
	{
	document.getElementById("td0").style.background='#5F778F';
	document.getElementById("td1").style.background='#5F778F';
	document.getElementById("td2").style.background='#5F778F';
	document.getElementById("td3").style.background='#5F778F';
	document.getElementById("td4").style.background='#5F778F';
	
tditem.style.background='#5F778F';
	}
}

function MajMenu(menu)
	{
	which = xlien[menu];

if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=1 FACE="Verdana">'+which+'</FONT>')
	document.dynamenu31.document.dynamenu32.document.close()
	}
else if (document.getElementById)
			{
			document.getElementById("dynamenu33").innerHTML = '<FONT SIZE=1 FACE="Verdana, Arial">'+which+'</FONT>';
			}
else 	if (document.all){
	dynamenu33.innerHTML='&nbsp;'
	dynamenu33.innerHTML='<FONT SIZE=1 FACE="Verdana">'+which+'</FONT>';
	}
}
if (document.getElementById)
	colorIt(document.getElementById("td0"));
else if (document.all){
	colorIt(document.all.td0);
	}

	testvar=get("menu");
	menu=0;
	if (testvar=="nos")
	menu=1;
	if (testvar=="re")
	menu=1;
	if (testvar=="cw")
	menu=1;
	if (testvar=="coor")
	menu=4;




MajMenu(menu);


