function checkLength(obj, length)
{
  if(obj.value.length<length)
    return(true)
  return(false);
}
function marker(theRow, newColor)
{
  if(typeof(theRow.style) == 'undefined')
    return false;

  if(typeof(document.getElementsByTagName) != 'undefined')
  {
    theCells = theRow.getElementsByTagName('td');
  }
  else
  {
    if(typeof(theRow.cells) != 'undefined')
      theCells = theRow.cells;
    else
      return false;
  }
  var rowCellsCnt = theCells.length;

  if(typeof(window.opera) == 'undefined' && typeof(theCells[0].getAttribute) != 'undefined')
    domDetect = true;
  else
    domDetect = false;

  if(newColor)
  {
    var c = null;
    // with DOM compatible browsers except Opera
    if (domDetect) 
    {
      for (c = 0; c < rowCellsCnt; c++)
      {
        theCells[c].setAttribute('bgcolor', newColor, 0);
      } // end for
    }
    // with other browsers
    else 
    {
      for (c = 0; c < rowCellsCnt; c++) 
      {
        theCells[c].style.backgroundColor = newColor;
      }
    }
  }
  return true;
}
function CzyEnter(eventObj, obj)
{
  if (document.all)
    keyCode=eventObj.keyCode;
  else
    keyCode=eventObj.which;
  if(keyCode==13)
    return(true);
  return(false);
}

