function Compter(Target, max, nomchamp)
{
StrLen = Target.value.length
if (StrLen > max )
{
Target.value = Target.value.substring(0,max);
CharsLeft = max;
}
else
{
CharsLeft = StrLen;
}
nomchamp.value = CharsLeft;
}


