  
function fleche(plien,pleft,ptop,pwidth,pheight) { 

/*
f' + plien + '.gif  = flèche sombre normale, pas encore visitée
f' + plien + 'c.gif = flèche claire. On la survole avec la souris, ou déjà visité
f' + plien + 'b.gif = flèche clignotante claire (blink)	   page en cours
*/

  if (Gencours == plien) {	// la page encours n'affiche qu'une image sans lien 
                            // Gencours positionné dans la page en cours.
  document.writeln('<img src=\"f' + plien + 'b.gif\" style=\"position: relative; left: ' + pleft + 'px; top: ' + ptop + 'px; width: ' + pwidth + 'px; height: ' + pheight + 'px; border: 0px; border-color: black; border-style: solid\">');
  }
  else {
	// le cookie est créé dans la page d' + plien + '.html (vignettes) 
	// avec la fonction topdeja(plien) ci-dessous.
	// plien est le mot clé générique d'une page vignette (berze cluny etc.)
	// page visitée = flèche claire, sinon flèche sombre normale.
	
	if (LireCookie(plien) == 1) 
	  {
      document.writeln('<a href=\"d' + plien + '.html\" target=\"_top\">');

      document.writeln('<img src=\"f' + plien + 'c.gif\" style=\"position: relative; left: ' + pleft + 'px; top: ' + ptop + 'px; width: ' + pwidth + 'px; height: ' + pheight + 'px; border: 0px; border-color: black; border-style: solid\">');
      document.writeln('</a>');
	  }
	else
	  {
      document.writeln('<a href=\"d' + plien + '.html\" target=\"_top\" onmouseover=\"' + plien + '.src=\'f' + plien + 'c.gif\'\"   onmouseout=\"' + plien + '.src=\'f' + plien + '.gif\'\">');

      document.writeln('<img src=\"f' + plien + '.gif\" name=\"' + plien + '\" style=\"position: relative; left: ' + pleft + 'px; top: ' + ptop + 'px; width: ' + pwidth + 'px; height: ' + pheight + 'px; border: 0px; border-color: black; border-style: solid\">');
      document.writeln('</a>');
	  }
  }	
}

function flechesimple(plien,pleft,ptop,pwidth,pheight) {

  document.writeln('<img src=\"f' + plien + '.gif\" style=\"position: relative; left: ' + pleft + 'px; top: ' + ptop + 'px; width: ' + pwidth + 'px; height: ' + pheight + 'px; border: 0px; border-color: black; border-style: solid\">');

}

function flecheprecharge(plien,pwidth,pheight) {

document.writeln('<img src=\"f' + plien + 'c.gif\" border=\"0\" width=\"' + '1' + '\" height=\"' + '1' + '\">');

}

function topdeja(plien) {
date=new Date;
date.setFullYear(date.getFullYear()+10);
EcrireCookie(plien, 1, date);
}

function initfleche() {
EffaceCookie("berze");
EffaceCookie("cluny");
location.reload() ;

}		
