<!--
function alltrim(obj)
{
 var resultado = '';
 var inicio = false;
 for (var x=0; x< obj.length; x++)
 {
  if (inicio == false)
  {
   if (obj.charAt(x) != ' ')
   {
    resultado += obj.charAt(x);
    inicio = true;
   }
  }
  else
  {
   resultado += obj.charAt(x);
  }
 }
 while (1==1)
  {
   if ( resultado.charAt(resultado.length-1)==' ' )
    {
      resultado  = resultado.substring(0,resultado.length-1);
    }
   else
	{
	 break
	}
  }
  return resultado;
}
//-->
