function textCounter(field, countfield,	maxlimit)
{
  if (field.value.length > maxlimit) 
    field.value =field.value.substring(0, maxlimit); 
  else
    countfield.innerHTML = maxlimit - field.value.length;
} 
function changeCat(id)
{
 document.getElementById('howto-1').style.display = 'none';
 document.getElementById('howto-2').style.display = 'none';
 document.getElementById('howto-3').style.display = 'none';
 document.getElementById('howto-'+id).style.display = 'block';
}
