function validate_slowaKluczowe_en(oForm,oObject,strName,intKeywordNumber,lngKeywordLengthMax,lngKeywordLengthMin,blnLettersDigitsOnly,blnRequired,blnAutomat)
{
// odwoluje sie do funkcji: koncowkaZnak_en.js

  var oTemp,strNameC;
  strNameC=strName.substr(0,1).toUpperCase()+strName.substr(1,strName.length-1);
  oTemp=eval('oForm.'+oObject);


  if (blnRequired && oTemp.value=='')
  {
    alert('Please type a keyword(s) first.');
    oTemp.focus();
    return false;
  }


  lngTotalLength=intKeywordNumber*lngKeywordLengthMax+intKeywordNumber-1;

  if (oTemp.value.length>lngTotalLength)
  {
    alert('Total keywords length must not exceed '+lngTotalLength+' '+koncowkaZnak_en(lngTotalLength)+'.'+unescape('%0D%0D')+'Current lenght of keywords in '+unescape('%22')+strName+unescape('%22')+' field is '+oTemp.value.length+' '+koncowkaZnak_en(oTemp.value.length)+'.');
    oTemp.focus();
    return false;
  }
  arrTemp=oTemp.value.split(",");
  if (arrTemp.length>intKeywordNumber)
  {
    alert('The number of keywords in '+unescape('%22')+strName+unescape('%22')+' field must not exceed '+intKeywordNumber+'.');
    oTemp.focus();
    return false;
  }
  for(i=0;i<arrTemp.length;i++)
  {
    if(arrTemp[i].length<lngKeywordLengthMin)
    {
      if (blnAutomat)
      {
        arrTemp[i]='';
      }
      else
      {
        alert('The keyword number: '+eval(i+1)+'  in '+unescape('%22')+strName+unescape('%22')+' field is shorter than '+lngKeywordLengthMin+' '+koncowkaZnak_en(lngKeywordLengthMin)+'.');
        oTemp.focus();
        return false;
      }
    }
    if(arrTemp[i].length>lngKeywordLengthMax)
    {
      if (blnAutomat)
      {
        arrTemp[i]='';
      }
      else
      {
        alert('The keyword number: '+eval(i+1)+' in '+unescape('%22')+strName+unescape('%22')+' field is longer than '+lngKeywordLengthMax+' '+koncowkaZnak_en(lngKeywordLengthMax)+'.');
        oTemp.focus();
        return false;
      }
    }
    if (blnLettersDigitsOnly)
    {
      if (litterChar(arrTemp[i],"ld_pl")==false)
      {
        alert('The keyword number: '+eval(i+1)+' in '+unescape('%22')+strName+unescape('%22')+' field contains restrcted s (other than letters and digits).');
        oTemp.focus();
        return false;
      }
    }
  }
  strTemp='';
  for(i=0;i<arrTemp.length;i++)
  {
    if(arrTemp[i].length>0) strTemp=strTemp+arrTemp[i]+',';
  }
  if(strTemp.length>0) strTemp=strTemp.substr(0,strTemp.length-1);
  oTemp.value=strTemp;
  if (strTemp=='') return false;
  return true;
}