/*********************
Maxtext v1.2
© 2002 Robert K. Davis
**********************/
function textlen(x,y){
  var thelength = x.value.length;
  window.status=thelength+' of '+y+' maximum characters.';
}

function maxtext(x,y){
tempstr = x.value
  if(tempstr.length>y){
    x.value = tempstr.substring(0,y);
  }
  textlen(x,y);
}
/*********************/

