                                                                                           
tous_les_liens = "index presentation-RC articles formation partenaires contact";

var images_en_ligne = "oui";

var espace_entre_image="non";

var taille_de_l_espace = 1; 

var url=location.search; 

var params = url.substring(1); 

var tab = params.split("="); 
                          
lien=tab[1];      

var rep = "images/"; 
function survol(Objet,Fichier) {
   if (!document.images) {} 

   document.images[Objet].src = rep + Fichier; 

                                }

var tab_url = tous_les_liens.split(" ");

function affiche()
		{
	for (i=0;i<tab_url.length;i++)
			{

for(i = 0 ; i < tab_url.length ; i++) 
	{
tab_image_bleu=new Array;
tab_lien=new Array;
tab_image_rouge=new Array;
tab_image=new Array;
tab_image_def=new Array;
tab_image_def2=new Array;
img=new Array;

tab_image_bleu[i] ="lien"+(i+1)+"B.gif"; 
tab_image_rouge[i] ="lien"+(i+1)+"R.gif";
tab_lien[i] =tab_url[i]+".php?lien=lien"+(i+1); 
tab_image[i] ="image"+(i+1);
tab_image_def="images/"+tab_image_bleu[i];
tab_image_def2="images/"+tab_image_rouge[i];

                                
if (tab[1]=="lien"+(i+1))
        {

        img =new Array(tab_image_rouge[i],tab_image_rouge[i],tab_image_def2,tab_image[i]);
        }
else    {

    	img =new Array(tab_image_rouge[i],tab_image_bleu[i],tab_image_def,tab_image[i]);
        }


if (images_en_ligne =="oui")
{

   if (espace_entre_image=="oui")
       {
       	retourcharriot="";
       	espace1="&nbsp;";
       	espace="";
       	for (j=0;j< taille_de_l_espace;j++)
            {
            espace=espace1+espace;
            }
        }
   else 
       {
       espace="";
       retourcharriot="";
       }
}
else 
{
     if (espace_entre_image=="oui")
        {
        espace="";
        retourcharriot1="<BR>";
        retourcharriot="";
        for (j=-1;j<taille_de_l_espace ;j++)
            {
            retourcharriot=retourcharriot1+retourcharriot;
            }
        }
        else
       {
       retourcharriot="<BR>";
       espace="";
       }
}
//-----------------------------------------------------------------

document.write('<a href="'+tab_lien[i]+'"');
document.write('onMouseOver="survol(\''+img[3]+'\',\''+img[0]+'\')"');
document.write('onMouseOut="survol(\''+img[3]+'\',\''+img[1]+'\')">');
document.write('<img name=\"'+img[3]+'\" border="0" src="'+img[2]+'"></a>');
document.write (retourcharriot);
document.write (espace);
			} 
		}  
} 
