function maxLength1(o,v,m){
  document.getElementById(v).innerHTML=
    ((o.value=o.value.substr(0,m)).length);
}
function maxLength2(e,o,v,m){
  if(!o.all&&e.keyCode!=0)return!0;
  return(document.getElementById(v).innerHTML=o.value.length)<m
}
function maxLength3(o,v,m){
  if(o.value.length>m)
    document.getElementById(v).innerHTML=
      ((o.value=o.value.substr(0,m)).length);
}
