function pluralize( txt, nbr ) {
  if ( nbr > 1 ) txt += 's';
  return txt;
}

function isSet( mixed ) {
  return ( typeof( mixed ) != 'undefined' && !isNull( mixed ) );
}
function isNull( mixed ) {
  return ( mixed == null );
}
function empty( mixed ) {
  return mixed == '';
}