//**************************************************************
// Name: isBlank.
// Input: p_Str.
// Output: True/False.
// Usage: Use when you want to specify a string is blank string or not.
//**************************************************************
function isBlank(p_Str)
{
  var v_Len;
  if (p_Str == null)
    v_Len = 0;
  else
    v_Len = p_Str.length;
  if(!v_Len)
    return true;
  for (i=0; i<v_Len; i++)
  {
    if(p_Str.charAt(i)!= " ")
      return false;
  }
  return true;
}