/*DEFILANT HORIZONTAL*/
var defile;
var psinit = 280;
var pscrnt = psinit;       
function texteDefile() {
   if (!defile) defile = document.getElementById('defile');
   if (defile) {
      if(pscrnt < ( - defile.offsetWidth) ){
         pscrnt = psinit;
                } else {
         pscrnt+= -1;
      }
      defile.style.left = pscrnt+"px";
   }
}
setInterval("texteDefile()",20);

/* AFFICHAGE ORDINAIRE */
    function makeTextChange( text )
	{
    if (text != "")
	{
      while (text != text.replace ("à", "&agrave;")) { text = text.replace("à", "&agrave;");  }
      while (text != text.replace ("â", "&acirc;")) { text = text.replace("â", "&acirc;");  }
      while (text != text.replace ("é", "&eacute;")) { text = text.replace("é", "&eacute;"); }
      while (text != text.replace ("è", "&egrave;")) { text = text.replace("è", "&egrave;");  }
      while (text != text.replace ("ê", "&ecirc;")) { text = text.replace("ê", "&ecirc;");  }
      while (text != text.replace ("î", "&icirc;")) { text = text.replace("î", "&icirc;");  }
      while (text != text.replace ("ï", "&iuml;")) { text = text.replace("ï", "&iuml;");  }
      while (text != text.replace ("ô", "&ocirc;")) { text = text.replace("ô", "&ocirc;");  }
      while (text != text.replace ("ù", "&ugrave;")) { text = text.replace("ù", "&ugrave;");  }
      while (text != text.replace ("û", "&ucirc;")) { text = text.replace("û", "&ucirc;");  }
      while (text != text.replace ("ç", "&ccedil;")) { text = text.replace("ç", "&ccedil;");  }
    }
     return text
    }

	 function changeSearchText()
	{
	  document.recherche.searchstring.value = makeTextChange(document.recherche.searchstring2.value);
	}

