function AgrandirPhoto(numero)
{
	photo='IMAGES/vitrine/d_photo'+numero+'.jpg';
	cont='<table width="860" height="100%" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border: 0px solid #F2A93C" bordercolor="#F2A93C" id="AutoNumber1">';
	cont=cont+'<TR width="100%" height="26"><TD width="100%" style="border: 0px solid #F2A93C" >';
	cont=cont+'<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; position:relative; left:0; top:0" bordercolor="#111111" width="100%" id="AutoNumber1" height="100%">';
	cont=cont+'<tr><td width="100%" height="100%" background="IMAGES/degrade_orange.gif" colspan="2"></td></tr></table ></TD></TR>';
	cont=cont+'<TR width="100%" height="40"><TD width="100%" height="40" align="center" valign="middle">';
	cont=cont+'<div height="20" valign="top" align="center" width="100%"><p valign="top" align="center" style="color:#1F9EA7"><b><font face="Verdana, Arial, Helvetica, sans-serif">Dernières réalisations</font></b></div></TD></TR>';
	cont=cont+'<TR width="100%" height="100%"><TD width="100%" height="100%" align="center" valign="top">';
	cont=cont+'<table width="480" height="360" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border: 3px solid #F2A93C" bordercolor="#F2A93C" id="AutoNumber1">';
	cont=cont+'<TR width="100%" height="100%"><TD width="100%" style="border: 2px solid #F2A93C" bgcolor="#000000">';
	cont=cont+'<IMG src="'+photo+'" width="480" height="360"></TD></TR></table ></TD></TR></TABLE>';
	document.getElementById("frAffichage").style.display="none";
	document.getElementById("agrandissement").innerHTML=cont;
	document.getElementById("agrandissement").style.display="";
}
function ReduirePhoto()
{
	document.getElementById("agrandissement").innerHTML='';
	document.getElementById("agrandissement").style.display="none";
	document.getElementById("frAffichage").style.display="";
}
function AffichePhoto(numero)
{
	baliseId='photo'+numero;
	indice=numero+'b';
	document.getElementById(baliseId).src='IMAGES/Photos/photo'+indice+'.jpg';
}
function CachePhoto(numero)
{
	baliseId='photo'+numero;
	document.getElementById(baliseId).src='IMAGES/Photos/photo'+numero+'.jpg';
}

function initialise(numero)
{
	lienSelectionne='lienselected'+numero;
}
function Survol(numero)
{
	lien='lienselected'+numero;
	if (lienSelectionne!=lien)
		{document.getElementById(lien).style.color='#F2A93C';}
}
function Quitter(numero)
{
	lien='lienselected'+numero;
	if (lienSelectionne!=lien)
		{document.getElementById(lien).style.color='#1F9EA7';}
}
function Enfonce(numero)
{
	for (i=1;i<=6;i++)
		{
			bgauche='menuselectedgauche'+i;
			bcentre='menuselectedcentre'+i;
			bdroite='menuselecteddroite'+i;
			lien='lienselected'+i;
			if (i!=numero)	{urlColor='gris';lienColor='#1F9EA7';}
			if (i==numero)	{urlColor='orange';lienColor='#FFFFFF';}
			urlG='url(IMAGES/boutonmenuOnglet_'+urlColor+'_gauche.gif)';
			urlC='url(IMAGES/boutonmenuOnglet_'+urlColor+'_centre.gif)';
			urlD='url(IMAGES/boutonmenuOnglet_'+urlColor+'_droite.gif)';
			document.getElementById(bgauche).style.backgroundImage=urlG;
			document.getElementById(bcentre).style.backgroundImage=urlC;
			document.getElementById(bdroite).style.backgroundImage=urlD;
			document.getElementById(lien).style.color=lienColor;
		}
	lienSelectionne='lienselected'+numero;
 	if (numero=='1'){ page="accueil.php";}
 	if (numero=='2'){ page="societe.php";}
 	if (numero=='3'){ page="realisations.php";}
 	if (numero=='4'){ page="brumisateur.php";}
	if (numero=='5'){ page="localiser.php";}
	if (numero=='6'){ page="contact.php";}
	parent.frames['Affichage'].location=page;
}
function lancerRealisations()
	{
		parent.frames['Affichage'].location='realisations.php';
		Enfonce(3);
	}
var lienSelectionne
lienSelectionne='lienselected1';
