// Ce fichier ne doit pas contenir de caractères non-ascii, sinon il plante sur IE5/Zin
// quand il est appelé par une page Unicode.

function clarifie(_msg) {
// alert(_msg);
  var _pref = "#";
  var _xmsg = "";
  for (var x = 0; x < _msg.length; x++) {
	var c = _msg.charAt(x);
	if (c != _pref) {
		if (c != "\\")
			_xmsg += c;
	}
	else {
	x += 1;
	var c = _msg.charAt(x);
	var n = _msg.charCodeAt(x);
	if (c == "A")
		_xmsg += "@";
	else if (c == "B")
		_xmsg += "/";
	else if (c == "C")
		_xmsg += ":";
	else if (c == "D")
		_xmsg += ".";
	else if (c == "E")
		_xmsg += "&#xE9;"; // eacute
	else if (c == "F")
		_xmsg += " ";
	else if (c == "G")
		_xmsg += ">";
	else if (c == "H")
		_xmsg += "&#xE1;"; // aacute
	else if (c == "I")
		_xmsg += "=";
	else if (c == "J")
		_xmsg += "&#xED;"; // iacute
	else if (c == "K")
		_xmsg += "ü";
	else if (c == "T")
		_xmsg += " ";
	else if (c == "U")
		_xmsg += "&#xFA;"; // uacute
	else if (c == "R")
		_xmsg += "";
	else if (c == "M")
		_xmsg += "&";
	else if (c == "N")
		_xmsg += "&#160;";
	else if (c == "L")
		_xmsg += "<";
	else if (c == "Q")
		_xmsg += "\"";
	else if (c == "P")
		_xmsg += "%";
	else if (c == "#")
		_xmsg += "#";
	else if (c == "O")
		_xmsg += "o";
	else if (c == "S")
		_xmsg += " ";
	else if (c == "V")
		_xmsg += "&#xF6;"; // otrema
	else if (c == "W")
		_xmsg += "&#xE0;"; // agrave
	}
  }
  return (_xmsg);
}
