/*
SCRIPT TROUVE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

/* A REGLER MANUELLEMENT SI LE CADRE EST TROP PETIT */
hauteurcadre = 20;

xmenu = new Array;
xlien = new Array;

xmenu[0] = '<A HREF="http://www.editions-populart.com/index.html" CLASS=menudyn3>Accueil</A>  | ';
xmenu[1] = 'La collec\'  | ';
xmenu[2] = 'Les photographes  | ';
xmenu[3] = 'Bonnes adresses  | ';
xmenu[4] = 'Les éditions popul\'art';


xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''
xlien[1] += '<A HREF="http://www.editions-populart.com/collection.html" CLASS=menudyn3>Découvrir la collec\'</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.editions-populart.com/cartes.html" CLASS=menudyn3>Cartes postales</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.editions-populart.com/affiches.html" CLASS=menudyn3>Affiches</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.editions-populart.com/innovants.html" CLASS=menudyn3>Tableaux</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.editions-populart.com/technique.html" CLASS=menudyn3>Un brin de technique</A>';
xlien[2] += '<A HREF="http://www.editions-populart.com/toussaint.html" CLASS=menudyn3>Toussaint</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.editions-populart.com/pierrot.html" CLASS=menudyn3>Pierrot</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.editions-populart.com/vosphotos.html" CLASS=menudyn3>Et vous</A>';
xlien[3] += '<A HREF="http://www.editions-populart.com/adresses.html" CLASS=menudyn3>Où acheter les jolies photos en noir et blanc?</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="http://www.editions-populart.com/distribuer.html" CLASS=menudyn3>Devenir distributeur</A>';
xlien[4] += '<A HREF="http://www.editions-populart.com/societe.html" CLASS=menudyn3>Naissance d\'une petite entreprise</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="http://www.editions-populart.com/bonsgenies.html" CLASS=menudyn3>Nos bons génies</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="http://www.editions-populart.com/contact.html" CLASS=menudyn3>Nous envoyer une carte</A>';
document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#C6C6C6; text-decoration:none;}\nA:hover.menudyn3 {color:#898989;text-decoration:none;}\n</STYLE>');

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xlien.length*120)+' BGCOLOR=#FFFFFF>  <TR><TD><TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0 WIDTH=100%>  <TR>');

for(i=0;i<xlien.length;i++)

{
	document.write('<TD BGCOLOR=#FFFFFF onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=2 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=#FFFFFF HEIGHT='+hauteurcadre+' VALIGN=top><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='#FFFFFF';
	document.all.td1.style.background='#FFFFFF';
	document.all.td2.style.background='#FFFFFF';
	document.all.td3.style.background='#FFFFFF';
	document.all.td4.style.background='#FFFFFF';
		tditem.style.background='#FFFFFF';
		}
else if(document.getElementById)
	{
			document.getElementById("td0").style.background='#FFFFFF';
	document.getElementById("td1").style.background='#FFFFFF';
	document.getElementById("td2").style.background='#FFFFFF';
	document.getElementById("td3").style.background='#FFFFFF';
	document.getElementById("td4").style.background='#FFFFFF';
tditem.style.background='#FFFFFF';
	}
}

function MajMenu(menu)
	{
	which = xlien[menu];
if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=2 FACE="Verdana">'+which+'</FONT>')
	document.dynamenu31.document.dynamenu32.document.close()
	}
else if (document.getElementById)
			{
			document.getElementById("dynamenu33").innerHTML = '<CENTER><FONT SIZE=2 FACE="Verdana, Arial">'+which+'</FONT></CENTER>';
			}
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);
	}
MajMenu(0);

