<?xml version="1.0" encoding="utf-8"?>
<HmsMediaItem>
  <MediaType>3</MediaType>
  <ClassID>51</ClassID>
  <ItemID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ItemID>
  <ItemPath>http://www.hdkinoteatr.com</ItemPath>
  <ParentID>234DF17B-418C-4FDC-9DFE-CD0C586D2E76</ParentID>
  <Properties>
    <Property>
      <ID>4</ID>
      <Value>HDKinoTeatr</Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>515</ID>
      <Value>1</Value>
    </Property>
    <Property>
      <ID>700</ID>
      <Value>0</Value>
    </Property>
    <Property>
      <ID>701</ID>
      <Value>-1</Value>
    </Property>
    <Property>
      <ID>702</ID>
      <Value>-1</Value>
    </Property>
    <Property>
      <ID>517</ID>
      <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
    </Property>
    <Property>
      <ID>518</ID>
      <Value>0</Value>
    </Property>
    <Property>
      <ID>512</ID>
      <Value>1</Value>
    </Property>
    <Property>
      <ID>532</ID>
      <Value>1</Value>
    </Property>
    <Property>
      <ID>553</ID>
      <Value>1</Value>
    </Property>
    <Property>
      <ID>522</ID>
      <Value>0</Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>570</ID>
      <Value>1</Value>
    </Property>
    <Property>
      <ID>93</ID>
      <Value>41257,9039847569</Value>
    </Property>
    <Property>
      <ID>530</ID>
      <Value>string DBGFILE=&apos;&apos;;
int INTERNET_FLAG_NO_AUTO_REDIRECT = 0x00200000,
    mpiPreviousItemID = 200107,
    mpiPreviousPrntID = 200108;
int LOG = 1,                   // Wonky 307.48
    SHOWPROGRESS = 1,
    MAXINGROUP   = 100,
    NODELITEMS   = 0,
    TITLECASE    = 0,
    LOADFROMLINKS= 0,
    YEARINTITLE  = 0,
    GROUPMODE    = 0,
    REMSERIEWORD = 0,
    NUMBERING    = 0,
    COLLECTING   = 0,
    ITEMASFOLDER = 2,
    COLLECTASITEM= 0,
    GROUPBYSORT  = 0,
;
TStrings WONKY307=TStringList.Create(), PARAM=TStringList.Create(), VARS=TStringList.Create(), WCOLLECT=nil, COOKIES=TStringList.Create();
int gnTotalItems=0, W_MODE=0; char gsUrlBase=&apos;&apos;, gsCfgDate=&apos;&apos;, gsCfgAuthor=&apos;&apos;, gsAbout=&apos;&apos;;
Variant gaProps4Copy=[36,7,5,41,35,32,28,31,215,9,29,55,4,8,50,39000]; THmsScriptMediaItem ROOTPODCAST, COLLECTOR;
bool bWasShownProgress=false, gbStoreCookie=false, gbIE6Fix=false; char gsFrmtSeries = &apos;%.2d&apos;; TDateTime gTimeStart = Now;
string gsHeaders = 
  &apos;http://www.google.com/\r\n&apos;+
  &apos;Accept-Encoding: gzip, deflate\r\n&apos;+
  &apos;User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0\r\n&apos;+
  &apos;Connection: Keep-Alive\r\n&apos;+
  &apos;Accept: application/json, text/javascript, */*; q=0.01\r\n&apos;+
  &apos;Accept-Language: ru-RU,ru;q=0.9,en;q=0.8\r\n&apos;;

// =======================================================================================
// НАБОР ПРОЦЕДУР И ФУНКЦИЙ  -= WONKY307 =- ver 307.48
// ---------------------------------------------------------------------------------------
// Добавление в коллектор
void CollectTheItem(Variant OrigItem, bool bGroupMode, int nCountInGRP, int nGroup, char sGroupName) {
  int i, OldGROUPMODE = GROUPMODE; char sTitle, sOldGroup = sGroupName;
  THmsScriptMediaItem GroupItem, Folder, Item; Variant WOBJECT;
  if ((W_MODE==1) || (WCOLLECT==nil)) return;
  for (i=0; i&lt;WCOLLECT.Count; i++) {
    WOBJECT = WCOLLECT.Objects[i]; if (WOBJECT==nil) continue;
    if (!CheckObjectCondition(WOBJECT, OrigItem)) continue;
    sTitle = WOBJECT.Values[&apos;Title&apos;];

    GROUPMODE = 1;
    Folder = COLLECTOR.AddFolder(sTitle + &apos; - По алфавиту&apos;, true);
    Folder[mpiFolderSortOrder] = mpiTitle;
    ControlGrouping(OrigItem[mpiTitle], OrigItem[mpiYear], bGroupMode, nCountInGRP, nGroup, sGroupName, 2);
    if (sGroupName!=&apos;&apos;) {
      if (Length(sGroupName)==2) {
        GroupItem = Folder.AddFolder(LeftCopy(sGroupName, 1), true);
        if (Trim(GroupItem[mpiFolderSortOrder])==&apos;&apos;) Folder[mpiFolderSortOrder] = mpiTitle;
        GroupItem = GroupItem.AddFolder(sGroupName, false);
      } else {
        GroupItem = Folder.AddFolder(sGroupName, false);
      }
    }
    else GroupItem = Folder; GroupItem[532] = 0; // Отключаем скрипт обновления
    if (Trim(GroupItem[mpiFolderSortOrder])==&apos;&apos;) GroupItem[mpiFolderSortOrder] = mpiTitle;
    if (COLLECTASITEM==1) {
      Item = HmsCreateMediaItem(OrigItem[mpiFilePath], GroupItem.ItemID);
    } else {
      Item = GroupItem.AddFolder(OrigItem[mpiFilePath], true);
    }
    Item[mpiTitle]      = OrigItem[mpiTitle];      // Название
    Item[mpiThumbnail]  = OrigItem[mpiThumbnail];  // Картинка
    Item[mpiComment]    = OrigItem[mpiComment];    // Комментарий
    Item[mpiYear]       = OrigItem[mpiYear];       // Год
    Item[mpiDirector]   = OrigItem[mpiDirector];   // Режиссер
    Item[mpiTimeLength] = OrigItem[mpiTimeLength]; // Длительность
    Item[mpiActor]      = OrigItem[mpiActor];      // В ролях
    Item[mpiGenre]      = OrigItem[mpiGenre];      // Жанр
    Item[mpiCreateDate] = OrigItem[mpiCreateDate]; // Дата создания
    Item[mpiPodcastParameters] = OrigItem[mpiPodcastParameters]; // Параметры
    Item[mpiFolderSortOrder] = -mpiCreateDate;     // Сортировка: Дата создания по убыванию

    GROUPMODE = 3;
    Folder = COLLECTOR.AddFolder(sTitle + &apos; - По годам&apos;, true);
    Folder[mpiFolderSortOrder] = -mpiTitle;
    ControlGrouping(OrigItem[mpiTitle], OrigItem[mpiYear], bGroupMode, nCountInGRP, nGroup, sGroupName);
    if (sGroupName!=&apos;&apos;) GroupItem = Folder.AddFolder(sGroupName, false);
    else GroupItem = Folder; GroupItem[532] = 0; // Отключаем скрипт обновления
    if (Trim(GroupItem[mpiFolderSortOrder])==&apos;&apos;) GroupItem[mpiFolderSortOrder] = -mpiCreateDate;
    if (COLLECTASITEM==1) {
      Item = HmsCreateMediaItem(OrigItem[mpiFilePath], GroupItem.ItemID);
    } else {
      Item = GroupItem.AddFolder(OrigItem[mpiFilePath], true);
    }
    Item[mpiTitle]      = OrigItem[mpiTitle];      // Название
    Item[mpiThumbnail]  = OrigItem[mpiThumbnail];  // Картинка
    Item[mpiComment]    = OrigItem[mpiComment];    // Комментарий
    Item[mpiYear]       = OrigItem[mpiYear];       // Год
    Item[mpiDirector]   = OrigItem[mpiDirector];   // Режиссер
    Item[mpiTimeLength] = OrigItem[mpiTimeLength]; // Длительность
    Item[mpiActor]      = OrigItem[mpiActor];      // В ролях
    Item[mpiGenre]      = OrigItem[mpiGenre];      // Жанр
    Item[mpiCreateDate] = OrigItem[mpiCreateDate];
    Item[mpiPodcastParameters] = OrigItem[mpiPodcastParameters]; // Параметры
    Item[mpiFolderSortOrder] = -mpiCreateDate;
    sGroupName = sOldGroup; GROUPMODE = OldGROUPMODE;
    break;
  }
}

// ---------------------------------------------------------------------------------------
// Рекурсивная функция создания динамических подпапок
void CreateDynamicItems(TStrings WONKYBLK, Variant ParentItem, char &amp;sScript=&apos;&apos;) {
  int n, i, nParamId; char sTitle, sLink, sName, s;
  Variant WONKYOBJECT, SUBBLOCK, Folder, Item;

  for (n=0; n&lt;WONKYBLK.Count; n++) {
    SUBBLOCK = WONKYBLK.Objects(n); if (SUBBLOCK==0) continue;
    sTitle = SUBBLOCK.Values[&apos;mpiTitle&apos;];    if (sTitle==&apos;&apos;) continue;
    sLink  = SUBBLOCK.Values[&apos;mpiFilePath&apos;]; if (sLink ==&apos;&apos;) sLink=sTitle;
    Folder = ParentItem.AddFolder(sLink, false, 32);
    Folder[mpiTitle]      = sTitle;
    Folder[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
    Folder[200] = 5;           // mpiFolderType
    Folder[500] = sScript;     // mpiDynamicScript
    Folder[501] = &apos;C++Script&apos;; // mpiDynamicSyntaxType
    Folder[mpiFolderSortOrder] = -mpiCreateDate;
    for (i=0; i&lt;SUBBLOCK.Count; i++) {
      sName = SUBBLOCK.Names(i); if (sName==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sName);
      if ((nParamId==0)||(nParamId==mpiTitle)||(nParamId==mpiFilePath)) continue;
      Folder[nParamId] = SUBBLOCK.Values[sName];
    }
    if (GetWonkyObject(SUBBLOCK, &apos;CreateItems&apos;, WONKYOBJECT, ParentItem)) CreateDynamicItems(WONKYOBJECT, Folder, sScript);
    if (Folder.HasChildItems) {
      s = &apos;&apos;;
      for (i=0; i&lt;Folder.ChildCount; i++) {
        Item = Folder.ChildItems[i];
        s += Format("[&apos;%s&apos;,&apos;%s&apos;,&apos;%s&apos;],\n", [Item[mpiTitle], Item[mpiFilePath], Trim(Item[mpiThumbnail])]);
      }
      s = &apos;Variant aSubs = [\n&apos;+Trim(s)+&apos;\n];&apos;;
      Folder[500] = ReplaceStr(sScript, &apos;Variant aSubs = "";&apos;, s);
    }
  }
}
// ---------------------------------------------------------------------------------------
// Создание папки настроек (альтернативный вариант)
void CreateSettingsFolder(TStrings WONKYBLK, Variant ParentItem, char sFolderName=&apos;&apos;, char sFolderLink=&apos;&apos;) {
  int i, n, n2, nParamId; char sTitle, sLink, sName;
  Variant WONKYOBJECT, WONKYOBJECT2, SUBBLOCK, SUBBLOCK2; THmsScriptMediaItem SetFolder, Folder, Folder2, Item;
  if (sFolderLink==&apos;&apos;) sFolderLink = sFolderName;
  SetFolder = ParentItem.AddFolder(sFolderLink, true);
  SetFolder[mpiCreateDate] = &apos;31.12.5013 23:59&apos;;
  SetFolder[mpiTitle] = sFolderName;
  SetFolder[mpiFolderSortOrder] = -mpiCreateDate;
  if (!GetWonkyObject(WONKYBLK, &apos;CreateItems&apos;, WONKYOBJECT, ParentItem)) return;
  for (n=0; n&lt;WONKYOBJECT.Count; n++) {
    SUBBLOCK = WONKYOBJECT.Objects(n); if (SUBBLOCK==0) continue;
    sTitle = SUBBLOCK.Values[&apos;mpiTitle&apos;];    if (sTitle==&apos;&apos;) continue;
    sLink  = SUBBLOCK.Values[&apos;mpiFilePath&apos;]; if (sLink ==&apos;&apos;) sLink=sTitle;
    Folder = SetFolder.AddFolder(sLink, true);
    Folder[mpiTitle]      = sTitle;
    Folder[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
    Folder[mpiFolderSortOrder] = -mpiCreateDate;
    for (i=0; i&lt;SUBBLOCK.Count; i++) {
      sName = SUBBLOCK.Names(i); if (sName==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sName);
      if ((nParamId==0)||(nParamId==mpiTitle)||(nParamId==mpiFilePath)) continue;
      Folder[nParamId] = SUBBLOCK.Values[sName];
    }
    if (GetWonkyObject(SUBBLOCK, &apos;CreateItems&apos;, WONKYOBJECT2, ParentItem)) {
      for (n2=0; n2&lt;WONKYOBJECT2.Count; n2++) {
        SUBBLOCK2 = WONKYOBJECT2.Objects(n2); if (SUBBLOCK2==0) continue;
        sTitle = SUBBLOCK2.Values[&apos;mpiTitle&apos;];    if (sTitle==&apos;&apos;) continue;
        sLink  = SUBBLOCK2.Values[&apos;mpiFilePath&apos;]; if (sLink ==&apos;&apos;) sLink=sTitle;
        Folder2 = Folder.AddFolder(sLink, true);
        Folder2[mpiTitle]      = sTitle;
        Folder2[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
        Folder2[mpiFolderSortOrder] = -mpiCreateDate;
        Item = HmsCreateMediaItem(sLink+&apos; &apos;+Folder[mpiFilePath]+&apos; ROOTITEM="&apos;+ROOTPODCAST.ItemID+&apos;"&apos;, Folder2.ItemID);
        Item[mpiTitle]      = sTitle;
        Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
        Item[mpiFolderSortOrder] = -mpiCreateDate;
        Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
        for (i=0; i&lt;SUBBLOCK2.Count; i++) {
          sName = SUBBLOCK2.Names(i); if (sName==&apos;&apos;) continue;
          nParamId = GetIdByParamName(sName);
          if ((nParamId==0)||(nParamId==mpiTitle)||(nParamId==mpiFilePath)) continue;
          Item[nParamId] = SUBBLOCK2.Values[sName];
        }
      }
    }
  }
}
// ---------------------------------------------------------------------------------------
// Создание динамических каталогов (поиска или настроек)
void CreateDynamicGroup(TStrings WONKYBLK, Variant ParentItem, char sFolderName=&apos;&apos;, char sFolderLink=&apos;&apos;, char sScriptExp=&apos;&apos;) {
  int n; char sScript=&apos;&apos;, s1, s2, sVarName, sVarValue;
  Variant WONKYOBJECT; THmsScriptMediaItem Folder;

  if (sFolderLink==&apos;&apos;) sFolderLink = sFolderName;
  Folder = ParentItem.AddFolder(sFolderLink, false, 32);
  Folder[mpiCreateDate] = &apos;31.12.5013 23:59&apos;;
  Folder[mpiTitle] = sFolderName;
  Folder[mpiFolderSortOrder] = -mpiCreateDate;
  // Получаем текст скрипта для динамических папок (из скрипта создания подкаст лент)
  if (sScriptExp!=&apos;&apos;) HmsRegExMatch(sScriptExp, FolderItem[571], sScript, 1, PCRE_SINGLELINE);
  sScript = ReplaceStr(sScript, &apos;*//*&apos;, &apos;*/*&apos;);
  // Заменяем в скрипте глобальные текстовые переменные из конфига (если таковые там встречаются)
  for (n=0; n&lt;WONKYBLK.Count; n++) {
    sVarName  = WONKYBLK.Names[n]; s1 = LeftCopy(sVarName, 2); if ((s1!=&apos;gs&apos;)&amp;&amp;(s1!=&apos;gn&apos;)) continue;
    sVarValue = WONKYBLK.Values[sVarName];
    if (s1==&apos;gn&apos;) {
      if(HmsRegExMatch2("(("+sVarName+"\\s*?=).*?;)", sScript, s1, s2, PCRE_SINGLELINE)) sScript = ReplaceStr(sScript, s1, s2+" "+sVarValue+";");
    } else {
      if(HmsRegExMatch2("(("+sVarName+"\\s*?=).*?;)", sScript, s1, s2, PCRE_SINGLELINE)) sScript = ReplaceStr(sScript, s1, s2+" &apos;"+sVarValue+"&apos;;");
    }
  }
  if ((Trim(sScript)!=&apos;&apos;) &amp;&amp; (sFolderLink!=&apos;-SettingsCommands&apos;)) {
    Folder[200] = 5;           // mpiFolderType
    Folder[500] = sScript;     // mpiDynamicScript
    Folder[501] = &apos;C++Script&apos;; // mpiDynamicSyntaxType
  }
  if (!GetWonkyObject(WONKYBLK, &apos;CreateItems&apos;, WONKYOBJECT, ParentItem)) return;
  CreateDynamicItems(WONKYOBJECT, Folder, sScript);
}

/*BeginSettingsScript
char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = "";
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}
EndSettingsScript*/
/*BeginSearchScript
int mpiFolderType        = 200;
int mpiDynamicScript     = 500;
int mpiDynamicSyntaxType = 501;
int mpiPreviousItemID    = 200104;
int mpiDoNothing         = 201100;

char gsSpace           = &apos;Пробел&apos;;
char gsDelLastChar     = &apos;Удалить последний символ&apos;;
char gsClearSearch     = &apos;Очистить текст поиска&apos;;
char gsClearHystoryIn  = &apos;Очистить историю поиска в папке "%s"&apos;;
char gsMsgClearHistory = &apos;История поиска в папке "%s" очищена&apos;;
char gsMsgTextSaved    = &apos;Подкаст "%s" добавлен в "%s"&apos;;
char gsMsgNothingSaved = &apos;Текст поиска не набран! Добавлять нечего.&apos;;
char gsMsgSearchText   = &apos;Текст поиска: %s&apos;;
char gsAddSearchTo     = &apos;Добавить в папку "%s"&apos;;

char gsSuggestQuery    = &apos;http://www.google.ru/complete/search?sclient=psy-ab&amp;q=&apos;;
char gsSuggestResultCut= &apos;&apos;;
char gsSuggestRegExpr  = &apos;\\["(.*?)",&apos;;
char gsSuggestMethod   = &apos;GET&apos;;
int  gnSuggestNoUTFEnc = 0;
char gsSuggestMessage  = &apos;Вариант: &apos;;

int gnTotalItems=0; TDateTime gTimeStart = Now; char gsTextSearch, gsMsg=&apos;&apos;;
THmsScriptMediaItem goRootItem, goCmdItem;
// ------------------------------------------ Создание папок команд поиска ----
void CreateSearchCommands() {
  int i; char sText; THmsScriptMediaItem Item;
  CreateDynamicItem(FolderItem, &apos;#&apos;,   &apos;-SearchCreateChars=From:32To:58&apos;);
  CreateDynamicItem(FolderItem, &apos;A-Z&apos;, &apos;-SearchCreateChars=From:65To:91&apos;);
  CreateDynamicItem(FolderItem, &apos;А-Я&apos;, &apos;-SearchCreateChars=From:192To:224&apos;);
  CreateDynamicItem(FolderItem, gsClearSearch, &apos;-SearchCmd=ClearSearchText&apos;);
  // Создание команды добавления в корневую папку поиска
  CreateDynamicItem(FolderItem, Format(gsAddSearchTo, [goRootItem[mpiTitle]]), &apos;-SearchCmd=SaveSearchText&apos;);
  // Создание команд добавления в папки, находящиеся в корневой, если поле "Файл" (mpiFilePath) у них пустое
  for (i=0; i&lt;goRootItem.ChildCount; i++) {
    Item = goRootItem.ChildItems[i];
    if (!Item.IsFolder || (Item[mpiFilePath]!=&apos;&apos;)) continue;
    CreateDynamicItem(FolderItem, Format(gsAddSearchTo, [Item[mpiTitle]]), &apos;-SaveSearchTextTo=&apos;+Item.ItemID);
  }
  // Создание команды очистки истории в корневой папке поиска
  CreateDynamicItem(FolderItem, Format(gsClearHystoryIn, [goRootItem[mpiTitle]]), &apos;-SearchCmd=ClearSearchHistory&apos;);
  // Создание команд очистки истории в папках, которые наодятся в корневой
  for (i=0; i&lt;goRootItem.ChildCount; i++) {
    Item = goRootItem.ChildItems[i];
    if (!Item.IsFolder || (Item[mpiFilePath]!=&apos;&apos;)) continue;
    CreateDynamicItem(FolderItem, Format(gsClearHystoryIn, [Item[mpiTitle]]), &apos;-ClearSearchHistoryIn=&apos;+Item.ItemID);
  }
  // Создание ссылки, информирующей о текущем набранном тексте поиска
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, goCmdItem.ItemID);
  Item[mpiTitle] = Format(gsMsgSearchText, [gsTextSearch]);
  Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;
}
// ---------------------------- Добавление подкаста с именем текста поиска ----
void AddPodcastSearch(THmsScriptMediaItem prntItem) {
  THmsScriptMediaItem Item;
  if (Trim(gsTextSearch)==&apos;&apos;) {gsMsg = gsMsgNothingSaved; return;}
  if (LowerCase(gsTextSearch)==gsTextSearch) gsTextSearch = NameCase(gsTextSearch);
  Item = prntItem.AddFolder(gsTextSearch, false);
  Item[mpiFilePath ] = Format(&apos;search="%s"&apos;, [gsTextSearch]);
  Item[mpiTitle    ] = gsTextSearch;
  HmsDatabaseAutoSave(false);
  gsMsg = Format(gsMsgTextSaved, [gsTextSearch, prntItem[mpiTitle]]);
  //gsTextSearch = &apos;&apos;;
}
// --------- Функция создания динамической папки с унаследованным скриптом ----
void CreateDynamicItem(THmsScriptMediaItem prntItem, char sTitle, char sLink) {
char s; THmsScriptMediaItem Folder;
  if (Trim(sTitle)==&apos;&apos;) sTitle = gsSpace;
  Folder = prntItem.AddFolder(sLink, true);
  Folder[mpiTitle            ] = sTitle;
  Folder[mpiCreateDate       ] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
  Folder[mpiFolderType       ] = prntItem[mpiFolderType];
  Folder[mpiDynamicScript    ] = prntItem[mpiDynamicScript];
  Folder[mpiDynamicSyntaxType] = prntItem[mpiDynamicSyntaxType];
  Folder[mpiFolderSortOrder  ] = prntItem[mpiFolderSortOrder];
}
// ----------------------------  MAIN PROCEDURE  ------------------------------
{
  int i, nCnt; char sCh, sCh1, sCh2, sText; THmsScriptMediaItem Item;
  char s, sUrlServer = &apos;&apos;, sRequestPage = &apos;/&apos;, sPostData = &apos;&apos;, sHeaders = &apos;&apos;;
  if (LeftCopy(mpFilePath, 1) != &apos;-&apos;) return; // Если это не команда - то и не обрабатываем
  // Поиск корневого каталога поиска (папки, которая содержит динамическую папку с путем "-SearchCommands")
  goRootItem = FolderItem; goCmdItem = FolderItem;
  while ((goRootItem.ItemParent != HmsDatabaseRootItem) &amp;&amp; (goRootItem.ItemParent != nil)) {
    if (goRootItem[mpiFilePath] == &apos;-SearchCommands&apos;) {goCmdItem=goRootItem; goRootItem=goCmdItem.ItemParent; break;}
    goRootItem = goRootItem.ItemParent;
  }
  // Если это повторный вызов, смены папки не произошло - ничего не делаем
  if ((FolderItem.ItemID==goRootItem[mpiPreviousItemID]) &amp;&amp; !DebugMode &amp;&amp; (FolderItem!=goCmdItem)) return;
  FolderItem.DeleteChildItems(); goRootItem[mpiPreviousItemID] = FolderItem.ItemID;
  gsTextSearch = HmsGetUserSearchText(); // Получаем текущее значение текста поиска
  // ---- Проверяем команды - по значению в mpFilePath ----
  if (goRootItem[mpiDoNothing]==&apos;1&apos;) {   // Флаг "Ничего не делать" - например, при возврате
    goRootItem[mpiDoNothing] = &apos;&apos;;       //   в команду набирания буквы из подпапки варианта
  } else if (HmsRegExMatch(&apos;-SearchCommands&apos;, mpFilePath, sCh1)) {              // Создание корневых команд поиска
    CreateSearchCommands(); return;
  } else if (HmsRegExMatch(&apos;-SearchChar=(\\d+)&apos;, mpFilePath, sCh1)) {           // Добавление буквы (символа) к набираемому тексту поиска
    gsTextSearch += Chr(StrToInt(sCh1));
  } else if (HmsRegExMatch(&apos;-SetSearchText=(.*)&apos;, mpFilePath, gsTextSearch)) {  // Назначить текст поиска значением варианта подсказки
    goRootItem[mpiDoNothing] = &apos;1&apos;; gsSuggestQuery = &apos;&apos;; // включаем флаг не выполнять команду при возврате из этой папки
  } else if (HmsRegExMatch(&apos;-SaveSearchTextTo=(.*)&apos;, mpFilePath, sCh1)) {       // Добавление в папку Х. Поиск этой папки по ItemID.
    Item = goRootItem; // Ищем папку с ItemID равному идентификатору, переданному в mpFilePath
    for (i=0; i&lt;goRootItem.ChildCount; i++) {
      if (goRootItem.ChildItems[i].ItemID==sCh1) {Item = goRootItem.ChildItems[i]; break;}
    }
    AddPodcastSearch(Item); // и добавляем в найденную папку подкаст текстом поиска
  } else if (HmsRegExMatch(&apos;-ClearSearchHistoryIn=(.*)&apos;, mpFilePath, sCh1)) {   // Очистка истории (добавленных ранее) поисковых значений
    Item = goRootItem; // Ищем папку с ItemID равному идентификатору, переданному в mpFilePath
    for (i=0; i&lt;goRootItem.ChildCount; i++) {
      if (goRootItem.ChildItems[i].ItemID==sCh1) {Item = goRootItem.ChildItems[i]; break;}
    }
    for(i=0; i&lt;Item.ChildCount; i++) { // Удаляем все элементы с начинающимся словом &apos;search&apos; в поле mpiFilePath
      if (LeftCopy(Item.ChildItems[i].Properties[mpiFilePath], 6)==&apos;search&apos;) {Item.ChildItems[i].Delete();i--;}
    }
    gsMsg = Format(gsMsgClearHistory, [Item[mpiTitle]]); // вывод сообщения, что история очищена
  } else if (HmsRegExMatch(&apos;-SearchCmd=(\\w+)&apos;,   mpFilePath, sCh1)) {
    if      (sCh1==&apos;DeleteLastChar&apos; ) gsTextSearch = LeftCopy(gsTextSearch, Length(gsTextSearch)-1); // Удаление последнего символа
    else if (sCh1==&apos;SaveSearchText&apos; ) AddPodcastSearch(goRootItem);             // Добавить текст поиска в корневую папку
    else if (sCh1==&apos;ClearSearchText&apos;) gsTextSearch = &apos;&apos;;                        // Очистка текста поиска
    else if (sCh1==&apos;ClearSearchHistory&apos;) {                                      // Очистка истории (добавленных значений поиска)
      for(i=0; i&lt;goRootItem.ChildCount; i++) {
        Item = goRootItem.ChildItems[i]; // Ищем все элементы, у которых значение mpiFilePath начиначется с &apos;search&apos;
        if (LeftCopy(Item[mpiFilePath], 6)==&apos;search&apos;) {goRootItem.ChildItems[i].Delete();i--;}
      }
      gsMsg = Format(gsMsgClearHistory, [goRootItem[mpiTitle]]);
    }
  } else if (HmsRegExMatch2(&apos;-SearchCreateChars=From:(\\d+)To:(\\d+)&apos;, mpFilePath, sCh1, sCh2)) { // Создание списка букв/символов
    CreateDynamicItem(FolderItem, gsDelLastChar, &apos;-SearchCmd=DeleteLastChar Suggestions&apos;); // В начало - команда удаления символа
    CreateDynamicItem(FolderItem, &apos; &apos;, &apos;-SearchChar=32 Suggestions&apos;); // Пробел
    for (i= StrToInt(sCh1); i&lt;StrToInt(sCh2); i++) CreateDynamicItem(FolderItem, Chr(i), &apos;-SearchChar=&apos;+IntToStr(i)+&apos; Suggestions&apos;);
    // слово "Suggestions" добавлено к значению mpiFilePath тек команд, в которых возможно использование подсказок
  }
  else return; // Если неизвестная нам команда - просто выходим

  HmsSetUserSearchText(gsTextSearch); // Устанавливаем значение текста поиска
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, FolderItem.ItemID);
  if (gsMsg==&apos;&apos;) { // Если сообщения небыло - просто выводим ссылку с текущим значением набранного текста
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;
    Item[mpiTitle    ] = Format(gsMsgSearchText, [gsTextSearch]);
  } else {         // Выводим сообщение
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    Item[mpiTitle    ] = gsMsg;
  }
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, FolderItem.ItemParent.ItemID);     // В родительской папке (выше) обновляем информацию о текущем значении текста
  Item[mpiTitle]     = Format(gsMsgSearchText, [gsTextSearch]);
  Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, goCmdItem.ItemID);                 // Также в папке, содержащую главные команды поиска
  Item[mpiTitle]     = Format(gsMsgSearchText, [gsTextSearch]);
  Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;

  // Suggestions ------ Блок работы с подсказками -------
  if ((gsSuggestQuery!=&apos;&apos;) &amp;&amp; (Pos(&apos;Suggestions&apos;, mpFilePath)&gt;0) &amp;&amp; (Length(gsTextSearch)&gt;1)) {
    sText = gsTextSearch; if (gnSuggestNoUTFEnc==0) sText = HmsUtf8Encode(sText); // Если не указано не кодировать в UTF - кодируем
    sText = HmsHttpEncode(sText);
    // Если есть ключ &lt;TEXT&gt; в запросе - заменяем его на значение набранного текста, иначе просто добавляем в конец
    if (Pos(&apos;&lt;TEXT&gt;&apos;, gsSuggestQuery)&gt;0) gsSuggestQuery = ReplaceStr(gsSuggestQuery, &apos;&lt;TEXT&gt;&apos;, sText);
    else gsSuggestQuery = gsSuggestQuery + sText;
    HmsRegExMatch2(&apos;http://(.*?)(/.*)&apos;, gsSuggestQuery, sUrlServer, sRequestPage);
    if (gsSuggestMethod==&apos;POST&apos;) HmsRegExMatch2(&apos;^(.*?)\\?(.*)&apos;, sRequestPage, sRequestPage, sPostData);
    sHeaders = &apos;http://&apos;+sUrlServer+&apos;/\r\n&apos;+
               &apos;Accept-Encoding: gzip, deflate\r\n&apos;+
               &apos;User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0\r\n&apos;+
               &apos;Connection: Keep-Alive\r\n&apos;+
               &apos;Accept: application/json, text/javascript, *//*; q=0.01\r\n&apos;;    // Для включения возможности gzip в запросах
    sText = HmsSendRequestEx(sUrlServer, sRequestPage, gsSuggestMethod, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, sHeaders, sPostData, 80, 0, &apos;&apos;, true);
    sText = HmsUtf8Decode(sText);
    if (gsSuggestResultCut!=&apos;&apos;) HmsRegExMatch(gsSuggestResultCut, sText, sText);// Если есть выражение обрезки - обрезаем
    sText = HmsJsonDecode(sText); TRegExpr t = TRegExpr.Create(&apos;(&lt;[^&gt;]+&gt;)&apos;);    // Избавляемся от тегов в середине слов подсказки
    TRegExpr reSearch = TRegExpr.Create(gsSuggestRegExpr, PCRE_SINGLELINE);
    if (reSearch.Search(sText)) do {
      s = reSearch.Match;
      if (t.Search(s)) do s=ReplaceStr(s, t.Match, &apos;&apos;); while (t.SearchAgain());// (функция HmsHtmlToText не подходит т.к. ставит пробел в середине слова)
      if (HmsRegExMatch(&apos;^(.*?)[/\\(\\|]&apos;, s, sCh)) {                           // Обрезаем подсказку до знаков /, ( или |
        if (Pos(LowerCase(gsTextSearch), LowerCase(sCh))&gt;0) s = sCh;            // Если после этого в подсказке встречается набранный текст - то так и оставляем
      }
      if (LowerCase(s)==s) s = NameCase(s);                                     // Если подсказки - все маленькие буквы, делаем NameCase
      // Если в подсказке больше одного слова - дополнительно создаём сначала подсказки из слов, которые содержат набранный текст (выделяем слова отдельно)
      if (WordCount(s, &apos; &apos;)&gt;1) {
        nCnt = WordCount(s, &apos; &apos;);
        for (i=1; i&lt;=nCnt; i++) {
          sCh=ExtractWord(i, s, &apos; &apos;); if (Trim(sCh)==&apos;&apos;) continue;
          if (Pos(LowerCase(gsTextSearch), LowerCase(sCh))&lt;1) continue;
          if (LowerCase(gsTextSearch)==LowerCase(sCh)) continue;
          sCh = ReplaceStr(sCh, &apos;:&apos;, &apos;&apos;); sCh=ReplaceStr(sCh, &apos;\\&apos;, &apos;&apos;);
          CreateDynamicItem(FolderItem, gsSuggestMessage+sCh, &apos;-SetSearchText=&apos;+sCh);
        }
      }
      // Создаём папку с предложением варианта (подсказку)
      if (LowerCase(s)!=LowerCase(gsTextSearch)) CreateDynamicItem(FolderItem, gsSuggestMessage+s, &apos;-SetSearchText=&apos;+s);
      if (gnTotalItems&gt;100) break; // Ограничиваем количество создаваемых элементов = 100
    } while (reSearch.SearchAgain());
  }
  HmsIncSystemUpdateID(); // Говорим устройству об обновлении содержания
}
EndSearchScript*/
// ---------------------------------------------------------------------------------------
// Обработка названия
char NormalizeTitle(char sTitle, char sYear=&apos;&apos;, char sParentTitle=&apos;&apos;, char sParentParentTitle=&apos;&apos;) {
  char sValue1, sValue2, sValue3=&apos;&apos;; bool bDontAddYear=false, bDontShort=false; int i, n;
  sTitle = ReplaceStr(ReplaceStr(sTitle, &apos; /&gt;&apos;, &apos;&gt;&apos;), &apos;/&gt;&apos;, &apos;&gt;&apos;);
  sTitle = HmsHtmlToText(sTitle);
  if (HmsRegExMatch(&apos;(?:[Сс]ерия|[Сс]езон|[Вв]ыпуск)&apos;, sTitle, sValue1)) {
    bDontAddYear = true;
//    bDontShort   = true;
    HmsRegExMatch(&apos;^(.*?)[-/|\\(]&apos;, sTitle, sValue1);
    if (Pos(sValue1, sParentTitle+sParentParentTitle)&gt;0) {
      HmsRegExMatch(&apos;([Сс]ерия\\s+\\d+)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;(\\s+\\d+[Сс]ерия)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;([Вв]ыпуск\\s+\\d+)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;(\\s+\\d+[Вв]ыпуск)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;(\\d+\\s+[Сс]езон)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;([Сс]езон\\d+\\s+)&apos;, sTitle, sTitle);
    }
  }
  if (HmsRegExMatch(&apos;\\|(.*)&apos;, sTitle, sValue2)) {
    HmsRegExMatch(&apos;^(.*?)[-|\\(]&apos;, sTitle, sValue1);
    sTitle = sValue1 + &apos; - &apos; + sValue2;
  }
  sValue1 = WONKY307.Values[&apos;RemoveFromTitle&apos;];
  if (sValue1!=&apos;&apos;) {
    n = WordCount(sValue1, &apos;|&apos;);
    for (i=1; i&lt;=n; i++) {
      sValue2 = ExtractWord(i, sValue1, &apos;|&apos;);
      sTitle = ReplaceStr(sTitle, sValue2, &apos;&apos;);
    }
  }
  if (REMSERIEWORD==1) if (HmsRegExMatch (&apos;([Сс]ерия\\s)&apos;, sTitle, sValue1)) sTitle = ReplaceStr(sTitle, sValue1+&apos; &apos;, &apos;&apos;);
  if (HmsRegExMatch2(&apos;^(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Сс]ерия\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Серия &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Сс]езон\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Сезон &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Вв]ыпуск\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Выпуск &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  if      (TITLECASE==0) sTitle = sTitle; // Чтобы много раз потом непроверять, когда там 0
  else if (TITLECASE==1) sTitle = Uppercase(sTitle);
  else if (TITLECASE==2) sTitle = Uppercase(Copy(sTitle, 1, 1))+Lowercase(Copy(sTitle, 2, 999));
  else if (TITLECASE==3) sTitle = NameCase (sTitle);
  // Если есть указание добавлять год к названию фильма, то проверяем есть этот год и не есть ли он уже там
  if ((YEARINTITLE==1) &amp;&amp; !bDontAddYear) if ((Trim(sYear)!=&apos;&apos;) &amp;&amp; (Pos(sYear, sTitle)&lt;1)) sTitle += &apos; (&apos;+sYear+&apos;)&apos;;
  sTitle = ReplaceStr(sTitle, &apos;/&apos;, &apos;-&apos;);
  return sTitle;
}
// ---------------------------------------------------------------------------------------
// Контроль группировки и подготовка имени группы.
void ControlGrouping(char sTitle, char sYear, bool &amp;bGroupMode, int &amp;nCountInGRP, int &amp;nGroup, char &amp;sGroupName, int iChars=1) {
  char sName;
  nCountInGRP++;
    if ((GROUPMODE==0) &amp;&amp; bGroupMode) {
      // Группировка обычная, по максимальному количеству элементов в группе
      if (sGroupName == &apos;&apos;) sGroupName = Format(&apos;%.2d&apos;, [nGroup]);
      if (nCountInGRP&gt;MAXINGROUP) {nGroup++; nCountInGRP=1; sGroupName=Format(&apos;%.2d&apos;, [nGroup]);}
    } else if (GROUPMODE==1) {
      // Группировка по алфавиту - первым буквам названия
      sName = Uppercase(sTitle);
      // Пропускаем первые не алфавитные символы и не цифры
      if (!HmsRegExMatch(&apos;([0-9A-ZА-Я].*)&apos;, sName, sName))  sGroupName = &apos;#&apos;; // Если название вообще из не алфавитных
      else sGroupName = LeftCopy(sName, iChars);
      if (HmsRegExMatch(&apos;\\d&apos;,   sGroupName, sGroupName)) sGroupName = &apos;#&apos;;
      if (HmsRegExMatch(&apos;[A-Z]&apos;, sGroupName, sGroupName)) sGroupName = &apos;A..Z&apos;;
      bGroupMode = true;
    } else if (GROUPMODE==2) {
      // Группировка по алфавиту - первые буквы названия входят в группы А-Г, ...
      sName = Uppercase(sTitle);
      // Пропускаем первые не алфавитные символы и не цифры
      if (!HmsRegExMatch(&apos;([0-9A-ZА-Я].*)&apos;, sName, sName))  sGroupName = &apos;#&apos;; // Если название вообще из не алфавитных
      else sGroupName = LeftCopy(sName, 1);
      if      (HmsRegExMatch(&apos;\\d&apos;,   sGroupName, sGroupName)) sGroupName = &apos;#&apos;;
      else if (HmsRegExMatch(&apos;[A-Z]&apos;, sGroupName, sGroupName)) sGroupName = &apos;A..Z&apos;;
      else if (HmsRegExMatch(&apos;[А-Г]&apos;, sGroupName, sGroupName)) sGroupName = &apos;А..Г&apos;;
      else if (HmsRegExMatch(&apos;[Д-З]&apos;, sGroupName, sGroupName)) sGroupName = &apos;Д..З&apos;;
      else if (HmsRegExMatch(&apos;[И-Н]&apos;, sGroupName, sGroupName)) sGroupName = &apos;И..Н&apos;;
      else if (HmsRegExMatch(&apos;[О-С]&apos;, sGroupName, sGroupName)) sGroupName = &apos;О..С&apos;;
      else if (HmsRegExMatch(&apos;[Т-Х]&apos;, sGroupName, sGroupName)) sGroupName = &apos;Т..Х&apos;;
      else if (HmsRegExMatch(&apos;[Ц-Я]&apos;, sGroupName, sGroupName)) sGroupName = &apos;Ц..Я&apos;;
      bGroupMode = true;
    } else if (GROUPMODE==3) {
      // Группировка по годам (если указан)
      sGroupName = sYear;
      if (Trim(sGroupName)==&apos;&apos;) sGroupName = &apos;Год неуказан&apos;;
      bGroupMode = true;
    }
}
// ---------------------------------------------------------------------------------------
void LogMe(char sMsg) {
  char sText=&apos;&apos;;
  if (DBGFILE==&apos;&apos;) return;
  if (FileExists(DBGFILE)) sText = HmsStringFromFile(DBGFILE);
  HmsStringToFile(sText+Format(&apos;%s %s\n&apos;, [VarToStr(Now), sMsg]), DBGFILE);
}
// ---------------------------------------------------------------------------------------
// Получить дату в формате HMS.
char Date2HMSFormat(char sDateStr) {
  char s=&apos;&apos;, sYear, sMonth, sDay, sTime;
  char sStrMonth   =&apos;Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec&apos;;
  char sStrMonthRus=&apos;янв,фев,мар,апр,май,июн,июл,авг,сен,окт,ноя,дек&apos;;
  int n;
  if (HmsRegExMatch3(&apos;(\\d{4}).(\\d{2}).(\\d{2})&apos;, sDateStr, sYear, sMonth, sDay, PCRE_SINGLELINE)) {
    //&apos;2012-06-12T12:32:16.000Z&apos;;
    s = sDay+&apos;.&apos;+sMonth+&apos;.&apos;+sYear+&apos; &apos;+Copy(sDateStr,12, 5);
  } else if (HmsRegExMatch3(&apos;(\\d{2}).(\\w{3}).(\\d{4}).\\d{2}:\\d{2}&apos;, sDateStr, sDay, sMonth, sYear, PCRE_SINGLELINE)) {
    // &apos;Wed, 29 Oct 2008 14:14:48 +0000&apos;
    for (n=1; n&lt;=12; n++) {if ((ExtractWord(n, sStrMonth, &apos;,&apos;)==sMonth)||(ExtractWord(n, sStrMonthRus, &apos;,&apos;)==sMonth)) break;}
    sMonth = Format("%.2d", [n]);
    s = sDay+&apos;.&apos;+sMonth+&apos;.&apos;+sYear+&apos; &apos;+Copy(sDateStr,12, 5);
  } else if (HmsRegExMatch3(&apos;(\\d{2}).(\\w{3}).(\\d{4})&apos;, sDateStr, sDay, sMonth, sYear, PCRE_SINGLELINE)) {
    // &apos;23 янв 2008&apos;
    for (n=1; n&lt;=12; n++) {if ((ExtractWord(n, sStrMonth, &apos;,&apos;)==sMonth)||(ExtractWord(n, sStrMonthRus, &apos;,&apos;)==sMonth)) break;}
    sMonth = Format("%.2d", [n]);
    s = sDay+&apos;.&apos;+sMonth+&apos;.&apos;+sYear+&apos; &apos;+Copy(sDateStr,12, 5);
  }
  return s;
}
// ---------------------------------------------------------------------------------------
// Получить длительность в формате HMS.
char GetTimeLength(char sDura) {
  int nH, nM, nS, nSecs, nMins; char sH, sM, sS;
  if (Pos(&apos;:&apos;, sDura)&gt;0) {
    // Если там есть двоеточие, то думаем что там минуты:секунды или даже ещё и часы
    sDura=HmsHtmlToText(sDura);
    if (WordCount(sDura, &apos;:&apos;)==3) {
      HmsRegExMatch(&apos;(\\d*:\\d*:\\d\\d?)&apos;, sDura, sDura, 1, PCRE_SINGLELINE); // Убираем левые символы (не цифры). Бывает такое.
      nH = StrToIntDef(ExtractWord(1, sDura, &apos;:&apos;), 0);
      nM = StrToIntDef(ExtractWord(2, sDura, &apos;:&apos;), 0);
      nS = StrToIntDef(ExtractWord(3, sDura, &apos;:&apos;), 0);
    } else if (WordCount(sDura, &apos;:&apos;)==2) {
      HmsRegExMatch(&apos;(\\d*:\\d\\d?)&apos;, sDura, sDura, 1, PCRE_SINGLELINE);
      nM = StrToIntDef(ExtractWord(1, sDura, &apos;:&apos;), 0);
      nS = StrToIntDef(ExtractWord(2, sDura, &apos;:&apos;), 0);
      nH = Trunc(nM/60);
      nM = nM-(nH*60);
    } else return sDura;
  } else if ((Pos(&apos;мин&apos;, sDura)&gt;0)||(Pos(&apos;min&apos;, sDura)&gt;0)) {
    HmsRegExMatch(&apos;([\\d]+)&apos;, sDura, sDura);
    nMins = StrToIntDef(sDura, 0);
    nH = Trunc(nMins/60);
    nM = nMins-(nH*60);
    nS = 0;
  } else if (HmsRegExMatch2(&apos;(\\d+)m(\\d+)s&apos;, sDura, sM, sS)) {
      nM = StrToIntDef(sM, 0);
      nS = StrToIntDef(sS, 0);
      nH = Trunc(nM/60);
      nM = nM-(nH*60);
  } else {
    // Иначе будем думать, что в переданном параметре - количество секунд.
    HmsRegExMatch(&apos;([\\d]+)&apos;, sDura, sDura); // Убираем левые символы (не цифры)
    nSecs = StrToIntDef(sDura, 0);
    nH = Trunc(nSecs/60/60);
    nM = Trunc(nSecs/60)-(nH*60);
    nS = nSecs-(nM*60)-(nH*60*60);
  }
  return format("%.2d:%.2d:%.2d.000", [nH, nM, nS]);
}
// ---------------------------------------------------------------------------------------
// Найти в тексте информацию медиаресурса (название, ссылка, эскиз и т.д.) и запомнить в объекте TStrings ItemInfo
// (3-я из 4-х главных функций)
TStrings FindAndFillInfo(char sText, TStrings WONKYBLK, Variant prntItem, bool bAdd=false) {
  char sValue, sParamName, sRegExpr, sY, sM, sD, s; int i, nParamId, n, nExcludes;
  TStrings WONKYOBJECT, ItemInfo = TStringList.Create();
  for (i=0; i&lt;WONKYBLK.Count; i++) {
    sParamName = WONKYBLK.Names[i]; sValue = &apos;&apos;;
    if (sParamName==&apos;&apos;) {
      sParamName = WONKYBLK.Strings(i);
      if (GetWonkyObject(WONKYBLK, sParamName, WONKYOBJECT, ItemInfo)) {
        if (LeftCopy(sParamName, 7)==&apos;Exclude&apos;) {ItemInfo.Clear(); return ItemInfo;}
      }
      continue;
    } else {
      sRegExpr = WONKYBLK.Values[sParamName];
    }
    if (sRegExpr==&apos;&apos;) continue;
    s = LeftCopy(sParamName, 7);
    if (s==&apos;Exclude&apos;) {
      if (HmsRegExMatch(sRegExpr, sText, sValue, 1, PCRE_SINGLELINE)) {ItemInfo.Clear(); return ItemInfo;}
    } else if (s==&apos;TitlCut&apos;) {
      if (HmsRegExMatch(sRegExpr, ItemInfo.Values[&apos;mpiTitle&apos;], sValue, 1, PCRE_SINGLELINE)) {
        ItemInfo.Values[&apos;mpiTitle&apos;] = ReplaceStr(ItemInfo.Values[&apos;mpiTitle&apos;], sValue, &apos;&apos;);
      }
    }
    nParamId = GetIdByParamName(sParamName); if (nParamId==0 ) continue;
    if      (sRegExpr == &apos;inherit&apos;) sValue = prntItem[nParamId];
    else if (Pos(&apos;(&apos;, sRegExpr)&lt;=0) sValue = sRegExpr;
    else if (!HmsRegExMatch(sRegExpr, sText, sValue, 1, PCRE_SINGLELINE)) {
      n=2; sRegExpr = WONKYBLK.Values[sParamName+IntToStr(n)];
      while (sRegExpr!=&apos;&apos;) {
        if (sRegExpr == &apos;inherit&apos;) {sValue = prntItem[nParamId]; break;}
        else if (Pos(&apos;(&apos;, sRegExpr)&lt;=0) {sValue = sRegExpr; break;}
        else if (!HmsRegExMatch(sRegExpr, sText, sValue, 1, PCRE_SINGLELINE)) {
          n++; sRegExpr = WONKYBLK.Values[sParamName+IntToStr(n)];
        } else sRegExpr = &apos;&apos;;
      }
    }
    if (sValue == &apos;&apos;) continue;
    if ((nParamId==mpiThumbnail)||(nParamId==mpiFilePath)) { // Если это ссылки
      // Если это ссылки, то проверяем некоторые случаи (добавляем к неполным ссылкам UrlBase)
      HmsRegExMatch(&apos;src=["\&apos;](.*?)["\&apos;]&apos;,  sValue, sValue, 1, PCRE_SINGLELINE);
      HmsRegExMatch(&apos;href=["\&apos;](.*?)["\&apos;]&apos;, sValue, sValue, 1, PCRE_SINGLELINE);
      sValue = CompleteLink(sValue);
      // Если в ссылках встречаются русские символы - делаем их безопасными
      if (HmsRegExMatch(&apos;^.*?([а-яА-Я].*)&apos;, sValue, s, 1, PCRE_SINGLELINE)) sValue = ReplaceStr(sValue, s, HmsHttpEncode(HmsUtf8Encode(s)));
    }
    sValue = Trim(ReplaceStr(HmsHtmlToText(sValue), #160, &apos; &apos;)); // Заменяем пробел &amp;nbsp; на обычный
    if (Pos(&apos;&lt;/&apos;, sValue)&gt;0) sValue=HmsHtmlToText(sValue);
    sValue = ReplaceStr(sValue, &apos;\r\n&apos;, &apos;. &apos;);
    if (CheckWonkyParam(WONKYBLK, &apos;ToUTF8&apos;)) sValue=HmsHtmlToText(sValue, 65001);
    if      ( nParamId==mpiCreateDate) sValue=Date2HMSFormat(sValue);
    else if ( nParamId==mpiTimeLength) sValue=GetTimeLength (sValue);
    else if ( nParamId==mpiYear ) HmsRegExMatch(&apos;([\\d]{4})&apos;, sValue, sValue, 1, PCRE_SINGLELINE); // Только цифры, ничего лишнего
    ItemInfo.Values[sParamName] = sValue;
  }
  if (ItemInfo.Values[&apos;mpiCreateDate&apos;]==&apos;&apos;)  ItemInfo.Values[&apos;mpiCreateDate&apos;] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0));
  if (WONKYBLK.IndexOfName(&apos;SetParams&apos;)&gt;=0) ItemInfo.Values[&apos;mpiPodcastParameters&apos;]+= WONKYBLK.Values[&apos;SetParams&apos;];
  if (ItemInfo.Values[&apos;mpiTimeLength&apos;]==&apos;&apos;)  ItemInfo.Values[&apos;mpiTimeLength&apos;] = &apos;01:40:00.000&apos;;
  if (ItemInfo.Values[&apos;mpiTitle&apos;]!=&apos;&apos;) ItemInfo.Values[&apos;mpiTitle&apos;] = NormalizeTitle(ItemInfo.Values[&apos;mpiTitle&apos;], ItemInfo.Values[&apos;mpiYear&apos;]);
  if (ItemInfo.Values[&apos;mpiFilePath&apos;]  ==&apos;&apos;)  ItemInfo.Values[&apos;mpiFilePath&apos;]   = ItemInfo.Values[&apos;mpiTitle&apos;];
  if (Trim(prntItem[500])!=&apos;&apos;) {
    ItemInfo.Values[&apos;id200&apos;] = prntItem[200]; // mpiFolderType
    ItemInfo.Values[&apos;id500&apos;] = prntItem[500]; // mpiDynamicScript
    ItemInfo.Values[&apos;id501&apos;] = prntItem[501]; // mpiDynamicSyntaxType
    ItemInfo.Values[&apos;id39000&apos;] = prntItem[39000]; // Cookies
  }
  if (!bAdd &amp;&amp; (ItemInfo.Values[&apos;mpiTitle&apos;]==&apos;&apos;)) ItemInfo.Clear();
  return ItemInfo;
}

// -------------- Проверка и приведение, если нужно, ссылки к полному виду ----
char CompleteLink(char sLink) {
  if (LeftCopy(sLink, 4)!=&apos;http&apos;) {
    if      (LeftCopy(sLink, 2)==&apos;//&apos;) sLink = &apos;http:&apos; + Trim(sLink);
    else if (LeftCopy(sLink, 1)!=&apos;/&apos; ) sLink = gsUrlBase + &apos;/&apos; + Trim(sLink);
    else sLink = gsUrlBase + Trim(sLink);
  }
  return sLink;
}
// ---------------------------------------------------------------------------------------
// Перекидывание информации из блока-хранилища TStrings в элемент подкаста
void StoreInfoToPodcast(TStrings ItemInfo, THmsScriptMediaItem Item) {
  int i, nPropId; char sPropName;
  if (ItemInfo.Count&lt;1) return;
  for (i=0; i&lt;ItemInfo.Count; i++) {
    sPropName = ItemInfo.Names[i];
    nPropId   = GetIdByParamName(sPropName);
    if ((FolderItem==Item) &amp;&amp; (nPropId==mpiCreateDate)) continue;
    Item[nPropId] = ItemInfo.Values[sPropName];
  }
}
// ---------------------------------------------------------------------------------------
THmsScriptMediaItem CreateInFolder(TStrings WONKYBLK, THmsScriptMediaItem PrntFolder, TStrings ItemInfo) {
  THmsScriptMediaItem NewFolder = PrntFolder; int i; Variant WONKYOBJECT, WOBJECT; string sName; 
  if (GetWonkyObject(WONKYBLK, &apos;Folders&apos;, WONKYOBJECT, PrntFolder)) {
    for (i=0; i&lt;WONKYOBJECT.Count; i++) {
      WOBJECT = WONKYOBJECT.Objects[i]; if (WOBJECT==nil) continue;
      if (!CheckObjectCondition(WOBJECT, ItemInfo)) continue;
      sName = WOBJECT.Values[&apos;mpiTitle&apos;];
      NewFolder = PrntFolder.AddFolder(sName);
      break;
    }
  }
  return NewFolder;
}
// ---------------------------------------------------------------------------------------
// Поиск в тексте блоков с информацией о видео (2-я из 4-х главных функций)
void ProcessFindItems(char sText, TStrings WONKYBLK_IN, THmsScriptMediaItem ParentItem) {
  int n, i, nIndxBlk, nItems, nItemsTotal, nGroup=0, nCountInGRP=0, nParamId, nOldSHOWPRGRS, nItemsAdded=0, nVal;
  bool bGroupMode=false, bForceFolder; char sGroupName=&apos;&apos;, sHtmlBlock, sValue;
  int GROUPMODE_OLD; TStrings ItemInfo; Variant WONKYOBJECT, WONKYBLK = WONKYBLK_IN;
  THmsScriptMediaItem Item, ItemCh, ItemFolder, ItemOrigFolder;
  // Если информации для поиска нет вообще или неустановлен параметр SearchBlock - то нам тут и работы нет
  if ((WONKYBLK.Count&lt;1)||(WONKYBLK.Values[&apos;SearchBlock&apos;]==&apos;&apos;)) return;
  sValue = WONKYBLK.Values[&apos;UrlBase&apos;  ]; if (sValue!=&apos;&apos;) gsUrlBase = ReplaceWonkyVars(sValue);
  sValue = WONKYBLK.Values[&apos;CutBlock&apos; ]; if (sValue!=&apos;&apos;) HmsRegExMatch(sValue, sText, sText, 1, PCRE_SINGLELINE);
  sValue = WONKYBLK.Values[&apos;TitleCase&apos;]; if (sValue!=&apos;&apos;) {
    if (sValue == &apos;upper&apos;) TITLECASE = 1;
    if (sValue == &apos;first&apos;) TITLECASE = 2;
    if (sValue == &apos;name&apos; ) TITLECASE = 3;
    if (sValue == &apos;none&apos; ) TITLECASE = 0;
  }
  // Определяем количество элементов
  nItemsTotal = GetCountOf(sText, WONKYBLK.Values[&apos;SearchBlock&apos;]);
  LogMe(&apos;ProcessFindItems: nItemsTotal=&apos;+IntToStr(nItemsTotal)+&apos;; SearchBlock=&apos;+WONKYBLK.Values[&apos;SearchBlock&apos;]);
  if (nItemsTotal&lt;1) return;
  // Если родительский элемент не является папкой - делаем из неё таковую
  if (!ParentItem.IsFolder) {
    if (WONKYBLK.IndexOfName(&apos;ForceFolder&apos;)&gt;=0) bForceFolder=CheckWonkyParam(WONKYBLK, &apos;ForceFolder&apos;);
    else bForceFolder = (ParentItem[mpiFilePath]==ParentItem[mpiTitle]);
    ItemFolder = ParentItem.ItemParent.AddFolder(ParentItem[mpiFilePath]+&apos;_f&apos;, bForceFolder);
    for (i=0; i&lt;Length(gaProps4Copy); i++) {n = gaProps4Copy[i]; ItemFolder[n] = ParentItem[n];}
    ParentItem.Delete();
  } else ItemFolder = ParentItem;
  // Если элементов больше MAXINGROUP, включаем группировку
  MAXINGROUP = StrToIntDef(WONKYBLK.Values[&apos;MaxInGroup&apos;], MAXINGROUP);
  bGroupMode = (nItemsTotal&gt;MAXINGROUP);
  ItemOrigFolder = ItemFolder;
  // Подготовка к запуску поискового модуля TRegExpr - вставляем запрограммированный поисковой блок
  TRegExpr reSearch = TRegExpr.Create(WONKYBLK.Values[&apos;SearchBlock&apos;], PCRE_SINGLELINE);
  if (reSearch.Search(sText)) do {
    // Нашли в тексте блок с информацией о видео
    sValue = WONKYBLK.Values[&apos;SkipIf&apos;];
    if (sValue!=&apos;&apos;) if (HmsRegExMatch(sValue, reSearch.Match, sValue, 1, PCRE_SINGLELINE)) continue;
    sValue = WONKYBLK.Values[&apos;SkipNotIf&apos;];
    if (sValue!=&apos;&apos;) if (!HmsRegExMatch(sValue, reSearch.Match, sValue, 1, PCRE_SINGLELINE)) continue;
    nItems++; gnTotalItems++;
    ItemFolder = ItemOrigFolder;
    WONKYBLK = WONKYBLK_IN;
    if (HmsCancelPressed()) RaiseException(&apos;Прервано.&apos;);
    if (SHOWPROGRESS==1) HmsSetProgress(Trunc(nItems*100/nItemsTotal));
    VARS.Values[&apos;&lt;TEXTITEM&gt;&apos;] = reSearch.Match;
    // Поиск информации о найденном видео
    if (GetWonkyObject(WONKYBLK, &apos;ConditionBlocks&apos;, WONKYOBJECT, ItemFolder)) WONKYBLK = WONKYOBJECT;
    ItemInfo = FindAndFillInfo(reSearch.Match, WONKYBLK, ItemFolder);
    if (ItemInfo.Count==0) continue;
    ControlGrouping(ItemInfo.Values[&apos;mpiTitle&apos;], ItemInfo.Values[&apos;mpiYear&apos;], bGroupMode, nCountInGRP, nGroup, sGroupName);
    if (NUMBERING==1) {
      if (nItemsTotal&gt;99) ItemInfo.Values[&apos;mpiTitle&apos;] = Format(&apos;%.3d. %s&apos;, [nCountInGRP, ItemInfo.Values[&apos;mpiTitle&apos;]]);
      else ItemInfo.Values[&apos;mpiTitle&apos;] = Format(&apos;%.2d. %s&apos;, [nCountInGRP, ItemInfo.Values[&apos;mpiTitle&apos;]]);
    }
    // add in 307.40
    if (GetWonkyObject(WONKYBLK, &apos;CreateInFolders&apos;, WONKYOBJECT, ItemInfo)) ItemFolder = CreateInFolder(WONKYOBJECT, ItemFolder, ItemInfo);
    if (W_MODE==1) {
      if (GetWonkyObject(WONKYBLK, &apos;ForceFolder&apos;, WONKYOBJECT, ItemFolder)) bForceFolder = true;
      else bForceFolder = (ItemInfo.Values[&apos;mpiFilePath&apos;]==ItemInfo.Values[&apos;mpiTitle&apos;]);
      if (CheckWonkyParam(WONKYBLK, &apos;ForcePodcast&apos;)) bForceFolder=false;
      Item = ItemFolder.AddFolder(ItemInfo.Values[&apos;mpiFilePath&apos;], bForceFolder);
      sValue = WONKYBLK.Values[&apos;NumPages&apos;]; if (sValue!=&apos;&apos;) {
        sHtmlBlock = LoadURL(ItemInfo.Values[&apos;mpiFilePath&apos;]);
        if (HmsRegExMatch(sValue, sHtmlBlock, sValue, 1, PCRE_SINGLELINE)) ItemInfo.Values[&apos;mpiPodcastParameters&apos;]+= &apos; --pages=&apos;+Trim(sValue);
      }
    } else {
      if ((ITEMASFOLDER&gt;0) &amp;&amp; ((ITEMASFOLDER==1) || GetWonkyObject(WONKYBLK, &apos;ForceFolder&apos;, WONKYOBJECT, ItemFolder) || CheckWonkyParam(WONKYBLK, &apos;ForceFolder&apos;))) {
        if (Trim(ItemFolder[500])!=&apos;&apos;) i = 32; else i = -1;
        if (sGroupName != &apos;&apos;) Item = ItemFolder.AddFolder(sGroupName+&apos;\\&apos;+ItemInfo.Values[&apos;mpiFilePath&apos;], true, i);
        else                  Item = ItemFolder.AddFolder(ItemInfo.Values[&apos;mpiFilePath&apos;], true, i);
      } else {
        if (sGroupName != &apos;&apos;) {
          Item = ItemFolder.AddFolder(sGroupName, false);
          if (Trim(Item[mpiCreateDate])==&apos;&apos;) Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0));
          Item = HmsCreateMediaItem(ItemInfo.Values[&apos;mpiFilePath&apos;], Item.ItemID);
        } else {
          Item = HmsCreateMediaItem(ItemInfo.Values[&apos;mpiFilePath&apos;], ItemFolder.ItemID);
        }
      }
    }
    StoreInfoToPodcast(ItemInfo, Item); // И заполняем найденной информацией
    if (COLLECTING==1) CollectTheItem(Item, bGroupMode, nCountInGRP, nGroup, sGroupName);
    //if        (GROUPMODE==0) Item.ItemParent[mpiFolderSortOrder] = -mpiCreateDate;
    if      ( (GROUPMODE==1) || (GROUPMODE==2) ) {
      Item.ItemParent.ItemParent[mpiFolderSortOrder] = mpiTitle;
      Item.ItemParent[mpiFolderSortOrder] = mpiTitle;
    } else if (GROUPMODE==3) {
      Item.ItemParent.ItemParent[mpiFolderSortOrder] = -mpiTitle;
      Item.ItemParent[mpiFolderSortOrder] = mpiTitle;
    }
    VARS.Values[&apos;&lt;FILEPATH&gt;&apos;]     = Item[mpiFilePath];
    VARS.Values[&apos;&lt;TITLE&gt;&apos;]        = Item[mpiTitle];
    VARS.Values[&apos;&lt;TITLE4SEARCH&gt;&apos;] = GetTitle4Search(Item);
    if (Trim(Item[mpiThumbnail])==&apos;&apos;) Item[mpiThumbnail] = Item.ItemParent[mpiThumbnail];
    nItemsAdded++;
    sValue = WONKYBLK.Values[&apos;TitleFormat&apos;]; if (sValue != &apos;&apos;) Item[mpiTitle] = Format(sValue, [nItemsAdded, Item[mpiTitle]]);
    nVal = StrToIntDef(WONKYBLK.Values[&apos;LimitItems&apos;], 0);
    if ((nVal&gt;0) &amp;&amp; (nItemsAdded&gt;=nVal)) break;
    GetWonkyObject(WONKYBLK, &apos;GetVars&apos;, WONKYOBJECT, Item);
    if (GetWonkyObject(WONKYBLK, &apos;ChangeValues&apos;, WONKYOBJECT, Item)) WonkyChangeValues(WONKYOBJECT, Item);
    nOldSHOWPRGRS = SHOWPROGRESS; SHOWPROGRESS = 0; // Запоминаем флаг и в более глубоких циклах не показываем
    // Если есть ссылка и команда на разрешение заглядывать внутрь по ссылке - загружаем
    if ((LOADFROMLINKS==1)&amp;&amp;(GetWonkyObject(WONKYBLK, &apos;LoadLink&apos;, WONKYOBJECT, ParentItem))) {
      GROUPMODE_OLD = GROUPMODE; GROUPMODE = 0;
      if ((WONKYOBJECT!=0) &amp;&amp; (LeftCopy(Item[mpiFilePath], 4)==&apos;http&apos;)) LoadPages(WONKYOBJECT, Item); // Если есть инструкции загружать - загружаем
      GROUPMODE = GROUPMODE_OLD;
    }
    // Проверяем, установлен ли блок поиска подчинённых элементов
    if (GetWonkyObject(WONKYBLK, &apos;SearchItems&apos;, WONKYOBJECT, ParentItem)) {
      GROUPMODE_OLD = GROUPMODE; GROUPMODE = 0;
      ProcessFindItems(reSearch.Match, WONKYOBJECT, Item);
      GROUPMODE = GROUPMODE_OLD;
    }
    SHOWPROGRESS = nOldSHOWPRGRS; // Воссстанавливаем значение флага показа прогресса выполнения
    if (WONKYBLK.IndexOfName(&apos;DeleteIfEmpty&apos;)&gt;=0) if (!Item.HasChildItems()) Item.Delete();
  } while (reSearch.SearchAgain());
  reSearch.Free();
  return;
}
// ---------------------------------------------------------------------------------------
// Присвоение нового значения полю (если указано условие, то с его проверкой)
void WonkyChangeValues(TStrings WONKYOBJECT, THmsScriptMediaItem ParentItem) {
  int n, i, nParamId; char sOldName, sValue, sField; Variant SUBBLOCK;
  VARS.Values[&apos;&lt;FILEPATH&gt;&apos;] = ParentItem[mpiFilePath];
  VARS.Values[&apos;&lt;TITLE&gt;&apos;]    = ParentItem[mpiTitle];
  for (n=0; n&lt;WONKYOBJECT.Count; n++) {
    SUBBLOCK = WONKYOBJECT.Objects(n); if (SUBBLOCK==0) continue;
    if (!CheckObjectCondition(SUBBLOCK, ParentItem)) continue;
    for (i=0; i&lt;SUBBLOCK.Count; i++) {
      sField = SUBBLOCK.Names[i]; if (sField==&apos;&apos;) continue;
      sValue = SUBBLOCK.Values[sField];
      if (Pos(&apos;&lt;&apos;, sValue)&gt;0) sValue = ReplaceWonkyVars(sValue);
      if (HmsRegExMatch(&apos;^[A-Z]+$&apos;, sField, sField, 0, 2)) {VARS.Values[&apos;&lt;&apos;+sField+&apos;&gt;&apos;]=sValue; continue;}
      nParamId = GetIdByParamName(sField); if (nParamId==0) continue;
      if (nParamId==mpiFilePath) sOldName = ParentItem[mpiTitle]; // Смена ссылки может изменить имя
      ParentItem[nParamId] = sValue;
      if (nParamId==mpiFilePath) ParentItem[mpiTitle] = sOldName; // Приходиться восстанавливать его
    }
    LogMe(&apos;Сработало ChangeValues: &apos;+sField+&apos;=&apos;+sValue);
  }
}
// ---------------------------------------------------------------------------------------
// Обработка блока AfterLoad после загрузки страницы
void AfterLoadPageBlock(char sText, TStrings WONKYBLK, THmsScriptMediaItem ParentItem) {
  Variant WONKYOBJECT, SUBBLOCK;
  GetWonkyObject(WONKYBLK, &apos;GetVars&apos;, WONKYOBJECT, ParentItem);
  if (GetWonkyObject(WONKYBLK, &apos;ChangeValues&apos;, WONKYOBJECT, ParentItem)) WonkyChangeValues(WONKYOBJECT, ParentItem);
  if (GetWonkyObject(WONKYBLK, &apos;LoginRequest&apos;, WONKYOBJECT, ParentItem)) LoginRequest(WONKYOBJECT, ParentItem);
  if (GetWonkyObject(WONKYBLK, &apos;CreateItems&apos;,  WONKYOBJECT, ParentItem)) CreateItems(WONKYOBJECT, ParentItem);
}
// ---------------------------------------------------------------------------------------
// Подсчёт количества блоков в тексте
int GetCountOf(char sText, char substring) {
  int n=0; TRegExpr re = TRegExpr.Create(substring, PCRE_SINGLELINE);
  if ((trim(sText)==&apos;&apos;)||(trim(substring)==&apos;&apos;)||(trim(substring)==&apos;(.*?)&apos;)) return 0;
  if (re.Search(sText)) do n++; while (re.SearchAgain);
  re.Free; return n;
}
// ---------------------------------------------------------------------------------------
// Проверка логического параметра робота
bool CheckWonkyParam(TStrings WONKYOBJECT, char sParamName) {
  char s = Uppercase(LeftCopy(Trim(WONKYOBJECT.Values[sParamName]), 1));
  return ((s==&apos;Y&apos;)||(s==&apos;1&apos;));
}
// ---------------------------------------------------------------------------------------
// Заменяет шаблоны переменных типа &lt;TITLE&gt;, &lt;FILEPATH&gt; и всех других на их значения
char ReplaceWonkyVars(char sData) {
  char sVarName, sVarValue;
  for (int i=0; i&lt;VARS.Count; i++) {
    sVarName  = VARS.Names[i];
    sVarValue = VARS.Values[sVarName];
    if (Pos(sVarName, sData)&gt;0) sData = ReplaceStr(sData, sVarName, sVarValue);
  }
  return sData;
}
// ---------------------------------------------------------------------------------------
// Получить строку
char GetValueFromIdsWithFormats(Variant ParentItem, char Ids, char sFormat=&apos;&apos;) {
  Variant aVals = [&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;]; int i, n, nParamId; char sField, sValue=&apos;&apos;;
  n = WordCount(Ids, &apos;,&apos;);
  if (n &gt; Length(aVals)) n = Length(aVals);
  if (sFormat==&apos;&apos;) n = 1;
  for (i=0; i&lt;n; i++) {
    sValue = Trim(ExtractWord(i+1, Ids, &apos;,&apos;));
    nParamId = GetIdByParamName(sValue); if (nParamId!=0) sValue = ParentItem.Values[sValue];
    aVals[i] = sValue;
  }
  if (sFormat!=&apos;&apos;) if ((aVals[0]+aVals[1])==&apos;&apos;) sValue=&apos;&apos;; else sValue=Format(sFormat, aVals);
  return sValue;
}
// ---------------------------------------------------------------------------------------
// Проверить наличие условий и выполняются ли они
bool CheckObjectCondition(Variant WONKYOBJECT, Variant ParentItem) {
  char sField, sFCond, sValue=&apos;&apos;, sText; int nParamId; bool bNegative, bFound;
  sFCond = WONKYOBJECT.Values[&apos;IfKey&apos;];
  if (sFCond!=&apos;&apos;) if (Pos(sFCond, mpPodcastParameters)&lt;1) return false;
  sField = WONKYOBJECT.Values[&apos;ConditionField&apos;];
  sFCond = WONKYOBJECT.Values[&apos;ConditionExp&apos;  ];
  if ((sField==&apos;&apos;)||(sFCond==&apos;&apos;)) return true;
  bNegative = CheckWonkyParam(WONKYOBJECT, &apos;Negative&apos;);
  if (HmsRegExMatch(&apos;^&lt;\\w+&gt;$&apos;, sField, &apos;&apos;)) {
    sText = VARS.Values[sField];
  } else if (ParentItem.ClassName == &apos;TStringList&apos;) {
    sText = ParentItem.Values[sField];
  } else {
    nParamId = GetIdByParamName(sField); if (nParamId==0) return true;
    sText = ParentItem[nParamId];
  }
  bFound = HmsRegExMatch(sFCond, sText, sValue, 1, PCRE_SINGLELINE) ^ bNegative;
  if (bFound) {
    if (sValue == &apos;&apos;) sValue = sFCond;
    if (DBGFILE!= &apos;&apos;) LogMe(&apos;CONDITION: &apos;+sField+&apos; : &apos;+sFCond+&apos;\n&lt;CONDVAL&gt;=&apos;+LeftCopy(sValue, 100));
    VARS.Values[&apos;&lt;CONDVAL&gt;&apos;] = sValue;
  }
  return bFound;
}
// ---------------------------------------------------------------------------------------
// Проверить на наличие объекта с именем sObjName. Если есть, то WONKYOBJECT будет содержать ссылку на него.
// (4-я из 4-х главных функций)
bool GetWonkyObject(TStrings WONKYBLK, char sObjName, Variant &amp;WONKYOBJECT, Variant ParentItem) {
  Variant SUBOBJECT; int n, nParamId; bool bFound=false, bNeg=false;
  char sParamName, sValue, sField, sFCond, sVarName, sWhere, sRESearch, sWhereText;
  if (sObjName==&apos;Condition&apos;) bFound=true;
  int nIndxBlk = WONKYBLK.IndexOf(sObjName); if (nIndxBlk&lt;0)     return bFound;
  WONKYOBJECT  = WONKYBLK.Objects[nIndxBlk]; if (WONKYOBJECT==0) return bFound;
  if (!CheckObjectCondition(WONKYOBJECT, ParentItem)) return false;
  if (!GetWonkyObject(WONKYOBJECT, &apos;Condition&apos;, SUBOBJECT, ParentItem)) return false;
  // Проверим на некоторые объекты для дополнительных действий
  if (sObjName==&apos;Headers&apos;) {
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      sParamName = WONKYOBJECT.Names[n]; // sParamName может быть User-Agent, Accept-Charset, Referer...
      if (HmsRegExMatch(sParamName+&apos;: (.*?)\n&apos;, gsHeaders, sValue, 1, 4))
        gsHeaders = ReplaceStr(gsHeaders, sValue, WONKYOBJECT.Values[sParamName]);
      else
        gsHeaders+= sParamName+&apos;: &apos;+WONKYOBJECT.Values[sParamName]+#10#13;
    }
    n = 0;
  } else if (sObjName==&apos;ConditionBlocks&apos;) {
    bFound = false;
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      SUBOBJECT = WONKYOBJECT.Objects[n]; if (SUBOBJECT==0) continue;
      if (!GetWonkyObject(SUBOBJECT, &apos;Condition&apos;, SUBOBJECT, ParentItem)) continue;
      WONKYOBJECT = SUBOBJECT; bFound = true; break;
    }
    return bFound;
  } else if (LeftCopy(sObjName, 6)==&apos;Format&apos; ) {
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      sField   = WONKYOBJECT.Names[n];     if (sField ==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sField); if (nParamId==0) continue;
      sValue   = WONKYOBJECT.Values[sField];
      if (HmsRegExMatch2(&apos;[\&apos;](.*?)[\&apos;].*\\[(.*?)\\]&apos;, sValue, sFCond, sValue, PCRE_SINGLELINE)) {
        sValue = GetValueFromIdsWithFormats(ParentItem, sValue, sFCond);
      }
      if (sValue!=&apos;&apos;) {
        if (ParentItem.ClassName == &apos;TStringList&apos;) ParentItem.Values[sField] = sValue;
        else ParentItem[nParamId] = sValue;
      }
    }
    return true;
  } else if (LeftCopy(sObjName, 8)==&apos;AddParam&apos; ) {
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      sField   = WONKYOBJECT.Names[n];     if (sField ==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sField); if (nParamId==0) continue;
      sValue   = WONKYOBJECT.Values[sField];
      if (HmsRegExMatch2(&apos;Format\\([\&apos;](.*?)[\&apos;].*?\\[(.*?)\\]&apos;, sValue, sFCond, sValue, PCRE_SINGLELINE)) {
        sValue = GetValueFromIdsWithFormats(ParentItem, sValue, sFCond);
      }
      if (ParentItem.ClassName == &apos;TStringList&apos;) {
        ParentItem.Values[sField] += &apos; &apos; + sValue;
      } else {
        ParentItem[nParamId]      += &apos; &apos; + sValue;
      }
    }
    return true;
  } else if (sObjName==&apos;ConditionBlocks&apos;) {
    bFound = false;
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      SUBOBJECT = WONKYOBJECT.Objects[n]; if (SUBOBJECT==0) continue;
      if (!GetWonkyObject(SUBOBJECT, &apos;Condition&apos;, SUBOBJECT, ParentItem)) continue;
      WONKYOBJECT = SUBOBJECT; bFound = true; break;
    }
    return bFound;
  } else if (sObjName==&apos;GetVars&apos;) {
    // Блок получения значения переменных по заданным правилам
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      SUBOBJECT = WONKYOBJECT.Objects[n]; if (SUBOBJECT==0) continue;
      sVarName  = SUBOBJECT.Values(&apos;VarName&apos;);
      sWhere    = SUBOBJECT.Values(&apos;Where&apos;);
      sRESearch = SUBOBJECT.Values(&apos;RESearch&apos;);
      if (HmsRegExMatch(&apos;^&lt;\\w+&gt;$&apos;, sWhere, sValue)) sWhereText=VARS.Values[sWhere];
      else {
        nParamId = GetIdByParamName(sWhere); if (nParamId==0) continue;
        if (ParentItem.ClassName == &apos;TStringList&apos;) {
          sWhereText = ParentItem.Values[sField];
        } else {
          sWhereText = ParentItem[nParamId];
        }
      }
      sValue = &apos;&apos;;
      HmsRegExMatch(sRESearch, sWhereText, sValue, 1, PCRE_SINGLELINE);
      VARS.Values[sVarName] = sValue;
      LogMe(&apos;GetVars: &apos;+sVarName+&apos;=&apos;+sValue);
    }
  }
  return true;
}
// ---------------------------------------------------------------------------------------
// Получить из строкового в числовое значение параметра медиаресурса
int GetIdByParamName(char sParamName) {
  char sValue;
  if (HmsRegExMatch(&apos;^id(\\d+)&apos;, sParamName, sValue)) return StrToInt(sValue);
  return StrToIntDef(Evaluate(sParamName), 0);
}
// ---------------------------------------------------------------------------------------
// Yaml parser. Загружает конфиг в TStrings. 80 строк непонятного кода, дающие удобство.
Variant whYamlParser(char sFunc, TStrings &amp;oRESULT, Variant Param = &apos;&apos;) {
  int i, n, nRows, nRows2, nIdent, nIndxObj; char sLine, sValue; Variant oPath, CurObject = oRESULT;
  char sNextLine, sChar, sKey; bool bExistChild, bContinue;
  // Проверка имени вызываемой функции нашего "какбуд-то класса"
  if (sFunc==&apos;LoadFromString&apos;) {
    nIndxObj = oRESULT.AddObject(&apos;_YAMLPath&apos;, TStringList.Create());
    oPath    = oRESULT.Objects(nIndxObj);
    nRows = WordCount(Param, &apos;\n&apos;);
    for (i=1; i&lt;=nRows; i++) {
      sLine  = ExtractWord(i, Param, &apos;\n&apos;);
      nIdent = Length(sLine) - Length(TrimLeft(sLine));
      sLine  = TrimLeft(sLine);
      if (whYamlParser(&apos;_IsComment&apos;, CurObject, sLine)) continue;
      CurObject = whYamlParser(&apos;_GetParentByIdent&apos;, oRESULT, nIdent);
      bExistChild=false; // Проверим, есть ли дочерние элементы (смещение следущей строки больше чем наше)
      for (n=i+1; n&lt;=nRows; n++) {
        sNextLine = ExtractWord(n, Param, &apos;\n&apos;);
        if (whYamlParser(&apos;_IsComment&apos;, CurObject, Trim(sNextLine))) continue;
        bExistChild=(Length(sNextLine)-Length(TrimLeft(sNextLine))&gt;nIdent); break;
      }
      HmsRegExMatch(&apos;^-\\s*?(.*)&apos;, sLine, sLine);
      sKey = &apos;&apos;; // Пробуем получить ключ, если получилось, то потом получаем и значение (иначе всё значение)
      if (HmsRegExMatch(&apos;^([\\w-]+)\\s*?:&apos;, sLine, sKey)) HmsRegExMatch(&apos;^[\\w-]+\\s*?:\\s*?(.*)&apos;, sLine, sLine);
      else sKey = IntToStr(CurObject.Count);
      if (bExistChild) {
        nIndxObj  = CurObject.AddObject(sKey, TStringList.Create());
        CurObject = CurObject.Objects(nIndxObj);
        oPath.AddObject(IntToStr(nIdent), CurObject);
        if (Trim(sLine)==&apos;&apos;) continue;
      }
      if (HmsRegExMatch(&apos;^{(.*)}&apos;, sLine, sNextLine)) { // Проверяем, если это Map блок {}
        nIndxObj  = CurObject.AddObject(sKey, TStringList.Create());
        CurObject = CurObject.Objects(nIndxObj);
        nRows2 = WordCount(sNextLine, &apos;,&apos;); bContinue = false;
        for (n=1; n&lt;=nRows2; n++) {
          if (bContinue) sValue = sLine+&apos;,&apos;; else sValue = &apos;&apos;;
          sLine = sValue + ExtractWord(n, sNextLine, &apos;,&apos;);
          if (!bContinue) {
            if (HmsRegExMatch(&apos;^\\s*?([\\w-]+)\\s*?:&apos;, sLine, sKey)) {
              HmsRegExMatch(&apos;^\\s*?[\\w-]+\\s*?:\\s*?(.*/)&apos;, sLine+&apos;/&apos;, sLine);
              sLine = LeftCopy(sLine, Length(sLine)-1);
            } else sKey = IntToStr(CurObject.Count);
          }
          if (HmsRegExMatch2(&apos;^([\&apos;"]).*([^\\s])\\s*?$&apos;, sLine, sChar, sValue)) if ((sChar!=sValue)&amp;&amp;(n!=nRows2)) {bContinue=true; continue;}
          HmsRegExMatch(&apos;^[\&apos;"](.*)[\&apos;"]&apos;, sLine, sLine);  // --11--
          CurObject.Values[sKey] = sLine;
          bContinue=false;
        }
        continue;
      }
      if (HmsRegExMatch(&apos;^([\&apos;"])&apos;, sLine, sChar)) HmsRegExMatch(&apos;^&apos;+sChar+&apos;(.*)&apos;+sChar, sLine, sLine);
      else HmsRegExMatch(&apos;^(.*)#&apos;,  sLine, sLine); // Отсекаем комментарий
      CurObject.Values[sKey] = sLine;
    }
    oRESULT.Delete(oRESULT.IndexOfObject(oPath));
    oPath.Free();
  } else if (sFunc==&apos;SaveToString&apos;) {
    sValue = &apos;&apos;;
    for (i=0; i&lt;oRESULT.Count; i++) {
      sValue = sValue + Param + oRESULT.Strings(i) + &apos;\n&apos;;
      CurObject = oRESULT.Objects(i);
      if (CurObject!=0) sValue = sValue + whYamlParser(&apos;SaveToString&apos;, CurObject, Param+&apos;  &apos;);
    }
    return sValue;
  } else if (sFunc==&apos;_IsComment&apos;) {
    if ((Trim(Param)==&apos;&apos;) || (LeftCopy(Param, 1)==&apos;#&apos;) || (Trim(Param)==&apos;---&apos;)) return true;
    return false;
  } else if (sFunc==&apos;_GetParentByIdent&apos;) {
    nIndxObj = oRESULT.IndexOf(&apos;_YAMLPath&apos;); if (nIndxObj   &lt;0) return oRESULT;
    oPath    = oRESULT.Objects(nIndxObj);    if (oPath.Count&lt;1) return oRESULT;
    for (i=oPath.Count-1; i&gt;=0; i--) {
      nIdent = StrToIntDef(oPath.Strings(i), 0);
      if (Param&gt;nIdent) {CurObject = oPath.Objects(i); break;}
      else oPath.Delete(i);
    }
    return CurObject;
  }
}
// ---------------------------------------------------------------------------------------
// Возвращает http кодированное название
char GetTitle4Search(THmsScriptMediaItem Item) {
  char sTitle = Trim(Item[mpiTitle]);
  sTitle = ReplaceStr(sTitle, &apos;"&apos;, &apos;&apos; ); // Убираем кавычки - мешают при поиске
  if (WONKY307.Values[&apos;NoUtfTitle4Search&apos;]==&apos;&apos;) {
    if (Pos(&apos;(site:&apos;, sTitle)&lt;1) sTitle = HmsHttpEncode(HmsUtf8Encode(sTitle));
  } else {
    if (Pos(&apos;(site:&apos;, sTitle)&lt;1) sTitle = HmsHttpEncode(sTitle);
  }
  // Символ &apos;+&apos; в ссылке папки подкаста - это значит добавить имя папки к поиску имени подкаста
  // Если не указан запрещающие параметр --minusfolder в подкасте
  if (LeftCopy(Item.ItemParent[mpiFilePath], 4)!=&apos;http&apos;)
    if ((Pos(&apos;+&apos;, Item.ItemParent[mpiFilePath])==1)&amp;&amp;(Pos(&apos;--minusfolder&apos;,  Item[mpiPodcastParameters])&lt;1))
      sTitle=Trim(Item.ItemParent[mpiTitle])+&apos;+&apos;+Trim(sTitle);
  if (LeftCopy(Item.ItemParent.ItemParent[mpiFilePath], 4)!=&apos;http&apos;)
    if ((Pos(&apos;+&apos;, Item.ItemParent.ItemParent[mpiFilePath])==1)&amp;&amp;(Pos(&apos;--minusfolder&apos;,  Item[mpiPodcastParameters])&lt;1))
      sTitle=Trim(Item.ItemParent.ItemParent[mpiTitle])+&apos;+&apos;+Trim(sTitle);
  sTitle = ReplaceStr(sTitle, &apos; &apos;, &apos;+&apos;);
  return sTitle;
}
// ---------------------------------------------------------------------------------------
// Загрузка Страниц (1-я из 4-х главных функций)
void LoadPages(TStrings WONKYBLK, THmsScriptMediaItem ParentItem) {
  int n, nIndxBlk, nBlocks, nBlk, nParamId, nField; char sLink, sValue, sPage, sHtml, sParamName, sPgs=&apos;&apos;;
  Variant WONKYOBJECT, SUBBLOCK; TStrings ItemInfo; char sCondField, sCond; bool bFirstPage=true;
  char sQBase=&apos;&apos;, sQLink=&apos;&apos;, sQMeth=&apos;GET&apos;, sQData=&apos;&apos;;
  // nPages     - Количество страниц
  // nFirstPage - С какого номера начинать
  // nPageMul   - Множитель номера страницы
  // sPageParam - Шаблон строки части адреса, где вместо &lt;PN&gt; будет
  //              подставляться номер страницы (например &apos;?page=&lt;PN&gt;&apos;, &apos;&apos; - выключено)
  int  nPages     = 1;
  int  nFirstPage = 0;
  int  nPageMul   = 1;
  string sPageParam = &apos;&apos;;
  // Видвижение блока с информацией о том сколько и как загружать страницы
  if (GetWonkyObject(WONKYBLK, &apos;PagesInfo&apos;, WONKYOBJECT, ParentItem)) {
    nPages     = StrToIntDef(WONKYOBJECT.Values[&apos;Pages&apos;    ], nPages    );
    nFirstPage = StrToIntDef(WONKYOBJECT.Values[&apos;StartPage&apos;], nFirstPage);
    nPageMul   = StrToIntDef(WONKYOBJECT.Values[&apos;PageMul&apos;  ], nPageMul  );
    sPageParam = WONKYOBJECT.Values[&apos;PageParam&apos;];
    sValue = WONKYOBJECT.Values[&apos;Method&apos;]; if (sValue!=&apos;&apos;) {sQMeth = ReplaceWonkyVars(sValue); VARS.Values[&apos;&lt;METHOD&gt;&apos;]=sQMeth;}
  }
  sValue = WONKYBLK.Values[&apos;UrlBase&apos;]; if (sValue!=&apos;&apos;) gsUrlBase = ReplaceWonkyVars(sValue);
  // Если есть блок с параметрами для глобальной gsHeaders - заменяем на переданные значения
  GetWonkyObject(WONKYBLK, &apos;Headers&apos;, WONKYOBJECT, ParentItem);
  sValue = WONKYBLK.Values[&apos;FilePath&apos;]; if (sValue!=&apos;&apos;) {ParentItem[mpiFilePath] = ReplaceWonkyVars(sValue); VARS.Values[&apos;&lt;FILEPATH&gt;&apos;]=ParentItem[mpiFilePath];}
  GetWonkyObject(WONKYBLK, &apos;GetVars&apos;, WONKYOBJECT, ParentItem);
  if (CheckWonkyParam(WONKYBLK, &apos;LoadFromLinks&apos;)) LOADFROMLINKS = 1;
  if (CheckWonkyParam(WONKYBLK, &apos;StoreCookie&apos;  )) gbStoreCookie = true;
  if (GetWonkyObject (WONKYBLK, &apos;ChangeValues&apos;, WONKYOBJECT, ParentItem)) WonkyChangeValues(WONKYOBJECT, ParentItem);
  if (GetWonkyObject (WONKYBLK, &apos;LoginRequest&apos;, WONKYOBJECT, ParentItem)) LoginRequest(WONKYOBJECT, ParentItem);
  if (GetWonkyObject (WONKYBLK, &apos;CreateItems&apos;,  WONKYOBJECT, ParentItem)) CreateItems (WONKYOBJECT, ParentItem);
  // Проверяем "одноразовые" переменные после ChangeValues.
  if (VARS.Values[&apos;&lt;PAGES&gt;&apos;]    !=&apos;&apos;) nPages     = StrToIntDef(VARS.Values[&apos;&lt;PAGES&gt;&apos;],     nPages    );
  if (VARS.Values[&apos;&lt;FIRSTPAGE&gt;&apos;]!=&apos;&apos;) nFirstPage = StrToIntDef(VARS.Values[&apos;&lt;FIRSTPAGE&gt;&apos;], nFirstPage);
  if (VARS.Values[&apos;&lt;PAGEMUL&gt;&apos;]  !=&apos;&apos;) nPageMul   = StrToIntDef(VARS.Values[&apos;&lt;PAGEMUL&gt;&apos;],   nPageMul  );
  if (VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;]!=&apos;&apos;) sPageParam = VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;];
  if (VARS.Values[&apos;&lt;METHOD&gt;&apos;]   !=&apos;&apos;) sQMeth     = VARS.Values[&apos;&lt;METHOD&gt;&apos;]; // Только метод - неодноразовый
  sHtml=&apos;&apos;; if (nPages&gt;1) sPgs = &apos; из &apos;+IntToStr(nPages);
  if (WONKYBLK.Values[&apos;NotLoad&apos;]==&apos;&apos;) {
    // Загружаем все страницы
    if ((sPageParam!=&apos;&apos;) &amp;&amp; (Pos(&apos;?&apos;, ParentItem[mpiFilePath])&lt;1)) sPageParam[1]=&apos;?&apos;;
    for (n=nFirstPage; n&lt;nPages+nFirstPage; n++) {
      if (HmsCancelPressed()) break;
      if (bWasShownProgress) {
        if (nPages&gt;1) sValue = &apos;: Загрузка страницы - &apos;+IntToStr(n)+sPgs; else sValue = &apos;&apos;;
        if (SHOWPROGRESS==1) HmsShowProgress(ParentItem[mpiTitle]+sValue);
      }
      sPage = &apos;&apos;;
      if (Trim(sPageParam)!=&apos;&apos;) {
        if      ((Pos(&apos;?&apos;, ParentItem[mpiFilePath])&lt;1) &amp;&amp; (LeftCopy(sPageParam, 1)==&apos;&amp;&apos;)) sPageParam = &apos;?&apos;+Copy(sPageParam, 2, 9999);
        else if (Pos(&apos;?&apos;, ParentItem[mpiFilePath])&gt;0) sPageParam = ReplaceStr(sPageParam, &apos;?&apos;, &apos;&amp;&apos;);
        sPage=ReplaceStr(sPageParam, &apos;&lt;PN&gt;&apos;, IntToStr(Trunc(n*nPageMul)));
        // Если в ссылке уже заложен номер страницы - вырезаем его оттуда, ибо будем вставлять сами
        if (Pos(sPage, ParentItem[mpiFilePath])&gt;0) ParentItem[mpiFilePath]=ReplaceStr(ParentItem[mpiFilePath], sPage, &apos;&lt;PAGEPARAM&gt;&apos;);
      }
      sLink = ParentItem[mpiFilePath];
      // Если в ссылке есть ключ &lt;PAGEPARAM&gt;, то вставляем вместо него шаблон с номером страницы
      if (Pos(&apos;&lt;PAGEPARAM&gt;&apos;, sLink)&gt;0) sLink = ReplaceStr(sLink, &apos;&lt;PAGEPARAM&gt;&apos;, sPage);
      else sLink += sPage; // Иначе просто шаблон с номером страницы добавляем в конец ссылки
      sLink = ReplaceStr(sLink, &apos;&lt;RND&gt;&apos;, ReplaceStr(FloatToStr(Random), &apos;,&apos;, &apos;.&apos;));
      if (VARS.Values[&apos;&lt;LASTLOADLINK&gt;&apos;] != sLink) {
        LogMe(&apos;Загрузка страницы: &apos;+sLink);
        sPage = LoadUrl(sLink, sQMeth);
        if (CheckWonkyParam(WONKYBLK, &apos;DecrunchJSON&apos;)) sPage=HmsJsonDecode(sPage);
        VARS.Values[&apos;&lt;TEXT&gt;&apos;] = sPage;
        VARS.Values[&apos;&lt;LASTLOADLINK&gt;&apos;] = sLink;
        sValue = WONKYBLK.Values[&apos;CutBlock&apos;]; if (sValue!=&apos;&apos;) HmsRegExMatch(sValue, sPage, sPage, 1, PCRE_SINGLELINE);
        // Если были указаны параметры PreSearchBlock, то каждую страницу обрабатываем - выделяем блоки
        sHtml = sHtml + sPage;
      } else {
        sPage = VARS.Values[&apos;&lt;TEXT&gt;&apos;];
        sValue = WONKYBLK.Values[&apos;CutBlock&apos;]; if (sValue!=&apos;&apos;) HmsRegExMatch(sValue, sPage, sPage, 1, PCRE_SINGLELINE);
        if (sHtml==&apos;&apos;) sHtml = sPage;
      }
      LogMe(&apos;Loaded page: &apos;+sPage);
      if (GetWonkyObject(WONKYBLK, &apos;StopLoad&apos;, WONKYOBJECT, ParentItem)) break;
      if (bFirstPage) {
        if (GetWonkyObject(WONKYBLK, &apos;GetPagesFromPageNavi&apos;, WONKYOBJECT, ParentItem)) {
          if (HmsRegExMatch(WONKYOBJECT.Values[&apos;Pages&apos; ], sPage, sValue, 1, PCRE_SINGLELINE)
            ||HmsRegExMatch(WONKYOBJECT.Values[&apos;Pages2&apos;], sPage, sValue, 1, PCRE_SINGLELINE)) {
            nPages     = StrToIntDef(sValue, nPages);
            nFirstPage = StrToIntDef(WONKYOBJECT.Values[&apos;StartPage&apos;], nFirstPage);
            nPageMul   = StrToIntDef(WONKYOBJECT.Values[&apos;PageMul&apos;  ], nPageMul  );
            sPageParam = WONKYOBJECT.Values[&apos;PageParam&apos;];
            if (VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;]!=&apos;&apos;) sPageParam = VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;];
          }
        }
        if (HmsRegExMatch(&apos;--pages=([\\d]+)&apos;, mpPodcastParameters, sValue, 1, PCRE_SINGLELINE)) {
          nBlk = StrToIntDef(sValue, nPages);
          if (nBlk &lt; nPages) nPages = nBlk;
        }
        n = nFirstPage;
        if (nPages&gt;1) sPgs = &apos; из &apos;+IntToStr(nPages);
      }
      if (GetWonkyObject(WONKYBLK, &apos;AfterLoadEveryPage&apos;, WONKYOBJECT, ParentItem)) AfterLoadPageBlock(sPage, WONKYOBJECT, ParentItem);
      if (SHOWPROGRESS==1) HmsSetProgress(Trunc(n*100/nPages));
      bFirstPage = false;
    }
  }
  VARS.Values[&apos;&lt;PAGES&gt;&apos;]     = &apos;&apos;;
  VARS.Values[&apos;&lt;FIRSTPAGE&gt;&apos;] = &apos;&apos;;
  VARS.Values[&apos;&lt;PAGEMUL&gt;&apos;]   = &apos;&apos;;
  VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;] = &apos;&apos;;
  VARS.Values[&apos;&lt;TEXT&gt;&apos;] = sHtml;
  // Пытаемся найти и заполнить информацию для родительского подкаста (если там указано)
  ItemInfo = FindAndFillInfo(sHtml, WONKYBLK, ParentItem, true);
  StoreInfoToPodcast(ItemInfo, ParentItem);
  // Если есть команды, которые нужно выполнить после загрузки страницы
  if (GetWonkyObject(WONKYBLK, &apos;AfterLoad&apos;, WONKYOBJECT, ParentItem)) AfterLoadPageBlock(sHtml, WONKYOBJECT, ParentItem);
  // Проверяем, установлен ли блок поиска подчинённых элементов
  if (GetWonkyObject(WONKYBLK, &apos;SearchItems&apos;, WONKYOBJECT, ParentItem)) {
    // Запускаем обработку поиска блоков с информацией о видео
    if (SHOWPROGRESS==1) HmsShowProgress(mpTitle+&apos;: обработка ссылок&apos;);
    ProcessFindItems(sHtml, WONKYOBJECT, ParentItem);
  }
  // Проверяем, установлен ли блок загрузки страницы
  if (GetWonkyObject(WONKYBLK, &apos;LoadLink&apos;,        WONKYOBJECT, ParentItem)) LoadPages(WONKYOBJECT, ParentItem);
  if (GetWonkyObject(WONKYBLK, &apos;ConditionBlocks&apos;, WONKYOBJECT, ParentItem)) LoadPages(WONKYOBJECT, ParentItem);
}
// -------------------------------------------- Установка значений cookies ----
void SetCookies(char sHeaders=&apos;&apos;) {
  char sCookies=&apos;&apos;, sName, sVal; TRegExpr re;
  re = TRegExpr.Create(&apos;(?:Set-cookie|Cookie):(.*?)=(.*?)(?:;|\n|$)&apos;, PCRE_SINGLELINE);
  if (re.Search(sHeaders)) do {
    sName = Trim(re.Match(1));
    sVal  = Trim(re.Match(2));
    if ((sVal==&apos;&apos;) || (sName==&apos;&apos;)) continue;
    COOKIES.Values[sName] = sVal;
  } while (re.SearchAgain());
  re.Free();
  VARS.Values[&apos;&lt;COOKIES&gt;&apos;] = GetCookies();
  if (gbStoreCookie) FolderItem[39000] = VARS.Values[&apos;&lt;COOKIES&gt;&apos;];
}
// -------------------------------------------- Получение значений cookies ----
char GetCookies() {
  int i; char sNam, sVal, sCookies=&apos;&apos;;
  for (i=0; i&lt;COOKIES.Count; i++) {
    sNam = COOKIES.Names(i);     if (Trim(sNam)==&apos;&apos;) continue;
    sVal = COOKIES.Values[sNam]; if (Trim(sVal)==&apos;&apos;) continue;
    sCookies += Format(&apos;%s=%s; &apos;, [sNam, sVal]);
  }
  sCookies = &apos;Cookie: &apos;+Trim(sCookies)+&apos;\r\n&apos;;
  return sCookies;
}
// ------------------------------------------- Загрузка страницы по ссылке ----
string LoadUrl(char sLink, char sMethod=&apos;GET&apos;, char sHeaders=&apos;&apos;, bool NoCache=false, bool NoRdrct=false) {
  string sHtml, sUrlServer, sRequestPage=&apos;/&apos;, sPostData=&apos;&apos;, sAnsw=&apos;&apos;; int iFlags = 0, nPort=80;
  if (LeftCopy(sLink, 2)==&apos;//&apos;) sLink = &apos;http:&apos; + Trim(sLink);
  if (LeftCopy(sLink, 1)==&apos;/&apos; ) sLink = gsUrlBase + Trim(sLink);
  if (LeftCopy(sLink, 5)==&apos;https&apos;) nPort = 443;
  if (!HmsRegExMatch(&apos;//(.*)&apos;, sLink, sUrlServer)) return &apos;&apos;;
  HmsRegExMatch2(&apos;^(.*?)(/.*)&apos;, sUrlServer, sUrlServer, sRequestPage);
  if (sMethod==&apos;POST&apos;) {
    HmsRegExMatch(&apos;^.*?\\?(.*)&apos;, sRequestPage, sPostData   );
    HmsRegExMatch(&apos;^(.*?)\\?&apos;  , sRequestPage, sRequestPage);
  }
  if (HmsRegExMatch(&apos;--nocache&apos;, mpPodcastParameters, &apos;&apos;)) NoCache = true;
  if (sHeaders==&apos;&apos;) sHeaders = gsHeaders; if (NoCache) iFlags = StrToInt(&apos;$80000000&apos;);
  sHeaders += GetCookies(); iFlags = (iFlags || INTERNET_FLAG_NO_AUTO_REDIRECT);
  sHtml = HmsSendRequestEx(sUrlServer, sRequestPage, sMethod, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, sHeaders, sPostData, nPort, iFlags, sAnsw, true);
  if (IsWine || gbIE6Fix) sHtml = HmsDecompressString(sHtml); // Для Linux Wine и ie6
  SetCookies(sAnsw);
  if (!NoRdrct &amp;&amp; HmsRegExMatch(&apos;Location: (.*?)[\r\n]&apos;, sAnsw, sLink)) {
    sHtml = LoadUrl(sLink);
  }
  sHtml = HmsUtf8Decode(sHtml);
  return sHtml;
}
// ------------------------- Запрос на вход, получение куки их запоминание ----
void LoginRequest(TStrings WONKYBLK, THmsScriptMediaItem ParentItem) {
  char sLogin, sPassw, sReq, sMethod, sValue; Variant WONKYOBJECT;
  sLogin  = WONKYBLK.Values[&apos;Login&apos;];  if (Trim(sLogin)==&apos;&apos;) sLogin = mpPodcastAuthorizationUserName;
  sPassw  = WONKYBLK.Values[&apos;Passw&apos;];  if (Trim(sPassw)==&apos;&apos;) sPassw = mpPodcastAuthorizationPassword;
  sValue  = WONKYBLK.Values[&apos;Cookie&apos;]; if (Trim(sValue)!=&apos;&apos;) SetCookies(sValue);
  sMethod = WONKYBLK.Values[&apos;Method&apos;];                                
  sLogin  = HmsPercentEncode(sLogin);
  sPassw  = HmsPercentEncode(sPassw);
  GetWonkyObject(WONKYBLK, &apos;Headers&apos;, WONKYOBJECT, ParentItem);
  sReq = ReplaceStr(ReplaceStr(WONKYBLK.Values[&apos;Request&apos;], &apos;&lt;LOGIN&gt;&apos;, sLogin), &apos;&lt;PASSW&gt;&apos;, sPassw);
  LoadUrl(sReq, sMethod, &apos;&apos;, WONKYBLK.Values[&apos;NoCache&apos;]!=&apos;&apos;, WONKYBLK.Values[&apos;NoRedirect&apos;]!=&apos;&apos;);
}
// ---------------------------------------------------------------------------------------
// Создание каталогов, подкастов и ссылок по данным в WONKYBLK
void CreateItems(TStrings WONKYBLK, THmsScriptMediaItem ParentItem) {
  int n, i, nParamId; THmsScriptMediaItem Item;
  Variant WONKYOBJECT, SUBBLOCK; bool bForceFolder, bIsPodcast;
  char sTitle, sLink, sName, sValue, sType;

  for (n=0; n&lt;WONKYBLK.Count; n++) {
    SUBBLOCK = WONKYBLK.Objects(n); if (SUBBLOCK==0) continue;
    sTitle = SUBBLOCK.Values[&apos;mpiTitle&apos;]; if (sTitle==&apos;&apos;) continue;
    sLink  = SUBBLOCK.Values[&apos;mpiFilePath&apos;]; if (sLink==&apos;&apos;) sLink=sTitle;
    sType  = SUBBLOCK.Values[&apos;Type&apos;];
    if (TITLECASE==1) sTitle = Uppercase(sTitle);
    if (sType==&apos;Search&apos;) {
      Item = ParentItem.AddFolder(&apos;-SearchFolder&apos;, true);
      Item[mpiTitle]      = sTitle;
      Item[mpiFolderSortOrder  ] = "mpTitle";
      Item[mpiPodcastParameters] = SUBBLOCK.Values[&apos;mpiPodcastParameters&apos;]+&apos; --group=none&apos;;
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      sTitle = SUBBLOCK.Values[&apos;CmdTitle&apos;];
      if (TITLECASE==1) sTitle = Uppercase(sTitle);
      CreateDynamicGroup(SUBBLOCK, Item, sTitle, &apos;-SearchCommands&apos;, &apos;/\\*BeginSearchScript(.*?)EndSearchScript\\*/&apos;);
      continue;
    } else if ((sType==&apos;Folder&apos;) || (sType==&apos;Podcast&apos;) || (sType==&apos;Dynamic&apos;)) {
      if (sType==&apos;Dynamic&apos;) i = 32;
      else i = StrToIntDef(SUBBLOCK.Values[&apos;FolderClassID&apos;], -1);
      Item = ParentItem.AddFolder(sLink, (sType==&apos;Folder&apos;), i);
      if (i==32) {
        Item[200] = ParentItem[200]; // mpiFolderType
        Item[500] = ParentItem[500]; // mpiDynamicScript
        Item[501] = ParentItem[501]; // mpiDynamicSyntaxType
      }
    } else if (sType==&apos;SettingsFolder&apos;) {
      if (Pos(&apos;--altsetfldr&apos;, mpPodcastParameters)&gt;0) {
        CreateSettingsFolder(SUBBLOCK, ParentItem, sTitle, &apos;-SettingsCommands&apos;);
      } else {
        CreateDynamicGroup(SUBBLOCK, ParentItem, sTitle, &apos;-SettingsCommands&apos;, &apos;/\\*BeginSettingsScript(.*?)EndSettingsScript\\*/&apos;);
      }
      continue;
    } else {
      Item = HmsCreateMediaItem(sLink, ParentItem.ItemID);
    }
    for (i=0; i&lt;SUBBLOCK.Count; i++) {
      sName = SUBBLOCK.Names(i); if (sName==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sName); if ((nParamId==0)||(nParamId==mpiTitle)) continue;
      Item[nParamId] = SUBBLOCK.Values[sName];
    }
    Item[mpiTitle]      = sTitle;
    Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
    sLink = Item[mpiFilePath]; if (LeftCopy(sLink, 1)==&apos;/&apos;) Item[mpiFilePath] = HmsExpandLink(sLink, gsUrlBase);
    if (Trim(Item[mpiFolderSortOrder])==&apos;&apos;) Item[mpiFolderSortOrder] = -mpiCreateDate;
    if (GetWonkyObject(SUBBLOCK, &apos;CreateItems&apos;, WONKYOBJECT, Item)) CreateItems(WONKYOBJECT, Item);
    if (GetWonkyObject(SUBBLOCK, &apos;LoadLink&apos;,    WONKYOBJECT, Item)) LoadPages  (WONKYOBJECT, Item);
    if (GetWonkyObject(SUBBLOCK, &apos;SearchItems&apos;, WONKYOBJECT, Item)) ProcessFindItems(VARS.Values[&apos;&lt;TEXT&gt;&apos;], WONKYOBJECT, Item);
  }
}
// ---------------------------------------------------------------------------------------
// Проверка переданных параметров в поле "Комментарий" подкаста
void CheckParameters() {
  string sVal;
  gbIE6Fix = (Pos(&apos;--winxpfix&apos;, mpPodcastParameters)&gt;0);
  if (HmsRegExMatch(&apos;(--(?:no|)log)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--nolog&apos;) LOG = 0;
    if (sVal==&apos;--log&apos;  ) LOG = 1;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)progress)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--noprogress&apos;) SHOWPROGRESS = 0;
    if (sVal==&apos;--progress&apos;  ) SHOWPROGRESS = 1;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)delitems)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--delitems&apos;)   NODELITEMS = 0;
    if (sVal==&apos;--nodelitems&apos;) NODELITEMS = 1;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)yearintitle)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--yearintitle&apos;)   YEARINTITLE = 1;
    if (sVal==&apos;--noyearintitle&apos;) YEARINTITLE = 0;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)numbering)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--numbering&apos;)   NUMBERING = 1;
    if (sVal==&apos;--nonumbering&apos;) NUMBERING = 0;
  }
  if (HmsRegExMatch(&apos;--group=(\\w+)&apos;, mpPodcastParameters, sVal)) {
    if      (sVal == &apos;alph&apos; ) GROUPMODE = 1;
    else if (sVal == &apos;alph2&apos;) GROUPMODE = 2;
    else if (sVal == &apos;year&apos; ) GROUPMODE = 3;
    else if (sVal == &apos;none&apos; ) GROUPMODE = 0;
  }
  if (HmsRegExMatch(&apos;--titlecase=(\\w+)&apos;, mpPodcastParameters, sVal)) {
    if      (sVal == &apos;upper&apos;) TITLECASE = 1;
    else if (sVal == &apos;first&apos;) TITLECASE = 2;
    else if (sVal == &apos;name&apos; ) TITLECASE = 3;
    else if (sVal == &apos;none&apos; ) TITLECASE = 0;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)collect)&apos;, mpPodcastParameters, sVal)) {
    if      (sVal==&apos;--collect&apos;)   COLLECTING = 1;
    else if (sVal==&apos;--nocollect&apos;) COLLECTING = 0;
  }
  if (HmsRegExMatch(&apos;--itemasfolder=(\\w+)&apos;, mpPodcastParameters, sVal)) {
    if      (sVal == &apos;on&apos; ) ITEMASFOLDER = 1;
    else if (sVal == &apos;off&apos;) ITEMASFOLDER = 0;
  }
  if (Pos(&apos;--loadfromlinks&apos;, mpPodcastParameters)&gt;0) LOADFROMLINKS= 1;
  if (Pos(&apos;--collectasitems&apos;,mpPodcastParameters)&gt;0) COLLECTASITEM= 1;
  if (HmsRegExMatch(&apos;--maxingroup=([\\d]+)&apos;,  mpPodcastParameters, sVal)) MAXINGROUP = StrToIntDef(sVal, MAXINGROUP);
  if (HmsRegExMatch(&apos;--dbgfile="(.*?)"&apos;,      mpPodcastParameters, sVal)) DBGFILE = sVal;
  if (HmsRegExMatch(&apos;--formatseries="(.*?)"&apos;, mpPodcastParameters, sVal)) gsFrmtSeries = sVal;
  if (HmsRegExMatch(&apos;--groupbysort=(\\w+)&apos;, mpPodcastParameters, sVal)) {
    if      ((sVal == &apos;on&apos; ) || (sVal == &apos;1&apos;)) GROUPBYSORT = 1;
    else if ((sVal == &apos;off&apos;) || (sVal == &apos;0&apos;)) GROUPBYSORT = 0;
  } else if (HmsRegExMatch(&apos;--groupbysort&apos;, mpPodcastParameters, &apos;&apos;)) {
    GROUPBYSORT = 1;
  }
  if (GROUPBYSORT==1) {
    sVal = FolderItem[mpiFolderSortOrder];
    if        ((sVal==&apos;-7&apos; ) || (sVal==&apos;-mpAlbum&apos;)) {
      GROUPMODE = 1;
      if (HmsRegExMatch(&apos;(--group=\\w+)&apos;, FolderItem[mpiPodcastParameters], sVal)) 
        FolderItem[mpiPodcastParameters]=ReplaceStr(FolderItem[mpiPodcastParameters], sVal, &apos;--group=alph&apos;);
      else   
        FolderItem[mpiPodcastParameters] += &apos; --group=alph&apos;;
      FolderItem[mpiFolderSortOrder] = mpiTitle;

    } else if ((sVal==&apos;-8&apos; ) || (sVal==&apos;-mpYear&apos; )) {
      GROUPMODE = 3; 
      if (HmsRegExMatch(&apos;(--group=\\w+)&apos;, FolderItem[mpiPodcastParameters], sVal)) 
        FolderItem[mpiPodcastParameters]=ReplaceStr(FolderItem[mpiPodcastParameters], sVal, &apos;--group=year&apos;);
      else   
        FolderItem[mpiPodcastParameters] += &apos; --group=year&apos;;
      FolderItem[mpiFolderSortOrder] = -mpiTitle;

    } else if ((sVal==&apos;7&apos;) || (sVal==&apos;mpAlbum&apos; )) {
      GROUPMODE = 0; 
      if (HmsRegExMatch(&apos;(--group=\\w+)&apos;, FolderItem[mpiPodcastParameters], sVal)) 
        FolderItem[mpiPodcastParameters]=ReplaceStr(FolderItem[mpiPodcastParameters], sVal, &apos;--group=none&apos;);
      else   
        FolderItem[mpiPodcastParameters] += &apos; --group=none&apos;;
      FolderItem[mpiFolderSortOrder] = -mpiCreateDate;
    }
  }
}
// ---------------------------------------------------------------------------------------
// Проверка минимальной требуемой версии HomeMediaServer. Если не указано, то 1.30
void CheckMinVersionHMS(char sMinRequiredVer=&apos;&apos;) {
  int i, n1, n2, nCount; char sProgramVersion = ProgramVersion();
  if (sMinRequiredVer==&apos;&apos;) sMinRequiredVer = &apos;1.30&apos;;
  nCount = WordCount(sProgramVersion, &apos;.&apos;);
  i      = WordCount(sMinRequiredVer, &apos;.&apos;);
  if (nCount&gt;i) nCount = i;
  for (i=1; i&lt;nCount; i++) {
    n1 = StrToIntDef(ExtractWord(i, sMinRequiredVer, &apos;.&apos;), 0);
    n2 = StrToIntDef(ExtractWord(i, sProgramVersion, &apos;.&apos;), 0);
    if (n1&lt;n2) break;
    if (n1&gt;n2) RaiseException(Format(&apos;Работа подкаста %s невозможна. Минимальная требуемая версия HMS: %s&apos;, [mpTitle, sMinRequiredVer]));
  }
}
// ---------------------------------------------------------------------------------------
// Попытка сделать более быстрой загрузку большого YAML конфига - ищем подходящий блок
char QuickYamlLoad(char sText) {
  char sField, sFCond, sObject=&apos;&apos;, sValue; int nIndxObj;
  TStrings WONKYBLK = TStringList.Create(); Variant WONKYOBJECT, CONDOBJECT;
  nIndxObj   = WONKYBLK.AddObject(&apos;Condition&apos;, TStringList.Create());
  CONDOBJECT = WONKYBLK.Objects(nIndxObj);
  TRegExpr reSearch = TRegExpr.Create(&apos;(- Podcast.*?)(?=- Podcast|$)&apos;, PCRE_SINGLELINE);
  if (reSearch.Search(sText)) do {
    if (!HmsRegExMatch2(&apos;ConditionField\\s*:\\s*(.*?),.*?ConditionExp\\s*:\\s*(.*?)}&apos;, reSearch.Match, sField, sFCond, PCRE_SINGLELINE)) continue;
    sField = Trim(sField);
    sFCond = Trim(sFCond);
    HmsRegExMatch(&apos;^\&apos;(.*?)\&apos;$&apos;, sField, sField, 1, PCRE_SINGLELINE);
    HmsRegExMatch(&apos;^\&apos;(.*?)\&apos;$&apos;, sFCond, sFCond, 1, PCRE_SINGLELINE);
    CONDOBJECT.Values[&apos;ConditionField&apos;] = sField;
    CONDOBJECT.Values[&apos;ConditionExp&apos;  ] = sFCond;
    if (!GetWonkyObject(WONKYBLK, &apos;Condition&apos;, WONKYOBJECT, FolderItem)) continue;
    sObject = reSearch.Match;
    break;
  } while (reSearch.SearchAgain());
  reSearch.Free();
  WONKYBLK.Free();
  return sObject;
}
// ---------------------------------------------------------------------------------------
// Поиск родителького подкаста (папки) и получение конфига.
char GetCFG() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) {
      sCFG = ROOTPODCAST[510]; // Берём конфиг из скрипта чтения дополнительных свойств RSS
      HmsRegExMatch(&apos;Wonky Config.*?\\[(.*?)\\]&apos;, sCFG, gsCfgDate,   1, PCRE_SINGLELINE);
      HmsRegExMatch(&apos;Author:\\s+"(.*?)"&apos;,         sCFG, gsCfgAuthor, 1, PCRE_SINGLELINE);
      HmsRegExMatch(&apos;About:\\s+"(.*?)"&apos;,          sCFG, gsAbout,     1, PCRE_SINGLELINE);
      break;
    }
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
  return sCFG;
}
// ---------------------------------------------------------------------------------------
// Создание робота Wonky307.
bool BuildWonkyRobot() {
  int i; char sCFG = &apos;&apos;, sValue, sCfgBlockName, sLink; bool bExternalCfg = false; Variant WONKYOBJECT;
  sCFG = GetCFG()+&apos;\n&apos;;
  if (Trim(sCFG)==&apos;&apos;) {
    HmsLogMessage(1, mpTitle+&apos;: Не найдена конфигурация Wonky 307.&apos;);
    return false;
  }
  VARS.Values[&apos;&lt;COOKIES&gt;&apos;] = FolderItem[39000];
  SetCookies(VARS.Values[&apos;&lt;COOKIES&gt;&apos;]);
  whYamlParser(&apos;LoadFromString&apos;, WONKY307, sCFG);
  CheckMinVersionHMS(WONKY307.Values[&apos;MinVerHMS&apos;]);
  if (WONKY307.Values[&apos;UrlBase&apos;]) gsUrlBase = WONKY307.Values[&apos;UrlBase&apos;];
  if (WONKY307.Values[&apos;dbgFile&apos;]) DBGFILE   = WONKY307.Values[&apos;dbgFile&apos;];
  sValue = WONKY307.Values[&apos;mpiPodcastOptions&apos;];
  if (sValue!=&apos;&apos;) ROOTPODCAST[529] = StrToIntDef(sValue, ROOTPODCAST[529]);
  if (W_MODE==1) sCfgBlockName = &apos;CreatePodcast&apos;; else sCfgBlockName = &apos;GetList&apos;;
  if (HmsRegExMatch(&apos;-WonkyBlock:([A-Z0-9_]+)&apos;, mpPodcastParameters, sValue, 1, PCRE_SINGLELINE)) sCfgBlockName = sValue;
  sCFG = &apos;&apos;;
  if (GetWonkyObject(WONKY307, sCfgBlockName, WONKYOBJECT, FolderItem)) sCFG = whYamlParser(&apos;SaveToString&apos;, WONKYOBJECT)+&apos;\n\n&apos;;
  sLink = WONKY307.Values[sCfgBlockName+&apos;Local&apos;];
  if        (FileExists(sLink)) {
    sCFG += HmsStringFromFile(sLink)+&apos;\n\n&apos;;
    bExternalCfg = true;
  } else if (FileExists(HmsTempDirectory()+&apos;\\&apos;+sCfgBlockName+&apos;.yml&apos;)) {
    sCFG += HmsStringFromFile(HmsTempDirectory()+&apos;\\&apos;+sCfgBlockName+&apos;.yml&apos;)+&apos;\n\n&apos;;
    if (DBGFILE!=&apos;&apos;) LogMe("CFGBLOCK "+sCfgBlockName+":\n"+whYamlParser(&apos;SaveToString&apos;, WONKY307));
    bExternalCfg = true;
  } else {
    sLink = WONKY307.Values[sCfgBlockName+&apos;Remote&apos;];
    if (sLink!=&apos;&apos;) {
      sValue = LoadURL(sLink);
      bExternalCfg = (sValue!=&apos;&apos;);
      if (LeftCopy(sValue, 2)== #120#218) sValue=HmsUtf8Decode(HmsDecompressString(sValue));
      if (sValue!=&apos;&apos;) HmsStringToFile(sValue, HmsTempDirectory()+&apos;\\&apos;+sCfgBlockName+&apos;.yml&apos;);
      sCFG += sValue+&apos;\n\n&apos;;
    }
  }
  if (bExternalCfg) {
    LogMe(&apos;Загружен кофиг &apos;+sLink);
    sCFG = QuickYamlLoad(sCFG);
    whYamlParser(&apos;LoadFromString&apos;, WONKY307, sCFG);
    i = WONKY307.IndexOf(&apos;Podcast&apos;);
    if (i&gt;=0) {
      WONKYOBJECT = WONKY307.Objects[i];
      WONKY307 = WONKYOBJECT;
    }
    gsUrlBase = WONKY307.Values[&apos;UrlBase&apos;];
    sValue = WONKY307.Values[&apos;mpiPodcastOptions&apos;];
    if (sValue!=&apos;&apos;) ROOTPODCAST[529] = StrToIntDef(sValue, ROOTPODCAST[529]);
  } else {
    if ((W_MODE==0) &amp;&amp; (COLLECTING==1)) if (GetWonkyObject(WONKY307, &apos;CollectionRules&apos;, WCOLLECT, FolderItem)) {
      COLLECTOR = ROOTPODCAST.AddFolder(WCOLLECT.Values[&apos;Title&apos;], true);
      COLLECTOR[mpiCreateDate] = &apos;31.12.1013 23:59&apos;;
      COLLECTOR[532] = 0; // Отключаем скрипт обновления
      if (!GetWonkyObject(WCOLLECT, &apos;CollectorFolders&apos;, WCOLLECT, FolderItem)) COLLECTOR = 0;
    }
    if (!GetWonkyObject(WONKY307, sCfgBlockName, WONKY307, FolderItem)) {
      HmsLogMessage(2, mpTitle+&apos;: Не найден блок конфигурации &apos;+sCfgBlockName);
    } else {
      sCFG = &apos;-&apos;;
    }
  }
  if (gsUrlBase!=&apos;&apos;) gsHeaders = ReplaceStr(gsHeaders, &apos;http://www.google.com/\r\n&apos;, gsUrlBase+&apos;\r\n&apos;);
  if (DBGFILE!=&apos;&apos;) LogMe("CFGBLOCK "+sCfgBlockName+":\n"+whYamlParser(&apos;SaveToString&apos;, WONKY307));
  return (sCFG!=&apos;&apos;);
}
// ---------------------------------------------------------------------------------------
// Инициализация глобальных переменных и прочие подготовительные действия
void WonkyInit() {
  if (LOG==1) HmsLogMessage(1, mpTitle);
  // Присваиваем переменным текущие значения для возможного использования в шаблонах
  VARS.Values[&apos;&lt;FILEPATH&gt;&apos;]     = FolderItem[mpiFilePath];
  VARS.Values[&apos;&lt;TITLE&gt;&apos;]        = FolderItem[mpiTitle];
  VARS.Values[&apos;&lt;TITLE4SEARCH&gt;&apos;] = GetTitle4Search(FolderItem);
  VARS.Values[&apos;&lt;PARAMS&gt;&apos;]       = mpPodcastParameters;
}
// ---------------------------------------------------------------------------------------
// Main program Wonky307
void WONKY307Start() {
  char sHtml, sValue, sCfgBlock; TStrings WONKYOBJECT; int nAnsw;
  if (mpFilePath==&apos;-SearchCommands&apos;) return;
  CheckParameters(); // Проверка переданных параметров в поле "Комментарий"
  if (W_MODE==1) {
    if (FolderItem.HasChildItems) {
      nAnsw = MessageDlg(&apos;Пересоздание структуры подкаста.\nУдалить существующую структуру - очистить ссылки???&apos;, 0, 3+8, 0);
      if (nAnsw == mrCancel) return;
      if (nAnsw == mrYes   ) FolderItem.DeleteChildItems();
    }
  }
  try {
    ExceptionMessage=&apos;&apos;;
    // Создаём робота WONKY307.
    if (!BuildWonkyRobot()) RaiseException(&apos;Невозможно создать WONKY 307 из конфигурационного файла!&apos;);
    //ShowMessage(whYamlParser(&apos;SaveToString&apos;, WONKY307));
    WonkyInit();
    LogMe(&apos;---- Обновление подкаста &apos;+mpTitle+&apos; ----&apos;);
    bWasShownProgress = (SHOWPROGRESS==1);
    if (NODELITEMS!=1) FolderItem.DeleteChildItems(); // Удаляем старый список подкастов
    LoadPages(WONKY307, FolderItem);                  // Запуск загрузки и всего-такого
  } finally {
    HmsHideProgress();
    if (ExceptionMessage!=&apos;&apos;) HmsLogMessage(1, ExceptionMessage);
    LogMe(&apos;---- Конец обновления подкаста &apos;+mpTitle+&apos; ----\n&apos;);
    WONKY307.Free(); PARAM.Free(); VARS.Free(); COOKIES.Free();
    if (WCOLLECT!=nil) WCOLLECT.Free();
    FolderItem[mpiTitle]      = mpTitle;      // Восстанавливаем параметры
    FolderItem[mpiFilePath]   = mpFilePath;
    FolderItem[mpiCreateDate] = mpCreateDate;
    HmsRegExMatch(&apos;--group=(\\w+)&apos;, mpPodcastParameters, sValue);
    if (sValue==&apos;alph&apos;) FolderItem.Sort(&apos;mpTitle&apos;);
    if (sValue==&apos;year&apos;) FolderItem.Sort(&apos;-mpTitle&apos;);
  }
  if (LOG==1) HmsLogMessage(1, mpTitle+&apos; готов! Найдено элементов: &apos;+IntToStr(gnTotalItems));
}

///////////////////////////////////////////////////////////////////////////////
// Проверка актуальности версии функции GetLink_Moonwalk в скриптах
void CheckMoonwalkFunction() {
  string sData, sFuncOld, sFuncNew; THmsScriptMediaItem PodcastFolder=FolderItem; int nTimePrev, nTimeNow;
  int    mpiMoonwalkUpdateTime    = 100602;
  string sPatternMoonwalkFunction = "(// Получение ссылки с moonwalk.cc.*?// Конец функции поулчения ссылки с moonwalk.cc)";
  // Ищем скрипт получения ссылки на поток
  if ((Trim(PodcastFolder[550])==&apos;&apos;) &amp;&amp; (PodcastFolder.ItemParent!=nil)) PodcastFolder = PodcastFolder.ItemParent;
  if (PodcastFolder.ItemParent==nil) return;              // Если не нашли - выходим
  // Если проверяемая функция присутствует в скрипте - получаем текст функции в переменную sFuncOld
  if (HmsRegExMatch(sPatternMoonwalkFunction, PodcastFolder[550], sFuncOld, 1, PCRE_SINGLELINE)) {
    nTimePrev = StrToIntDef(PodcastFolder[mpiMoonwalkUpdateTime], 0);
    nTimeNow  = DateTimeToTimeStamp1970(Now, false);
    if (nTimeNow-nTimePrev &lt; 1800) return;                // Если после последней проверки прошло меньше получаса - выходим
    PodcastFolder[mpiMoonwalkUpdateTime] = Str(nTimeNow); // Запоминаем время проверки
    sData = HmsUtf8Decode(HmsDownloadURL("https://gist.githubusercontent.com/WendyH/3092dc755ad4a6c412e2fcd17c28d096/raw/GetLink_Moonwalk.cpp?_="+Str(nTimeNow)));
    if (HmsRegExMatch(sPatternMoonwalkFunction, sData, sFuncNew, 1, PCRE_SINGLELINE)) { 
      if (HmsMD5SumOfString(sFuncOld)==HmsMD5SumOfString(sFuncNew)) return;    // Если версия скрипта не отличается - выходим
      PodcastFolder[550] = ReplaceStr(PodcastFolder[550], sFuncOld, sFuncNew); // Заменяем старую функцию на новую
      HmsLogMessage(2, PodcastFolder[mpiTitle]+": Обновлена функция получения ссылки с moonwalk.cc!");
    }
  }
  //Вызов в главной процедуре: if (Pos(&apos;--noupdatemoonwalk&apos;, mpPodcastParameters)&lt;1) CheckMoonwalkFunction();
}

// ---------------------------------------------------------------------------------------
// Main program
{
  if (Pos(&apos;--noupdatemoonwalk&apos;, mpPodcastParameters)&lt;1) CheckMoonwalkFunction();
//  if (Pos(&apos;Wonky Config&apos;, FolderItem[510])&gt;0) {GetCFG(); ShowParametersForm();} else WONKY307Start();
  WONKY307Start();
}</Value>
    </Property>
    <Property>
      <ID>531</ID>
      <Value>C++Script</Value>
    </Property>
    <Property>
      <ID>571</ID>
      <Value>string DBGFILE=&apos;&apos;;
int INTERNET_FLAG_NO_AUTO_REDIRECT = 0x00200000,
    mpiPreviousItemID = 200107,
    mpiPreviousPrntID = 200108;
int LOG = 1,                   // Wonky 307.48
    SHOWPROGRESS = 1,
    MAXINGROUP   = 100,
    NODELITEMS   = 0,
    TITLECASE    = 0,
    LOADFROMLINKS= 0,
    YEARINTITLE  = 0,
    GROUPMODE    = 0,
    REMSERIEWORD = 0,
    NUMBERING    = 0,
    COLLECTING   = 0,
    ITEMASFOLDER = 2,
    COLLECTASITEM= 0,
    GROUPBYSORT  = 0,
;
TStrings WONKY307=TStringList.Create(), PARAM=TStringList.Create(), VARS=TStringList.Create(), WCOLLECT=nil, COOKIES=TStringList.Create();
int gnTotalItems=0, W_MODE=1; char gsUrlBase=&apos;&apos;, gsCfgDate=&apos;&apos;, gsCfgAuthor=&apos;&apos;, gsAbout=&apos;&apos;;
Variant gaProps4Copy=[36,7,5,41,35,32,28,31,215,9,29,55,4,8,50,39000]; THmsScriptMediaItem ROOTPODCAST, COLLECTOR;
bool bWasShownProgress=false, gbStoreCookie=false, gbIE6Fix=false; char gsFrmtSeries = &apos;%.2d&apos;; TDateTime gTimeStart = Now;
string gsHeaders = 
  &apos;http://www.google.com/\r\n&apos;+
  &apos;Accept-Encoding: gzip, deflate\r\n&apos;+
  &apos;User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0\r\n&apos;+
  &apos;Connection: Keep-Alive\r\n&apos;+
  &apos;Accept: application/json, text/javascript, */*; q=0.01\r\n&apos;+
  &apos;Accept-Language: ru-RU,ru;q=0.9,en;q=0.8\r\n&apos;;

// ============================================================================
// Форма настроек | НАЧАЛО НАБОРА ВИЗУАЛЬНЫХ ФУНКИЙ И ПРОЦЕДУР
// ============================================================================
TTimer Timer; TStrings FORMOBJECTS, PARAMS; int nIdStoreParams = mpiPodcastParameters; // Глобальные, для доступа из любых функций IncTime(dTime: TDateTime; nHours, nMinutes, nSeconds, nMSecs :Integer): TDateTime
// ----------------------------------------------------------------------------
void ShowParametersForm() {
  int i; Variant Control, frmMain, PodcastTree, PageCntrl, Page, Panel;
  int nFormWidth  = 700;
  int nFormHeight = 515;

  frmMain     = TForm.Create(Application);
  Timer       = TTimer.Create(frmMain);
  PARAMS      = TStringList.Create();
  FORMOBJECTS = TStringList.Create();
  FORMOBJECTS.AddObject(&apos;frmMain&apos;, frmMain);

  CreateParameters();

  try {
    frmMain.Color     = 0xF0F0F0;
    frmMain.Width     = nFormWidth;
    frmMain.Height    = nFormHeight;
    frmMain.Caption   = &apos;Параметры подкаста &apos;+mpTitle;
    frmMain.Position  = poScreenCenter;
    frmMain.Font.Size = 10;
    frmMain.OnResize    = &apos;evntFormOnResize&apos;;
    frmMain.OnCanResize = &apos;evntFormOnCanResize&apos;;

    CreateControl(frmMain, frmMain, TButton, &apos;btnOK&apos;,     &apos;OK&apos;,     &apos;&apos;, mrOK);
    CreateControl(frmMain, frmMain, TButton, &apos;btnCancel&apos;, &apos;Отмена&apos;, &apos;&apos;, mrCancel);

    PageCntrl = CreateControl(frmMain, frmMain, TPageControl, &apos;PageCntrl&apos;);
    PageCntrl.SetBounds(0, 0, nFormWidth, nFormHeight - 40);

    // Страница "Параметры"
    Page = CreateControl(PageCntrl, PageCntrl, TTabSheet, &apos;Page1&apos;, &apos;Параметры&apos;);
    Page.SetBounds(0, 0, nFormWidth, nFormHeight);
    Page.PageControl = PageCntrl;
    Page.Visible     = true;
    Page.Tag         = 12;
    Page.OnEnter     = &apos;evntPageOnEnter&apos;;
    AddCaptionToPage(frmMain, Page, &apos;Установка параметров&apos;);

    PodcastTree = CreateControl(frmMain, Page, TTreeView, &apos;PdcstTree&apos;);
    PodcastTree.HideSelection = false;
    PodcastTree.RowSelect     = true;
    PodcastTree.ReadOnly      = true;
    PodcastTree.OnClick       = &apos;evntTreeOnClick&apos;;
    PodcastTree.Align         = alLeft;
    PodcastTree.Width         = 248;
    PodcastTree.Hint          = &apos;Структура подкаста. (Помните: вложенные папки наследуют параметры!)&apos;;
    PodcastTree.ShowHint      = true;
    BuildPodcastTree(PodcastTree.Items, FolderItem, nil);

    Control = CreateControl(frmMain, Page, TSplitter, &apos;splitter&apos;);
    Control.SetBounds(50, 10, 4, nFormHeight-44);
    Control.Align  = alLeft;

    Control = CreateControl(frmMain, Page, TScrollBox, &apos;prmPanel&apos;);
    Control.Align = alClient;
    ShowParameters();

    // Страница "Сервис"
    Page = CreateControl(PageCntrl, PageCntrl, TTabSheet, &apos;Page2&apos;, &apos;Сервис&apos;);
    Page.SetBounds(0, 0, nFormWidth, nFormHeight);
    Page.Visible     = true;
    Page.PageControl = PageCntrl;
    Page.Tag         = 12;
    Page.OnEnter     = &apos;evntPageOnEnter&apos;;

    AddCaptionToPage(frmMain, Page, &apos;Сервисные функции&apos;);

    Panel = CreateControl(frmMain, Page, TGroupBox, &apos;G1&apos;, &apos;Инициализация:&apos;);
    Panel.Color = 0xF0F0F0;
    Panel.SetBounds(10, 50, 300, 140);
    Panel.Align = alLeft;
    AddText2Panel(frmMain, Panel, &apos;Пересоздание структуры подкаста.&apos;, 0, 11, false, &apos;Tahoma&apos;);
    AddText2Panel(frmMain, Panel, &apos;Внимание! Все добавленные ссылки будут удалены и настройки установлены по-умолчанию.&apos;, 0x333390, 9, true);
    AddText2Panel(frmMain, Panel, &apos;Структура и список категорий будут созданы заного, как они есть на сайте ресурса.&apos;, 0, 9);
    AddText2Panel(frmMain, Panel, &apos;&apos;, 0, 4);
    Control = CreateControl(frmMain, Panel, TButton, &apos;BC1&apos;, &apos;Создать структуру&apos;);
    Control.Align = alTop;
    Control.ModalResult = mrCancel;
    Control.OnClick = &apos;WONKY307Start&apos;;
    CreateSearchControls(frmMain, Page);

    // Страница "О подкасте"
    Page = CreateControl(PageCntrl, PageCntrl, TTabSheet, &apos;Page3&apos;, &apos;О подкасте&apos;);
    Page.SetBounds(0, 0, nFormWidth, nFormHeight);
    Page.Visible     = true;
    Page.PageControl = PageCntrl;
    Page.Tag         = 33;
    Page.OnEnter     = &apos;evntPageOnEnter&apos;;
    TStrings T = TStringList.Create();
    T.Values[&apos;Wrds&apos;]  = gsAbout;
    FORMOBJECTS.AddObject(&apos;afx4Fun&apos;, T);
    PrepareAboutText(frmMain, Page, T);

    PageCntrl.ActivePage = PageCntrl.Pages[1];
    PageCntrl.ActivePage = PageCntrl.Pages[0];
    frmMain.ActiveControl = PodcastTree;
    if (PodcastTree.Items.Count&gt;1) PodcastTree.Selected = PodcastTree.Items[1];
    PodcastTree.Selected  = PodcastTree.Items[0];

    evntTreeOnClick(PodcastTree);
    if (frmMain.ShowModal() == mrOK) {
      StoreParamsToPodcast(PodcastTree, PodcastTree.Items[0]);
    }
  } finally {
    Timer.Free();
    FORMOBJECTS.Free();
    PodcastTree.Free();
    frmMain.Free();
    PARAMS.Free();
  }
}
// ----------------------------------------------------------------------------
void AddText2Panel(Variant frmMain, Variant Panel, char sText, int nColor=nil, int nFontSize=nil, bool bBold=false, char sFont=&apos;&apos;) {
  Variant Label;
  Label = CreateControl(frmMain, Panel, TLabel);
  Label.Transparent = true;
  Label.WordWrap    = true;
  Label.Caption     = sText;
  Label.Width       = Panel.Width;
  Label.Alignment   = 2;
  if (bBold)          Label.Font.Style = fsBold;
  if (nColor!=nil)    Label.Font.Color = nColor;
  if (nFontSize!=nil) Label.Font.Size  = nFontSize;
  if (sFont!=&apos;&apos;)      Label.Font.Name  = sFont;
  Label.Align       = alTop;
}
// ----------------------------------------------------------------------------
void StoreParamsToPodcast(TTreeView PodcastTree, TTreeNode Node) {
  Variant NodeData, PodcastItem; char sParams; int i, n;
  for (i=0; i&lt;PodcastTree.Items.Count; i++) {
    NodeData = PodcastTree.Items[i].Data;
    sParams  = Trim(NodeData.Values[&apos;Params&apos;]);
    n = NodeData.IndexOf(&apos;Item&apos;); if (n&lt;0) continue;
    PodcastItem = NodeData.Objects[n];
    PodcastItem[nIdStoreParams] = sParams;
  }
}
// ----------------------------------------------------------------------------
void AddParametersFromConfig() {
  int n, i; char sName; Variant OBJECT; TStrings P;

  whYamlParser(&apos;LoadFromString&apos;, WONKY307, FolderItem[510]);
  GetWonkyObject(WONKY307, &apos;CollectionRules&apos;, WCOLLECT, FolderItem);
  if (!GetWonkyObject(WONKY307, &apos;AddVisualParameters&apos;, WONKY307, FolderItem)) return;
  for (n=0; n&lt;WONKY307.Count; n++) {
    OBJECT = WONKY307.Objects(n); if (OBJECT==0) continue;
    P = CreateNewParam(PARAMS);
    for (i=0; i&lt;OBJECT.Count; i++) {
      sName = OBJECT.Names(i); if (sName==&apos;&apos;) continue;
      P.Values[sName] = OBJECT.Values[sName];
    }
  }
}
// ----------------------------------------------------------------------------
void CreateParameters() {
  TStrings P;

  AddParametersFromConfig();
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;ComboBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Лог событий&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;114&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Вывод текста о событиях в журнал сообщений&apos;;
  P.Values[&apos;coWidth&apos;] = &apos;270&apos;;
  P.Values[&apos;Param0&apos; ] = &apos;Включить вывод сообщений |--log&apos;;
  P.Values[&apos;Param1&apos; ] = &apos;Отключить вывод сообщений|--nolog&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;ComboBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Прогресс обновления&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;174&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Показ окна прогресса загрузки и обновлений на компьютере&apos;;
  P.Values[&apos;coWidth&apos;] = &apos;210&apos;;
  P.Values[&apos;Param0&apos; ] = &apos;Показать прогресс обновления|--progress&apos;;
  P.Values[&apos;Param1&apos; ] = &apos;Отключить показ прогресса   |--noprogress&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;ComboBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Группировка&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;114&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Включение особого способа руппировки&apos;;
  P.Values[&apos;coWidth&apos;] = &apos;270&apos;;
  P.Values[&apos;Param0&apos; ] = &apos;По первым буквам названия ("А", "Б", ...)|--group=alph&apos;;
  P.Values[&apos;Param1&apos; ] = &apos;По группам букв ("А..Г", "Д..З", ...)    |--group=alph2&apos;;
  P.Values[&apos;Param2&apos; ] = &apos;По годам                                 |--group=year&apos;;
  P.Values[&apos;Param3&apos; ] = &apos;Отключить группировку                    |--group=none&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;ComboBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Верхний регистр названий&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;194&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Включение приведения к верхнему регистру наименования (К ВОТ ТАКИМ БУКВАМ)&apos;;
  P.Values[&apos;coWidth&apos;] = &apos;190&apos;;
  P.Values[&apos;Param0&apos; ] = &apos;Всё большими буквами       |--titlecase=upper&apos;;
  P.Values[&apos;Param1&apos; ] = &apos;К верхнему первый символ   |--titlecase=first&apos;;
  P.Values[&apos;Param2&apos; ] = &apos;Первый символ каждого слова|--titlecase=name&apos;;
  P.Values[&apos;Param3&apos; ] = &apos;Отключить изменение        |--titlecase=none&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;Edit&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Количество элементов в группе&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Максимальное количество элементов в группе при обычной группировке по количнеству&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;270&apos;;
  P.Values[&apos;edWidth&apos;] = &apos;50&apos;;
  P.Values[&apos;Default&apos;] = &apos;100&apos;;
  P.Values[&apos;OnlyNum&apos;] = &apos;Yes&apos;;
  P.Values[&apos;Param&apos;] = &apos;--maxingroup=&lt;N&gt;&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;Edit&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Макс. кол-во загружаемых страниц&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Максимальное количество загружаемых страниц (глубина просмотра). 0 - не ограничивать&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;270&apos;;
  P.Values[&apos;edWidth&apos;] = &apos;50&apos;;
  P.Values[&apos;OnlyNum&apos;] = &apos;Yes&apos;;
  P.Values[&apos;Default&apos;] = &apos;0&apos;;
  P.Values[&apos;Param&apos;] = &apos;--pages=&lt;N&gt;&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;ComboBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Добавить год в название&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;194&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Добавление года в название видео, если его нет в названии и он установлен&apos;;
  P.Values[&apos;coWidth&apos;] = &apos;190&apos;;
  P.Values[&apos;Param0&apos; ] = &apos;Добавлять год   |--yearintitle&apos;;
  P.Values[&apos;Param1&apos; ] = &apos;Отключить добавление|--noyearintitle&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;ComboBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Удаление старых ссылок&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;194&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Очистка списка уже добавленных ссылок при обновлении&apos;;
  P.Values[&apos;coWidth&apos;] = &apos;190&apos;;
  P.Values[&apos;Param0&apos; ] = &apos;Не удалять старые ссылки |--nodelitems&apos;;
  P.Values[&apos;Param1&apos; ] = &apos;Включить удаление ссылок |--delitems&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;ComboBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Нумерация добавляемых видео&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;240&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Добавление в начало названия порядкового номера в группе&apos;;
  P.Values[&apos;coWidth&apos;] = &apos;144&apos;;
  P.Values[&apos;Param0&apos; ] = &apos;Нумеровать          |--numbering&apos;;
  P.Values[&apos;Param1&apos; ] = &apos;Отключить нумерацию |--nonumbering&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;ComboBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Режим добавления видео&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;220&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Добавлять видео как ссылку на видео или как папку с видео&apos;;
  P.Values[&apos;coWidth&apos;] = &apos;164&apos;;
  P.Values[&apos;Param0&apos; ] = &apos;Добавлять как папки  |--itemasfolder=on&apos;;
  P.Values[&apos;Param1&apos; ] = &apos;Добавлять как ссылки |--itemasfolder=off&apos;;
if (WCOLLECT!=nil) {
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;ComboBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Коллектор по годам и алфавиту&apos;;
  P.Values[&apos;caWidth&apos;] = &apos;240&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Дополнительно коллекционировать ссылки на видео в папку коллектора по годам и алфавиту одновременно&apos;;
  P.Values[&apos;coWidth&apos;] = &apos;144&apos;;
  P.Values[&apos;Param0&apos; ] = &apos;Включить коллектор  |--collect&apos;;
  P.Values[&apos;Param1&apos; ] = &apos;Отключить коллектор |--nocollect&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;CheckBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Режим коллектора "Без папок"&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Добавлять видео в коллектор как ссылку на видео, а не как папку с видео&apos;;
  P.Values[&apos;Param&apos;  ] = &apos;--collectasitems&apos;;
}
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;CheckBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Запросы загрузки без использования кеша&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;При загрузке страниц с ресурса не использовать кеш&apos;;
  P.Values[&apos;Param&apos;  ] = &apos;--nocache&apos;;
  P = CreateNewParam(PARAMS);
  P.Values[&apos;Class&apos;  ] = &apos;CheckBox&apos;;
  P.Values[&apos;Caption&apos;] = &apos;Альтернативная папка "Настройки" (если есть)&apos;;
  P.Values[&apos;Hint&apos;   ] = &apos;Создание альтернативной (без использования динамических папок) папки настроек при создании структуры подкаста&apos;;
  P.Values[&apos;Param&apos;  ] = &apos;--altsetfldr&apos;;
}
// ----------------------------------------------------------------------------
Variant GetSearchFolder() {
  Variant Item = HmsFindMediaFolder(ROOTPODCAST.ItemID, &apos;-SearchFolder&apos;);
  return Item;
}
// ----------------------------------------------------------------------------
void AddSearch() {
  char sText; Variant cntrlEdit;
  sText = HmsGetUserSearchText();
  DoSearch(0);
  ShowMessage(Format(&apos;«%s» добавлен как подкаст в папку Поиск.&apos;, [sText]));
  cntrlEdit = GetFormObject(&apos;SearchEdit&apos; ); if (cntrlEdit ==nil) return;
  cntrlEdit.Text = &apos;&apos;;
  HmsSetUserSearchText(&apos;&apos;);
}
// ----------------------------------------------------------------------------
void DoSearch(Variant Btn) {
  int i; Variant cntrlEdit, cntrlList, SearchFolder, NewPodcast, Item, OLD;
  cntrlEdit = GetFormObject(&apos;SearchEdit&apos; ); if (cntrlEdit ==nil) return;
  cntrlList = GetFormObject(&apos;SearchList&apos; ); if (cntrlList ==nil) return;
  SearchFolder = GetSearchFolder();
  NewPodcast = SearchFolder.AddFolder(cntrlEdit.Text, false);
  NewPodcast[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
  HmsSetUserSearchText(cntrlEdit.Text);
  W_MODE = 0; OLD = FolderItem;
  FolderItem   = NewPodcast;
  mpTitle      = NewPodcast[mpiTitle];
  mpFilePath   = NewPodcast[mpiFilePath];
  mpCreateDate = NewPodcast[mpiCreateDate];
  mpPodcastParameters = NewPodcast[mpiPodcastParameters]+&apos; &apos;+NewPodcast.ItemParent[mpiPodcastParameters];
  WONKY307Start();
  WONKY307=TStringList.Create(); PARAM=TStringList.Create(); VARS=TStringList.Create();
  FolderItem   = OLD;
  gnTotalItems = 0;
  W_MODE = 1;
  cntrlList.Items.Clear();
  BuildPodcastTree(cntrlList.Items, NewPodcast, nil, 0, true);
  if (Btn!=0) NewPodcast.Delete();
  cntrlList.FullExpand();
  cntrlList.Selected = cntrlList.Items[0];
}
// ----------------------------------------------------------------------------
void evntFormOnResize(Variant frm) {
  Variant Control;
  int nW = frm.ClientWidth;
  int nH = frm.ClientHeight;
  BoundControl(&apos;PageCntrl&apos;, 0, 0, nW, nH - 44);
  BoundControl(&apos;btnOK&apos;,     nW -  85, nH - 35,  75,  25);
  BoundControl(&apos;btnCancel&apos;, nW - 170, nH - 35,  75,  25);

  Control = GetFormObject(&apos;LineAbout&apos;);
  if (Control!=nil) Control.Left = Round(nW/2 - Control.Width/2)-4;

  Control = GetFormObject(&apos;SearchList&apos; ); if (Control!=nil) Control.Height = nH - 170;
}
// ----------------------------------------------------------------------------
void CreateSearchControls(Variant frmMain, Variant Page) {
  int i; Variant Control, PageCntrl, Panel, Item;
  Item = GetSearchFolder(); if (Item==nil) return;

  Control = CreateControl(frmMain, Page, TSplitter, &apos;splitter2&apos;);
  Control.SetBounds(320, 25, 4, frmMain.Height-44);
  Control.Align  = alLeft;

  Panel = CreateControl(frmMain, Page, TGroupBox, &apos;GS&apos;, &apos;Поиск:&apos;);
  Panel.Color = 0xF0F0F0;
  Panel.Align = alClient;

  Control = CreateControl(frmMain, Panel, TEdit, &apos;SearchEdit&apos;);
  Control.SetBounds( 5, 25, 210, 24);
  Control.Text = HmsGetUserSearchText();

  Control = CreateControl(frmMain, Panel, TButton, &apos;btnSearch&apos;, &apos;Найти&apos;, &apos;Поиск набранного текста&apos;);
  Control.SetBounds(218, 25,  75, 24);
  Control.OnClick = &apos;DoSearch&apos;;

  Control = CreateControl(frmMain, Panel, TButton, &apos;btnSearchAdd&apos;, &apos;Добавить&apos;, &apos;Добавить в папку поиска подкаста&apos;);
  Control.SetBounds(295, 25,  75, 24);
  Control.OnClick = &apos;AddSearch&apos;;

  Control = CreateControl(frmMain, Panel, TTreeView, &apos;SearchList&apos;, &apos;&apos;, &apos;Результаты поиска&apos;);
  Control.SetBounds( 10, 60, 220, 303);
  Control.HideSelection = false;
  Control.RowSelect     = true;
  Control.ReadOnly      = true;
  Control.Align = alBottom;
}
// ----------------------------------------------------------------------------
void AddCaptionToPage(Variant frmMain, Variant Page, char sCapt=&apos;&apos;, int Color=0x866649, int nHeight=36, int nSize=18) {
  Variant TopPanel, Label, Line, aClrs1, aClrs2; int iClr;
  // Не мог определиться с палитрой...
  aClrs1 = [0x866649, 0x555555, 0xFB8936, 0x247FFF, 0x2A7CCA, 0x666666];
  aClrs2 = [0xB8997C, 0x808077, 0x247FFF, 0xFB8936, 0xAA8926, 0x6C60EC];
  if (frmMain.Tag==0) frmMain.Tag = Round(Random()*(Length(aClrs1)-1))+1;
  TopPanel = CreateControl(frmMain, Page, TPanel);
  TopPanel.Color     = 0xF0F0F0;
  TopPanel.Height    = nHeight;
  TopPanel.Align     = alTop;
  Line = CreateControl(frmMain, TopPanel, TShape, Page.Name+&apos;Line&apos;, sCapt);
  Line.Brush.Color = aClrs2[frmMain.Tag-1];
  Line.Pen.Style   = psClear;
  Line.SetBounds(10, 24, 0, 3);
  Label = CreateControl(frmMain, TopPanel, TLabel, Page.Name+&apos;Capt&apos;, sCapt);
  Label.Font.Size  = nSize;
  Label.Font.Style = fsBold;
  Label.Font.Color = aClrs1[frmMain.Tag-1];
  Label.Font.Name  = &apos;Trebuchet MS&apos;;
  Label.Transparent= true;
  Label.AutoSize   = true;
  Label.Left =  10;
  Label.Top  = -84;
}
// ----------------------------------------------------------------------------
void evntPageOnEnter(Variant Page) {
  Variant Label, Line;
  if (Page.Tag==33) {
    Timer.Interval= 33;
    Timer.OnTimer = &apos;evntAboutFXOnTimer&apos;;
    Timer.Enabled = true;
  }
  if (Page.Tag==12) {
    Label = GetFormObject(Page.Name+&apos;Capt&apos;); if (Label == nil) return;
    if (Label.Top &gt;0) return;
    Label.Top = -84;
    Line  = GetFormObject(Page.Name+&apos;Line&apos;); if (Line  == nil) return;
    Line.Width = 0;
    Timer.Interval= 20;
    Timer.Tag     = StrToInt(Copy(Page.Name, 5, 2));
    Timer.OnTimer = &apos;evntPageCaptFXOnTimer&apos;;
    Timer.Enabled = true;
  }
}
// ----------------------------------------------------------------------------
TStrings CreateNewParam(TStrings Params=nil, char sText=&apos;&apos;, char sParam=&apos;&apos;) {
  if (Params==nil) Params = PARAMS;
  Result = TStringList.Create();
  if (sText  != &apos;&apos;) Result.Values[&apos;Text&apos; ] = sText;
  if (sParam != &apos;&apos;) Result.Values[&apos;Param&apos;] = sParam;
  Params.AddObject(IntToStr(Params.Count), Result);
  return Result;
}
// ----------------------------------------------------------------------------
Variant CreateControl(TWinControl aForm, TWinControl aParent, Variant CLASS, char CntrlName=&apos;&apos;, char sCaption=&apos;&apos;, char sHint=&apos;&apos;, int nModalResult=nil) {
  Result = CLASS.Create(aForm);
  Result.Parent = aParent;
  if (sCaption     != &apos;&apos;) Result.Caption     = sCaption;
  if (nModalResult !=nil) Result.ModalResult = nModalResult;
  if (CntrlName    != &apos;&apos;) {Result.Name = CntrlName; FORMOBJECTS.AddObject(CntrlName, Result);}
  if (sHint        != &apos;&apos;) {Result.Hint = sHint; Result.ShowHint = true;}
  return Result;
}
// ----------------------------------------------------------------------------
Variant GetFormObject(char CntrlName) {
  int i = FORMOBJECTS.IndexOf(CntrlName);
  if (i&lt;0) return nil;
  else     return FORMOBJECTS.Objects[i];
}
// ----------------------------------------------------------------------------
void BuildPodcastTree(TTreeNodes TreeItems, THmsScriptMediaItem ParentItem, TTreeNode Root, int nLevel=0, bool bF=false) {
  int i; Variant Item, NodeData; // Фильтруем: только папки лент подкастов и подкасты
  if (!bF) if ((ParentItem.ItemClassID!=51)&amp;&amp;(ParentItem.ItemClassID!=53)) return;
  NodeData = TStringList.Create();
  NodeData.Values[&apos;Params&apos;] = ParentItem[nIdStoreParams];
  NodeData.AddObject(&apos;Item&apos;, ParentItem);
  Item = TreeItems.AddChild(Root, GetTreeNodeName(NodeData));
  Item.Data = NodeData;
  if (ParentItem.HasChildItems &amp;&amp; (nLevel&lt;3)) {
    for (i=0; i&lt;ParentItem.ChildCount; i++) {
      BuildPodcastTree(TreeItems, ParentItem.ChildItems[i], Item, nLevel+1, bF);
    }
  }
}
// ----------------------------------------------------------------------------
void UpdateParameters(char ParamsData=&apos;&apos;) {
  int i, n, nMaxLen=0; Variant P, Control, Control2; char sParam, sValue, sPId;
  for (i=0; i&lt;PARAMS.Count; i++) {
    P = PARAMS.Objects[i]; sPId = IntToStr(i);
    if        (P.Values[&apos;Class&apos;] == &apos;CheckBox&apos;) {
      Control = GetFormObject(&apos;PCheckBox&apos;+sPId);
      sParam  = P.Values[&apos;Param&apos;];
      Control.OnClick = nil;
      Control.Checked = (Pos(sParam, ParamsData)&gt;0);
      Control.OnClick = &apos;evntParamChanged&apos;;
      if (Control.Checked) Control.Font.Style = 1; else Control.Font.Style = 0;
    } else if (P.Values[&apos;Class&apos;] == &apos;ComboBox&apos;) {
      nMaxLen = 0;
      Control = GetFormObject(&apos;PCheckBox&apos;+sPId);
      Control.OnClick = nil;
      Control.Checked = false;
      Control2 = GetFormObject(&apos;PComboBox&apos;+sPId);
      Control2.OnClick = nil;
      Control2.ItemIndex = 0;
      sValue = Trim(P.Values[&apos;Param0&apos;]);
      n=0; while (sValue!=&apos;&apos;) {
        HmsRegExMatch(&apos;\\|(.*?)$&apos;, sValue, sValue, 1, PCRE_SINGLELINE);
        if ((Pos(sValue, ParamsData)&gt;0) &amp;&amp; (Length(sValue)&gt;nMaxLen)) {
          Control2.ItemIndex = n;
          Control.Checked = true;
          nMaxLen=Length(sValue);
        }
        n++; sValue = Trim(P.Values[&apos;Param&apos;+IntToStr(n)]);
      };
      Control2.Enabled = Control.Checked;
      Control.OnClick  = &apos;evntParamChanged&apos;;
      Control2.OnClick = &apos;evntParamChanged&apos;;
      if (Control.Checked) Control.Font.Style = 1; else Control.Font.Style = 0;
    } else if (P.Values[&apos;Class&apos;] == &apos;Edit&apos;) {
      Control  = GetFormObject(&apos;PCheckBox&apos;+sPId);
      Control2 = GetFormObject(&apos;PEdit&apos;+sPId);
      if ((Control==nil) || (Control2==nil)) return;
      Control.OnClick = nil;
      Control2.OnExit = nil;
      Control.Checked = false;
      sParam = P.Values[&apos;Param&apos;];
      sParam = ReplaceStr(sParam, &apos;&lt;N&gt;&apos;, &apos;(\\d+)&apos; );
      sParam = ReplaceStr(sParam, &apos;&lt;S&gt;&apos;, &apos;"(.*?)"&apos;);
      sValue = P.Values[&apos;Default&apos;];
      Control.Checked  = HmsRegExMatch(sParam, ParamsData, sValue, 1, PCRE_SINGLELINE);
      Control2.Text    = sValue;
      Control2.Enabled = Control.Checked;
      Control.OnClick  = &apos;evntParamChanged&apos;;
      Control2.OnExit  = &apos;evntParamChanged&apos;;
      if (Control.Checked) Control.Font.Style = 1; else Control.Font.Style = 0;
    } else if (P.Values[&apos;Class&apos;] == &apos;RadioButton&apos;) {
    }
  }
}
// ----------------------------------------------------------------------------
char GetTreeNodeName(TStrings NodeData) {
  Variant sParamsData, PodcastItem;
  int i = NodeData.IndexOf(&apos;Item&apos;); if (i&lt;0) return &apos;&apos;;
  PodcastItem = NodeData.Objects[i];
  sParamsData = Trim(NodeData.Values[&apos;Params&apos;]);
  Result = PodcastItem[mpiTitle];
  if (Pos(&apos;--&apos;, sParamsData)&gt;0) {
    Result = &apos;(&apos;+IntToStr(WordCount(ReplaceStr(sParamsData, &apos;--&apos;, &apos;\n&apos;), &apos;\n&apos;))+&apos;) &apos;+Trim(Result);
  }
  return Result;
}
// ----------------------------------------------------------------------------
bool IsSetP(Variant P, char sName) {
  Result = (UpperCase(LeftCopy(P.Values[sName], 1))==&apos;Y&apos;);
  return Result;
}
// ----------------------------------------------------------------------------
void ShowParameters() {
  Variant P, Line, Control, ParamZone; char sValue, sParam;
  int nLeft = 10, nTop = 10, nHeight = 36, nWidth, i, n, nLabelWidth, nCntrlWidth;
  Variant frmMain  = GetFormObject(&apos;frmMain&apos; ); if (frmMain ==nil) return;
  Variant prmPanel = GetFormObject(&apos;prmPanel&apos;); if (prmPanel==nil) return;
  nWidth = prmPanel.Width - (nLeft*2) - 16;
  for (i=0; i&lt;PARAMS.Count; i++) {
    P = PARAMS.Objects[i];
    if        (P.Values[&apos;Class&apos;] == &apos;CheckBox&apos;) {
      Control = CreateControl(frmMain, prmPanel, TCheckBox, &apos;PCheckBox&apos;+IntToStr(i), P.Values[&apos;Caption&apos;], P.Values[&apos;Hint&apos;]);
      Control.SetBounds(nLeft, nTop+3, nWidth, 16);
      Control.Tag = i;
      Control.OnClick = &apos;evntParamChanged&apos;;
    } else if (P.Values[&apos;Class&apos;] == &apos;ComboBox&apos;) {
      nLabelWidth = StrToIntDef(P.Values[&apos;caWidth&apos;],  80);
      nCntrlWidth = StrToIntDef(P.Values[&apos;coWidth&apos;], 160);
      Control = CreateControl(frmMain, prmPanel, TCheckBox, &apos;PCheckBox&apos;+IntToStr(i), P.Values[&apos;Caption&apos;]+&apos;:&apos;, P.Values[&apos;Hint&apos;]);
      Control.SetBounds(nLeft, nTop+3, nLabelWidth, 18);
      Control.Tag = i;
      Control.OnClick = &apos;evntParamChanged&apos;;
      Control = CreateControl(frmMain, prmPanel, TComboBox, &apos;PComboBox&apos;+IntToStr(i), P.Values[&apos;Caption&apos;], P.Values[&apos;Hint&apos;]);
      Control.SetBounds(nLeft+nLabelWidth+4, nTop, nCntrlWidth, 16);
      Control.Enabled = false;
      Control.Style = csDropDownList;
      Control.Tag = i;
      sValue = P.Values[&apos;Param0&apos;];
      n=0; while (sValue!=&apos;&apos;) {
        HmsRegExMatch2(&apos;^(.*?)\\|(.*?)$&apos;, sValue, sValue, sParam, PCRE_SINGLELINE);
        Control.Items.Add(sValue);
        n++;
        sValue = P.Values[&apos;Param&apos;+IntToStr(n)];
      };
      Control.ItemIndex = 0;
      Control.OnClick   = &apos;evntParamChanged&apos;;
    } else if (P.Values[&apos;Class&apos;] == &apos;Edit&apos;) {
      nLabelWidth = StrToIntDef(P.Values[&apos;caWidth&apos;], 80);
      nCntrlWidth = StrToIntDef(P.Values[&apos;coWidth&apos;], 50);
      Control = CreateControl(frmMain, prmPanel, TCheckBox, &apos;PCheckBox&apos;+IntToStr(i), P.Values[&apos;Caption&apos;]+&apos;:&apos;, P.Values[&apos;Hint&apos;]);
      Control.SetBounds(nLeft, nTop+3, nLabelWidth, 18);
      Control.Tag = i;
      Control.OnClick = &apos;evntParamChanged&apos;;
      Control = CreateControl(frmMain, prmPanel, TEdit, &apos;PEdit&apos;+IntToStr(i), P.Values[&apos;Caption&apos;], P.Values[&apos;Hint&apos;]);
      Control.SetBounds(nLeft+nLabelWidth+4, nTop, nCntrlWidth, 16);
      Control.Enabled = false;
      Control.Text = P.Values[&apos;Default&apos;];
      Control.Tag  = i;
      Control.OnExit = &apos;evntParamChanged&apos;;
      if (IsSetP(P, &apos;OnlyNum&apos;)) Control.OnKeyDown = &apos;evntOnKeyDownOnlyNum&apos;;
    } else if (P.Values[&apos;Class&apos;] == &apos;RadioButton&apos;) {
      sValue = P.Values[&apos;Param0&apos;];
      n=0; while (sValue!=&apos;&apos;) {
        HmsRegExMatch2(&apos;^(.*?)\\|(.*?)$&apos;, sValue, sValue, sParam, PCRE_SINGLELINE);
        Control = CreateControl(frmMain, prmPanel, TRadioButton, &apos;PRB&apos;+IntToStr(i), sValue, P.Values[&apos;Hint&apos;]);
        n++; sValue = P.Values[&apos;Param&apos;+IntToStr(n)];
        Control.SetBounds(nLeft, nTop, nWidth, 16);
        Control.Tag = i;
        Control.OnClick = &apos;evntParamChanged&apos;;
        nTop += 20;
      };
    }
    Control = TGroupBox.Create(frmMain);
    Control.Parent = prmPanel;
    Control.SetBounds(nLeft, nTop+nHeight-8, nWidth, 3);
    nTop += nHeight;
  }
}
// ----------------------------------------------------------------------------
void BoundControl(char CntrlName, int nLeft, int nTop, int nWidth, int nHeight) {
  Variant obj = GetFormObject(CntrlName);
  if (obj!=nil) obj.SetBounds(nLeft, nTop, nWidth, nHeight);
}
// ----------------------------------------------------------------------------
void evntOnKeyDownOnlyNum(Variant obj, int nKey, TShiftState ShiftState) {
  obj.ReadOnly = ((nKey &gt; 30) &amp;&amp; !HmsRegExMatch(&apos;[\\d]&apos;, Chr(nKey), &apos;&apos;, 1, PCRE_SINGLELINE));
}
// ----------------------------------------------------------------------------
TStrings SortStr4Length(TStrings S) {
  int i, j; char x;
  for (i=1; i&lt;S.Count; i++) {
    if (Length(S[i]) &lt; Length(S[i-1])) {
      x = S[i]; j = i;
      do {S[j] = S[j-1]; j--;} while ((j&gt;1) &amp;&amp; (Length(x)&lt;=Length(S[j-1])));
      S[j] = x;
    }
  }
  return S;
}
// ----------------------------------------------------------------------------
void SetUnsetParameter(char sValue, TStrings AvaliableParams) {
  char sParam, sParams, s; int i;
  i = FORMOBJECTS.IndexOf(&apos;CurrentNode&apos;); if (i&lt;0) return;
  Variant Node = FORMOBJECTS.Objects[i]; if (Node == nil) return;
  sParams = Node.Data.Values[&apos;Params&apos;];
  AvaliableParams.Text = ReplaceStr(AvaliableParams.Text, &apos;&lt;N&gt;&apos;, &apos;\\d+&apos; );
  AvaliableParams.Text = ReplaceStr(AvaliableParams.Text, &apos;&lt;S&gt;&apos;, &apos;".*?"&apos;);
  AvaliableParams = SortStr4Length(AvaliableParams);
  for (i=AvaliableParams.Count-1; i&gt;=0; i--) {
    sParam = AvaliableParams[i];
    if (sParam==&apos;&apos;) continue;
    if (HmsRegExMatch(&apos;(&apos;+sParam+&apos;)&apos;, sParams, s, 1, PCRE_SINGLELINE)) {
      sParams = ReplaceStr(sParams, &apos; &apos;+s, &apos;&apos;);
      sParams = ReplaceStr(sParams,     s, &apos;&apos;);
    }
  }
  sParams = Trim(sParams)+&apos; &apos;+sValue;
  Node.Data.Values[&apos;Params&apos;] = sParams;
  Node.Text = GetTreeNodeName(Node.Data);
}
// ----------------------------------------------------------------------------
void evntParamChanged(Variant obj) {
  char sParam=&apos;&apos;, sValue, sPId=IntToStr(obj.Tag); int n;
  Variant P, Control, Control2; TStrings AvalParams;

  AvalParams = TStringList.Create();
  P = PARAMS.Objects[obj.Tag];

    if        (P.Values[&apos;Class&apos;] == &apos;CheckBox&apos;) {
      Control = GetFormObject(&apos;PCheckBox&apos;+sPId);
      AvalParams.Add(P.Values[&apos;Param&apos;]);
      if (Control.Checked) {
        sParam = P.Values[&apos;Param&apos;];
        Control.Font.Style = 1;
      } else {
        Control.Font.Style = 0;
      }
    } else if (P.Values[&apos;Class&apos;] == &apos;ComboBox&apos;) {
      Control  = GetFormObject(&apos;PCheckBox&apos;+sPId);
      if (Control.Checked) Control.Font.Style = 1; else Control.Font.Style = 0;
      Control2 = GetFormObject(&apos;PComboBox&apos;+sPId);
      if ((Control==nil) || (Control2==nil)) return;
      Control2.Enabled = Control.Checked;
      sValue = Trim(P.Values[&apos;Param0&apos;]);
      n=0; while (sValue!=&apos;&apos;) {
        HmsRegExMatch(&apos;\\|(.*?)$&apos;, sValue, sValue, 1, PCRE_SINGLELINE);
        AvalParams.Add(sValue);
        if (Control2.ItemIndex == n) sParam = sValue;
        n++; sValue = Trim(P.Values[&apos;Param&apos;+IntToStr(n)]);
      };
      if (!Control.Checked) sParam = &apos;&apos;;
    } else if (P.Values[&apos;Class&apos;] == &apos;Edit&apos;) {
      Control  = GetFormObject(&apos;PCheckBox&apos;+sPId);
      if (Control.Checked) Control.Font.Style = 1; else Control.Font.Style = 0;
      Control2 = GetFormObject(&apos;PEdit&apos;+sPId);
      if ((Control==nil) || (Control2==nil)) return;
      Control2.Enabled = Control.Checked;
      AvalParams.Add(P.Values[&apos;Param&apos;]);
      if (Control.Checked) {
        sParam = P.Values[&apos;Param&apos;];
        sParam = ReplaceStr(sParam, &apos;&lt;N&gt;&apos;, Trim(Control2.Text));
        sParam = ReplaceStr(sParam, &apos;&lt;S&gt;&apos;, &apos;"&apos;+Trim(Control2.Text)+&apos;"&apos;);
      }
    } else if (P.Values[&apos;Class&apos;] == &apos;RadioButton&apos;) {
    }
    SetUnsetParameter(sParam, AvalParams);

}
// ----------------------------------------------------------------------------
void evntTreeOnClick(Variant obj) {
  Variant Node = obj.Selected; if (Node == nil) return;
  int i = FORMOBJECTS.IndexOf(&apos;CurrentNode&apos;);
  if (i&lt;0) FORMOBJECTS.AddObject(&apos;CurrentNode&apos;, Node);
  else     FORMOBJECTS.Objects[i] = Node;
  if (Node.Data != nil) UpdateParameters(Node.Data.Values[&apos;Params&apos;]);
}
// ----------------------------------------------------------------------------
void evntFormOnCanResize(Variant frm, int nNewWidth, int nNewHeight, bool bResize) {
  int nMinWidth = 344, nMinHeight = 280;
  if (nNewWidth  &lt; nMinWidth ) nNewWidth  = nMinWidth;
  if (nNewHeight &lt; nMinHeight) nNewHeight = nMinHeight;
}
// ----------------------------------------------------------------------------
void evntPageCaptFXOnTimer(Variant obj) {
  int nSpeed, nTop, nLeftTo = 10, nTopTo = 0; Variant Label, Line;

  Label = GetFormObject(&apos;Page&apos;+IntToStr(obj.Tag)+&apos;Capt&apos;); if (Label==nil) return;
  Label.Top += Round((nTopTo - Label.Top) / 4) + 1;
  if (Label.Top&gt;=nTopTo) Label.Top = nTopTo;

  Line = GetFormObject(&apos;Page&apos;+IntToStr(obj.Tag)+&apos;Line&apos;); if (Line==nil) return;
  Line.Width += Round((Label.Width - Line.Width) / 4) + 1;
  if (Line.Width&gt;=Label.Width) Line.Width = Label.Width;
  if ((Label.Top==nTopTo) &amp;&amp; (Line.Width==Label.Width)) obj.Enabled = false;
}
// ----------------------------------------------------------------------------
int ColorMotion(int ColorFrom, int ColorTo, int nSpeed = 3, bool bLiner=false) {
  int R1, G1, B1, R2, G2, B2;
  R1 = (ColorFrom &amp;&amp; 0x0000FF);
  G1 = (ColorFrom &amp;&amp; 0x00FF00) &gt;&gt; 8;
  B1 = (ColorFrom &amp;&amp; 0xFF0000) &gt;&gt; 16;
  R2 = (ColorTo &amp;&amp; 0x0000FF);
  G2 = (ColorTo &amp;&amp; 0x00FF00) &gt;&gt; 8;
  B2 = (ColorTo &amp;&amp; 0xFF0000) &gt;&gt; 16;
  if (bLiner) {
    R1-=nSpeed; G1-=nSpeed; B1-=nSpeed;
  } else {
    R1-= Round((R1-R2) / nSpeed)+1;
    G1-= Round((G1-G2) / nSpeed)+1;
    B1-= Round((B1-B2) / nSpeed)+1;
  }
  if (R1&lt;R2) R1=R2;
  if (G1&lt;G2) G1=G2;
  if (B1&lt;B2) B1=B2;
  return B1*256*256+G1*256+R1;
}
// ----------------------------------------------------------------------------
void evntAboutFXOnTimer(Variant Timer) {
  Variant afx4Fun, Label, Page; int i, fxNo, nCnt, nWrd, nFontSize, nFontColor; char sWrd;

  afx4Fun = GetFormObject(&apos;afx4Fun&apos;); if (afx4Fun == nil) {Timer.Enabled = false; return;}
  fxNo = StrToIntDef(afx4Fun.Values[&apos;fxNo&apos;], 0);
  if (fxNo&gt;5) {Timer.Enabled = false; return;}
  if (fxNo==0) {
    Label = GetFormObject(&apos;lblAboutL1&apos;); if (Label == nil) {fxNo++; return;}
    nFontSize  = 12;
    nFontColor = 0xAA8926;
    Label.Font.Color = ColorMotion(Label.Font.Color, nFontColor, 2);
    Label.Font.Size -= Round((Label.Font.Size-nFontSize) / 2)+1;
    if (Label.Font.Size &lt; nFontSize) Label.Font.Size = nFontSize;
    if ((Label.Font.Size==nFontSize) &amp;&amp; (Label.Font.Color&lt;=nFontColor)) fxNo++;
  } else if (fxNo==1) {
    nCnt = StrToIntDef(afx4Fun.Values[&apos;wCnt&apos;], 0);
    for (i=1; i&lt;=nCnt; i++) {Label=GetFormObject(&apos;lblAbout&apos;+IntToStr(i)); Label.Font.Size=138;}
    afx4Fun.Values[&apos;nWrd&apos;] = &apos;1&apos;;
    fxNo++;
  } else if (fxNo==2) {
    sWrd = afx4Fun.Values[&apos;nWrd&apos;];
    Label = GetFormObject(&apos;lblAbout&apos;+sWrd); if (Label == nil) {fxNo++; return;}
    nFontSize  = 15;
    nFontColor = 0xAA8926;
    Label.Font.Color = ColorMotion(Label.Font.Color, nFontColor, 2);
    Label.Font.Size -= Round((Label.Font.Size-nFontSize) / 2)+1;
    if (Label.Font.Size &lt; nFontSize) Label.Font.Size = nFontSize;
    if ((Label.Font.Size==nFontSize) &amp;&amp; (Label.Font.Color&lt;=nFontColor)) {
      nWrd = StrToIntDef(sWrd, 0) + 1;
      afx4Fun.Values[&apos;nWrd&apos;] = IntToStr(nWrd);
      if (nWrd&gt;WordCount(afx4Fun.Values[&apos;Wrds&apos;], &apos;|&apos;)) {
        fxNo++;
        Label = GetFormObject(&apos;lblAboutSkip1&apos;); if (Label!=nil) Label.Font.Color = nFontColor;
      }
    }
  } else if (fxNo==3) {
    Page  = GetFormObject(&apos;Page3&apos;); if (Page == nil) {fxNo++; return;}
    Label = GetFormObject(&apos;LineAbout&apos;); if (Label == nil) {fxNo++; return;}
    nFontSize  = 320;
    nFontColor = 0x6C60EC;
    Label.Width += Round((nFontSize-Label.Width) / 4)+1;
    Label.Brush.Color = ColorMotion(Label.Brush.Color, nFontColor, 3);
    if (Label.Width &gt; nFontSize) Label.Width = nFontSize;
    Label.Left = Round(Page.Width/2-Label.Width/2);
    if ((Label.Width==nFontSize) &amp;&amp; (Label.Brush.Color&lt;=nFontColor)) {
      Label = GetFormObject(&apos;lblAboutSkip2&apos;); if (Label!=nil) Label.Font.Color = 0xAA8926;
      fxNo++;
    }
  } else if (fxNo==4) {
    Label = GetFormObject(&apos;lblAboutDate&apos;); if (Label == nil) {fxNo++; return;}
    Label.Font.Color = 0x555555;
    fxNo++;
  } else if (fxNo==5) {
    Label = GetFormObject(&apos;lblAboutAuthor&apos;); if (Label == nil) {fxNo++; return;}
    nFontColor = 0x666666;
    Label.Font.Color = ColorMotion(Label.Font.Color, nFontColor, 155);
    if (Label.Font.Color==nFontColor) fxNo++;
  }
  afx4Fun.Values[&apos;fxNo&apos;] = IntToStr(fxNo);
}
// ----------------------------------------------------------------------------
int AddAboutLabel(int nTop, Variant frmMain, Variant Page, char sName, char sText, int nSize, char sFont=&apos;Tahoma&apos;, bool bBold=false) {
  Variant Label;
  Label = CreateControl(frmMain, Page, TLabel, sName, sText);
  Label.Align = alTop;
  Label.Transparent= true;
  Label.Alignment  = 2;
  Label.Font.Size  = nSize;
  Label.Font.Color = 0xF0F0F0;
  Label.Font.Name  = sFont;
  if (bBold) Label.Font.Style = fsBold;
  return Label.Height;
}
// ----------------------------------------------------------------------------
void PrepareAboutText(Variant frmMain, Variant Page, Variant aFx4Fun) {
  Variant Line; int i, nTop=0, nCnt;
  nTop = AddAboutLabel(0, frmMain, Page, &apos;lblAboutL1&apos;, &apos;О ПОДКАСТЕ:&apos;, 12, &apos;Georgia&apos;, true);
  nCnt = WordCount(afx4Fun.Values[&apos;Wrds&apos;], &apos;|&apos;);
  afx4Fun.Values[&apos;wCnt&apos;] = IntToStr(nCnt);
  nTop+= AddAboutLabel(0, frmMain, Page, &apos;lblAboutSkip0&apos;, &apos; &apos;, 15);
  for (i=1; i&lt;=nCnt; i++) {
    nTop+= AddAboutLabel(nTop, frmMain, Page, &apos;lblAbout&apos;+IntToStr(i), ExtractWord(i, afx4Fun.Values[&apos;Wrds&apos;], &apos;|&apos;), 15, &apos;&apos;);
  }
  nTop+= AddAboutLabel(0, frmMain, Page, &apos;lblAboutSkip1&apos;, &apos; &apos;, 4);
  Line = CreateControl(frmMain, Page, TShape, &apos;LineAbout&apos;);
  Line.Brush.Color = 0xF0F0F0;
  Line.Pen.Style   = psClear;
  Line.Width = 0;
  Line.SetBounds(Round(Page.Width/2-Line.Width/2), nTop, Line.Width, 3);
  AddAboutLabel(0, frmMain, Page, &apos;lblAboutSkip2&apos;, &apos;~&apos;, 13);
  //AddAboutLabel(0, frmMain, Page, &apos;lblAboutSkip2&apos;, &apos; &apos;, 6);
  AddAboutLabel(0, frmMain, Page, &apos;lblAboutDate&apos;, gsCfgDate, 10);
  AddAboutLabel(0, frmMain, Page, &apos;lblAboutSkip3&apos;, &apos; &apos;, 6);
  AddAboutLabel(0, frmMain, Page, &apos;lblAboutAuthor&apos;, gsCfgAuthor, 12, &apos;Georgia&apos;, true);
}
// ----------------------------------------------------------------------------
// Обновление списка сериалов
void UpdateSerials() {
}
// КОНЕЦ НАБОРА ВИЗУАЛЬНЫХ ФУНКЦИЙ И ПРОЦЕДУР
// ============================================================================

// =======================================================================================
// НАБОР ПРОЦЕДУР И ФУНКЦИЙ  -= WONKY307 =- ver 307.48
// ---------------------------------------------------------------------------------------
// Добавление в коллектор
void CollectTheItem(Variant OrigItem, bool bGroupMode, int nCountInGRP, int nGroup, char sGroupName) {
  int i, OldGROUPMODE = GROUPMODE; char sTitle, sOldGroup = sGroupName;
  THmsScriptMediaItem GroupItem, Folder, Item; Variant WOBJECT;
  if ((W_MODE==1) || (WCOLLECT==nil)) return;
  for (i=0; i&lt;WCOLLECT.Count; i++) {
    WOBJECT = WCOLLECT.Objects[i]; if (WOBJECT==nil) continue;
    if (!CheckObjectCondition(WOBJECT, OrigItem)) continue;
    sTitle = WOBJECT.Values[&apos;Title&apos;];

    GROUPMODE = 1;
    Folder = COLLECTOR.AddFolder(sTitle + &apos; - По алфавиту&apos;, true);
    Folder[mpiFolderSortOrder] = "mpTitle";
    ControlGrouping(OrigItem[mpiTitle], OrigItem[mpiYear], bGroupMode, nCountInGRP, nGroup, sGroupName, 2);
    if (sGroupName!=&apos;&apos;) {
      if (Length(sGroupName)==2) {
        GroupItem = Folder.AddFolder(LeftCopy(sGroupName, 1), true);
        if (Trim(GroupItem[mpiFolderSortOrder])==&apos;&apos;) Folder[mpiFolderSortOrder] = mpiTitle;
        GroupItem = GroupItem.AddFolder(sGroupName, false);
      } else {
        GroupItem = Folder.AddFolder(sGroupName, false);
      }
    }
    else GroupItem = Folder; GroupItem[532] = 0; // Отключаем скрипт обновления
    if (Trim(GroupItem[mpiFolderSortOrder])==&apos;&apos;) GroupItem[mpiFolderSortOrder] = mpiTitle;
    if (COLLECTASITEM==1) {
      Item = HmsCreateMediaItem(OrigItem[mpiFilePath], GroupItem.ItemID);
    } else {
      Item = GroupItem.AddFolder(OrigItem[mpiFilePath], true);
    }
    Item[mpiTitle]      = OrigItem[mpiTitle];      // Название
    Item[mpiThumbnail]  = OrigItem[mpiThumbnail];  // Картинка
    Item[mpiComment]    = OrigItem[mpiComment];    // Комментарий
    Item[mpiYear]       = OrigItem[mpiYear];       // Год
    Item[mpiDirector]   = OrigItem[mpiDirector];   // Режиссер
    Item[mpiTimeLength] = OrigItem[mpiTimeLength]; // Длительность
    Item[mpiActor]      = OrigItem[mpiActor];      // В ролях
    Item[mpiGenre]      = OrigItem[mpiGenre];      // Жанр
    Item[mpiCreateDate] = OrigItem[mpiCreateDate]; // Дата создания
    Item[mpiPodcastParameters] = OrigItem[mpiPodcastParameters]; // Параметры
    Item[mpiFolderSortOrder] = -mpiCreateDate;     // Сортировка: Дата создания по убыванию

    GROUPMODE = 3;
    Folder = COLLECTOR.AddFolder(sTitle + &apos; - По годам&apos;, true);
    Folder[mpiFolderSortOrder] = -mpiTitle;
    ControlGrouping(OrigItem[mpiTitle], OrigItem[mpiYear], bGroupMode, nCountInGRP, nGroup, sGroupName);
    if (sGroupName!=&apos;&apos;) GroupItem = Folder.AddFolder(sGroupName, false);
    else GroupItem = Folder; GroupItem[532] = 0; // Отключаем скрипт обновления
    if (Trim(GroupItem[mpiFolderSortOrder])==&apos;&apos;) GroupItem[mpiFolderSortOrder] = -mpiCreateDate;
    if (COLLECTASITEM==1) {
      Item = HmsCreateMediaItem(OrigItem[mpiFilePath], GroupItem.ItemID);
    } else {
      Item = GroupItem.AddFolder(OrigItem[mpiFilePath], true);
    }
    Item[mpiTitle]      = OrigItem[mpiTitle];      // Название
    Item[mpiThumbnail]  = OrigItem[mpiThumbnail];  // Картинка
    Item[mpiComment]    = OrigItem[mpiComment];    // Комментарий
    Item[mpiYear]       = OrigItem[mpiYear];       // Год
    Item[mpiDirector]   = OrigItem[mpiDirector];   // Режиссер
    Item[mpiTimeLength] = OrigItem[mpiTimeLength]; // Длительность
    Item[mpiActor]      = OrigItem[mpiActor];      // В ролях
    Item[mpiGenre]      = OrigItem[mpiGenre];      // Жанр
    Item[mpiCreateDate] = OrigItem[mpiCreateDate];
    Item[mpiPodcastParameters] = OrigItem[mpiPodcastParameters]; // Параметры
    Item[mpiFolderSortOrder] = -mpiCreateDate;
    sGroupName = sOldGroup; GROUPMODE = OldGROUPMODE;
    break;
  }
}

// ---------------------------------------------------------------------------------------
// Рекурсивная функция создания динамических подпапок
void CreateDynamicItems(TStrings WONKYBLK, Variant ParentItem, char &amp;sScript=&apos;&apos;) {
  int n, i, nParamId; char sTitle, sLink, sName, s;
  Variant WONKYOBJECT, SUBBLOCK, Folder, Item;

  for (n=0; n&lt;WONKYBLK.Count; n++) {
    SUBBLOCK = WONKYBLK.Objects(n); if (SUBBLOCK==0) continue;
    sTitle = SUBBLOCK.Values[&apos;mpiTitle&apos;];    if (sTitle==&apos;&apos;) continue;
    sLink  = SUBBLOCK.Values[&apos;mpiFilePath&apos;]; if (sLink ==&apos;&apos;) sLink=sTitle;
    Folder = ParentItem.AddFolder(sLink, false, 32);
    Folder[mpiTitle]      = sTitle;
    Folder[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
    Folder[200] = 5;           // mpiFolderType
    Folder[500] = sScript;     // mpiDynamicScript
    Folder[501] = &apos;C++Script&apos;; // mpiDynamicSyntaxType
    Folder[mpiFolderSortOrder] = -mpiCreateDate;
    for (i=0; i&lt;SUBBLOCK.Count; i++) {
      sName = SUBBLOCK.Names(i); if (sName==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sName);
      if ((nParamId==0)||(nParamId==mpiTitle)||(nParamId==mpiFilePath)) continue;
      Folder[nParamId] = SUBBLOCK.Values[sName];
    }
    if (GetWonkyObject(SUBBLOCK, &apos;CreateItems&apos;, WONKYOBJECT, ParentItem)) CreateDynamicItems(WONKYOBJECT, Folder, sScript);
    if (Folder.HasChildItems) {
      s = &apos;&apos;;
      for (i=0; i&lt;Folder.ChildCount; i++) {
        Item = Folder.ChildItems[i];
        s += Format("[&apos;%s&apos;,&apos;%s&apos;,&apos;%s&apos;],\n", [Item[mpiTitle], Item[mpiFilePath], Trim(Item[mpiThumbnail])]);
      }
      s = &apos;Variant aSubs = [\n&apos;+Trim(s)+&apos;\n];&apos;;
      Folder[500] = ReplaceStr(sScript, &apos;Variant aSubs = "";&apos;, s);
    }
  }
}
// ---------------------------------------------------------------------------------------
// Создание папки настроек (альтернативный вариант)
void CreateSettingsFolder(TStrings WONKYBLK, Variant ParentItem, char sFolderName=&apos;&apos;, char sFolderLink=&apos;&apos;) {
  int i, n, n2, nParamId; char sTitle, sLink, sName;
  Variant WONKYOBJECT, WONKYOBJECT2, SUBBLOCK, SUBBLOCK2; THmsScriptMediaItem SetFolder, Folder, Folder2, Item;
  if (sFolderLink==&apos;&apos;) sFolderLink = sFolderName;
  SetFolder = ParentItem.AddFolder(sFolderLink, true);
  SetFolder[mpiCreateDate] = &apos;31.12.5013 23:59&apos;;
  SetFolder[mpiTitle] = sFolderName;
  SetFolder[mpiFolderSortOrder] = -mpiCreateDate;
  if (!GetWonkyObject(WONKYBLK, &apos;CreateItems&apos;, WONKYOBJECT, ParentItem)) return;
  for (n=0; n&lt;WONKYOBJECT.Count; n++) {
    SUBBLOCK = WONKYOBJECT.Objects(n); if (SUBBLOCK==0) continue;
    sTitle = SUBBLOCK.Values[&apos;mpiTitle&apos;];    if (sTitle==&apos;&apos;) continue;
    sLink  = SUBBLOCK.Values[&apos;mpiFilePath&apos;]; if (sLink ==&apos;&apos;) sLink=sTitle;
    Folder = SetFolder.AddFolder(sLink, true);
    Folder[mpiTitle]      = sTitle;
    Folder[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
    Folder[mpiFolderSortOrder] = -mpiCreateDate;
    for (i=0; i&lt;SUBBLOCK.Count; i++) {
      sName = SUBBLOCK.Names(i); if (sName==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sName);
      if ((nParamId==0)||(nParamId==mpiTitle)||(nParamId==mpiFilePath)) continue;
      Folder[nParamId] = SUBBLOCK.Values[sName];
    }
    if (GetWonkyObject(SUBBLOCK, &apos;CreateItems&apos;, WONKYOBJECT2, ParentItem)) {
      for (n2=0; n2&lt;WONKYOBJECT2.Count; n2++) {
        SUBBLOCK2 = WONKYOBJECT2.Objects(n2); if (SUBBLOCK2==0) continue;
        sTitle = SUBBLOCK2.Values[&apos;mpiTitle&apos;];    if (sTitle==&apos;&apos;) continue;
        sLink  = SUBBLOCK2.Values[&apos;mpiFilePath&apos;]; if (sLink ==&apos;&apos;) sLink=sTitle;
        Folder2 = Folder.AddFolder(sLink, true);
        Folder2[mpiTitle]      = sTitle;
        Folder2[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
        Folder2[mpiFolderSortOrder] = -mpiCreateDate;
        Item = HmsCreateMediaItem(sLink+&apos; &apos;+Folder[mpiFilePath]+&apos; ROOTITEM="&apos;+ROOTPODCAST.ItemID+&apos;"&apos;, Folder2.ItemID);
        Item[mpiTitle]      = sTitle;
        Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
        Item[mpiFolderSortOrder] = -mpiCreateDate;
        Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
        for (i=0; i&lt;SUBBLOCK2.Count; i++) {
          sName = SUBBLOCK2.Names(i); if (sName==&apos;&apos;) continue;
          nParamId = GetIdByParamName(sName);
          if ((nParamId==0)||(nParamId==mpiTitle)||(nParamId==mpiFilePath)) continue;
          Item[nParamId] = SUBBLOCK2.Values[sName];
        }
      }
    }
  }
}
// ---------------------------------------------------------------------------------------
// Создание динамических каталогов (поиска или настроек)
void CreateDynamicGroup(TStrings WONKYBLK, Variant ParentItem, char sFolderName=&apos;&apos;, char sFolderLink=&apos;&apos;, char sScriptExp=&apos;&apos;) {
  int n; char sScript=&apos;&apos;, s1, s2, sVarName, sVarValue;
  Variant WONKYOBJECT; THmsScriptMediaItem Folder;

  if (sFolderLink==&apos;&apos;) sFolderLink = sFolderName;
  Folder = ParentItem.AddFolder(sFolderLink, false, 32);
  Folder[mpiCreateDate] = &apos;31.12.5013 23:59&apos;;
  Folder[mpiTitle] = sFolderName;
  Folder[mpiFolderSortOrder] = -mpiCreateDate;
  // Получаем текст скрипта для динамических папок (из скрипта создания подкаст лент)
  if (sScriptExp!=&apos;&apos;) HmsRegExMatch(sScriptExp, FolderItem[571], sScript, 1, PCRE_SINGLELINE);
  sScript = ReplaceStr(sScript, &apos;*//*&apos;, &apos;*/*&apos;);
  // Заменяем в скрипте глобальные текстовые переменные из конфига (если таковые там встречаются)
  for (n=0; n&lt;WONKYBLK.Count; n++) {
    sVarName  = WONKYBLK.Names[n]; s1 = LeftCopy(sVarName, 2); if ((s1!=&apos;gs&apos;)&amp;&amp;(s1!=&apos;gn&apos;)) continue;
    sVarValue = WONKYBLK.Values[sVarName];
    if (s1==&apos;gn&apos;) {
      if(HmsRegExMatch2("(("+sVarName+"\\s*?=).*?;)", sScript, s1, s2, PCRE_SINGLELINE)) sScript = ReplaceStr(sScript, s1, s2+" "+sVarValue+";");
    } else {
      if(HmsRegExMatch2("(("+sVarName+"\\s*?=).*?;)", sScript, s1, s2, PCRE_SINGLELINE)) sScript = ReplaceStr(sScript, s1, s2+" &apos;"+sVarValue+"&apos;;");
    }
  }
  if ((Trim(sScript)!=&apos;&apos;) &amp;&amp; (sFolderLink!=&apos;-SettingsCommands&apos;)) {
    Folder[200] = 5;           // mpiFolderType
    Folder[500] = sScript;     // mpiDynamicScript
    Folder[501] = &apos;C++Script&apos;; // mpiDynamicSyntaxType
  }
  if (!GetWonkyObject(WONKYBLK, &apos;CreateItems&apos;, WONKYOBJECT, ParentItem)) return;
  CreateDynamicItems(WONKYOBJECT, Folder, sScript);
}

/*BeginSettingsScript
char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = "";
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}
EndSettingsScript*/
/*BeginSearchScript
int mpiFolderType        = 200;
int mpiDynamicScript     = 500;
int mpiDynamicSyntaxType = 501;
int mpiPreviousItemID    = 200104;
int mpiDoNothing         = 201100;

char gsSpace           = &apos;Пробел&apos;;
char gsDelLastChar     = &apos;Удалить последний символ&apos;;
char gsClearSearch     = &apos;Очистить текст поиска&apos;;
char gsClearHystoryIn  = &apos;Очистить историю поиска в папке "%s"&apos;;
char gsMsgClearHistory = &apos;История поиска в папке "%s" очищена&apos;;
char gsMsgTextSaved    = &apos;Подкаст "%s" добавлен в "%s"&apos;;
char gsMsgNothingSaved = &apos;Текст поиска не набран! Добавлять нечего.&apos;;
char gsMsgSearchText   = &apos;Текст поиска: %s&apos;;
char gsAddSearchTo     = &apos;Добавить в папку "%s"&apos;;

char gsSuggestQuery    = &apos;http://www.google.ru/complete/search?sclient=psy-ab&amp;q=&apos;;
char gsSuggestResultCut= &apos;&apos;;
char gsSuggestRegExpr  = &apos;\\["(.*?)",&apos;;
char gsSuggestMethod   = &apos;GET&apos;;
int  gnSuggestNoUTFEnc = 0;
char gsSuggestMessage  = &apos;Вариант: &apos;;

int gnTotalItems=0; TDateTime gTimeStart = Now; char gsTextSearch, gsMsg=&apos;&apos;;
THmsScriptMediaItem goRootItem, goCmdItem;
// ------------------------------------------ Создание папок команд поиска ----
void CreateSearchCommands() {
  int i; char sText; THmsScriptMediaItem Item;
  CreateDynamicItem(FolderItem, &apos;#&apos;,   &apos;-SearchCreateChars=From:32To:58&apos;);
  CreateDynamicItem(FolderItem, &apos;A-Z&apos;, &apos;-SearchCreateChars=From:65To:91&apos;);
  CreateDynamicItem(FolderItem, &apos;А-Я&apos;, &apos;-SearchCreateChars=From:192To:224&apos;);
  CreateDynamicItem(FolderItem, gsClearSearch, &apos;-SearchCmd=ClearSearchText&apos;);
  // Создание команды добавления в корневую папку поиска
  CreateDynamicItem(FolderItem, Format(gsAddSearchTo, [goRootItem[mpiTitle]]), &apos;-SearchCmd=SaveSearchText&apos;);
  // Создание команд добавления в папки, находящиеся в корневой, если поле "Файл" (mpiFilePath) у них пустое
  for (i=0; i&lt;goRootItem.ChildCount; i++) {
    Item = goRootItem.ChildItems[i];
    if (!Item.IsFolder || (Item[mpiFilePath]!=&apos;&apos;)) continue;
    CreateDynamicItem(FolderItem, Format(gsAddSearchTo, [Item[mpiTitle]]), &apos;-SaveSearchTextTo=&apos;+Item.ItemID);
  }
  // Создание команды очистки истории в корневой папке поиска
  CreateDynamicItem(FolderItem, Format(gsClearHystoryIn, [goRootItem[mpiTitle]]), &apos;-SearchCmd=ClearSearchHistory&apos;);
  // Создание команд очистки истории в папках, которые наодятся в корневой
  for (i=0; i&lt;goRootItem.ChildCount; i++) {
    Item = goRootItem.ChildItems[i];
    if (!Item.IsFolder || (Item[mpiFilePath]!=&apos;&apos;)) continue;
    CreateDynamicItem(FolderItem, Format(gsClearHystoryIn, [Item[mpiTitle]]), &apos;-ClearSearchHistoryIn=&apos;+Item.ItemID);
  }
  // Создание ссылки, информирующей о текущем набранном тексте поиска
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, goCmdItem.ItemID);
  Item[mpiTitle] = Format(gsMsgSearchText, [gsTextSearch]);
  Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;
}
// ---------------------------- Добавление подкаста с именем текста поиска ----
void AddPodcastSearch(THmsScriptMediaItem prntItem) {
  THmsScriptMediaItem Item;
  if (Trim(gsTextSearch)==&apos;&apos;) {gsMsg = gsMsgNothingSaved; return;}
  if (LowerCase(gsTextSearch)==gsTextSearch) gsTextSearch = NameCase(gsTextSearch);
  Item = prntItem.AddFolder(gsTextSearch, false);
  Item[mpiFilePath ] = Format(&apos;search="%s"&apos;, [gsTextSearch]);
  Item[mpiTitle    ] = gsTextSearch;
  HmsDatabaseAutoSave(false);
  gsMsg = Format(gsMsgTextSaved, [gsTextSearch, prntItem[mpiTitle]]);
  //gsTextSearch = &apos;&apos;;
}
// --------- Функция создания динамической папки с унаследованным скриптом ----
void CreateDynamicItem(THmsScriptMediaItem prntItem, char sTitle, char sLink) {
char s; THmsScriptMediaItem Folder;
  if (Trim(sTitle)==&apos;&apos;) sTitle = gsSpace;
  Folder = prntItem.AddFolder(sLink, true);
  Folder[mpiTitle            ] = sTitle;
  Folder[mpiCreateDate       ] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
  Folder[mpiFolderType       ] = prntItem[mpiFolderType];
  Folder[mpiDynamicScript    ] = prntItem[mpiDynamicScript];
  Folder[mpiDynamicSyntaxType] = prntItem[mpiDynamicSyntaxType];
  Folder[mpiFolderSortOrder  ] = prntItem[mpiFolderSortOrder];
}
// ----------------------------  MAIN PROCEDURE  ------------------------------
{
  int i, nCnt; char sCh, sCh1, sCh2, sText; THmsScriptMediaItem Item;
  char s, sUrlServer = &apos;&apos;, sRequestPage = &apos;/&apos;, sPostData = &apos;&apos;, sHeaders = &apos;&apos;;
  if (LeftCopy(mpFilePath, 1) != &apos;-&apos;) return; // Если это не команда - то и не обрабатываем
  // Поиск корневого каталога поиска (папки, которая содержит динамическую папку с путем "-SearchCommands")
  goRootItem = FolderItem; goCmdItem = FolderItem;
  while ((goRootItem.ItemParent != HmsDatabaseRootItem) &amp;&amp; (goRootItem.ItemParent != nil)) {
    if (goRootItem[mpiFilePath] == &apos;-SearchCommands&apos;) {goCmdItem=goRootItem; goRootItem=goCmdItem.ItemParent; break;}
    goRootItem = goRootItem.ItemParent;
  }
  // Если это повторный вызов, смены папки не произошло - ничего не делаем
  if ((FolderItem.ItemID==goRootItem[mpiPreviousItemID]) &amp;&amp; !DebugMode &amp;&amp; (FolderItem!=goCmdItem)) return;
  FolderItem.DeleteChildItems(); goRootItem[mpiPreviousItemID] = FolderItem.ItemID;
  gsTextSearch = HmsGetUserSearchText(); // Получаем текущее значение текста поиска
  // ---- Проверяем команды - по значению в mpFilePath ----
  if (goRootItem[mpiDoNothing]==&apos;1&apos;) {   // Флаг "Ничего не делать" - например, при возврате
    goRootItem[mpiDoNothing] = &apos;&apos;;       //   в команду набирания буквы из подпапки варианта
  } else if (HmsRegExMatch(&apos;-SearchCommands&apos;, mpFilePath, sCh1)) {              // Создание корневых команд поиска
    CreateSearchCommands(); return;
  } else if (HmsRegExMatch(&apos;-SearchChar=(\\d+)&apos;, mpFilePath, sCh1)) {           // Добавление буквы (символа) к набираемому тексту поиска
    gsTextSearch += Chr(StrToInt(sCh1));
  } else if (HmsRegExMatch(&apos;-SetSearchText=(.*)&apos;, mpFilePath, gsTextSearch)) {  // Назначить текст поиска значением варианта подсказки
    goRootItem[mpiDoNothing] = &apos;1&apos;; gsSuggestQuery = &apos;&apos;; // включаем флаг не выполнять команду при возврате из этой папки
  } else if (HmsRegExMatch(&apos;-SaveSearchTextTo=(.*)&apos;, mpFilePath, sCh1)) {       // Добавление в папку Х. Поиск этой папки по ItemID.
    Item = goRootItem; // Ищем папку с ItemID равному идентификатору, переданному в mpFilePath
    for (i=0; i&lt;goRootItem.ChildCount; i++) {
      if (goRootItem.ChildItems[i].ItemID==sCh1) {Item = goRootItem.ChildItems[i]; break;}
    }
    AddPodcastSearch(Item); // и добавляем в найденную папку подкаст текстом поиска
  } else if (HmsRegExMatch(&apos;-ClearSearchHistoryIn=(.*)&apos;, mpFilePath, sCh1)) {   // Очистка истории (добавленных ранее) поисковых значений
    Item = goRootItem; // Ищем папку с ItemID равному идентификатору, переданному в mpFilePath
    for (i=0; i&lt;goRootItem.ChildCount; i++) {
      if (goRootItem.ChildItems[i].ItemID==sCh1) {Item = goRootItem.ChildItems[i]; break;}
    }
    for(i=0; i&lt;Item.ChildCount; i++) { // Удаляем все элементы с начинающимся словом &apos;search&apos; в поле mpiFilePath
      if (LeftCopy(Item.ChildItems[i].Properties[mpiFilePath], 6)==&apos;search&apos;) {Item.ChildItems[i].Delete();i--;}
    }
    gsMsg = Format(gsMsgClearHistory, [Item[mpiTitle]]); // вывод сообщения, что история очищена
  } else if (HmsRegExMatch(&apos;-SearchCmd=(\\w+)&apos;,   mpFilePath, sCh1)) {
    if      (sCh1==&apos;DeleteLastChar&apos; ) gsTextSearch = LeftCopy(gsTextSearch, Length(gsTextSearch)-1); // Удаление последнего символа
    else if (sCh1==&apos;SaveSearchText&apos; ) AddPodcastSearch(goRootItem);             // Добавить текст поиска в корневую папку
    else if (sCh1==&apos;ClearSearchText&apos;) gsTextSearch = &apos;&apos;;                        // Очистка текста поиска
    else if (sCh1==&apos;ClearSearchHistory&apos;) {                                      // Очистка истории (добавленных значений поиска)
      for(i=0; i&lt;goRootItem.ChildCount; i++) {
        Item = goRootItem.ChildItems[i]; // Ищем все элементы, у которых значение mpiFilePath начиначется с &apos;search&apos;
        if (LeftCopy(Item[mpiFilePath], 6)==&apos;search&apos;) {goRootItem.ChildItems[i].Delete();i--;}
      }
      gsMsg = Format(gsMsgClearHistory, [goRootItem[mpiTitle]]);
    }
  } else if (HmsRegExMatch2(&apos;-SearchCreateChars=From:(\\d+)To:(\\d+)&apos;, mpFilePath, sCh1, sCh2)) { // Создание списка букв/символов
    CreateDynamicItem(FolderItem, gsDelLastChar, &apos;-SearchCmd=DeleteLastChar Suggestions&apos;); // В начало - команда удаления символа
    CreateDynamicItem(FolderItem, &apos; &apos;, &apos;-SearchChar=32 Suggestions&apos;); // Пробел
    for (i= StrToInt(sCh1); i&lt;StrToInt(sCh2); i++) CreateDynamicItem(FolderItem, Chr(i), &apos;-SearchChar=&apos;+IntToStr(i)+&apos; Suggestions&apos;);
    // слово "Suggestions" добавлено к значению mpiFilePath тек команд, в которых возможно использование подсказок
  }
  else return; // Если неизвестная нам команда - просто выходим

  HmsSetUserSearchText(gsTextSearch); // Устанавливаем значение текста поиска
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, FolderItem.ItemID);
  if (gsMsg==&apos;&apos;) { // Если сообщения небыло - просто выводим ссылку с текущим значением набранного текста
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;
    Item[mpiTitle    ] = Format(gsMsgSearchText, [gsTextSearch]);
  } else {         // Выводим сообщение
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    Item[mpiTitle    ] = gsMsg;
  }
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, FolderItem.ItemParent.ItemID);     // В родительской папке (выше) обновляем информацию о текущем значении текста
  Item[mpiTitle]     = Format(gsMsgSearchText, [gsTextSearch]);
  Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, goCmdItem.ItemID);                 // Также в папке, содержащую главные команды поиска
  Item[mpiTitle]     = Format(gsMsgSearchText, [gsTextSearch]);
  Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;

  // Suggestions ------ Блок работы с подсказками -------
  if ((gsSuggestQuery!=&apos;&apos;) &amp;&amp; (Pos(&apos;Suggestions&apos;, mpFilePath)&gt;0) &amp;&amp; (Length(gsTextSearch)&gt;1)) {
    sText = gsTextSearch; if (gnSuggestNoUTFEnc==0) sText = HmsUtf8Encode(sText); // Если не указано не кодировать в UTF - кодируем
    sText = HmsHttpEncode(sText);
    // Если есть ключ &lt;TEXT&gt; в запросе - заменяем его на значение набранного текста, иначе просто добавляем в конец
    if (Pos(&apos;&lt;TEXT&gt;&apos;, gsSuggestQuery)&gt;0) gsSuggestQuery = ReplaceStr(gsSuggestQuery, &apos;&lt;TEXT&gt;&apos;, sText);
    else gsSuggestQuery = gsSuggestQuery + sText;
    HmsRegExMatch2(&apos;http://(.*?)(/.*)&apos;, gsSuggestQuery, sUrlServer, sRequestPage);
    if (gsSuggestMethod==&apos;POST&apos;) HmsRegExMatch2(&apos;^(.*?)\\?(.*)&apos;, sRequestPage, sRequestPage, sPostData);
    sHeaders = &apos;http://&apos;+sUrlServer+&apos;/\r\n&apos;+
               &apos;Accept-Encoding: gzip, deflate\r\n&apos;+
               &apos;User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0\r\n&apos;+
               &apos;Connection: Keep-Alive\r\n&apos;+
               &apos;Accept: application/json, text/javascript, *//*; q=0.01\r\n&apos;;    // Для включения возможности gzip в запросах
    sText = HmsSendRequestEx(sUrlServer, sRequestPage, gsSuggestMethod, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, sHeaders, sPostData, 80, 0, &apos;&apos;, true);
    sText = HmsUtf8Decode(sText);
    if (gsSuggestResultCut!=&apos;&apos;) HmsRegExMatch(gsSuggestResultCut, sText, sText);// Если есть выражение обрезки - обрезаем
    sText = HmsJsonDecode(sText); TRegExpr t = TRegExpr.Create(&apos;(&lt;[^&gt;]+&gt;)&apos;);    // Избавляемся от тегов в середине слов подсказки
    TRegExpr reSearch = TRegExpr.Create(gsSuggestRegExpr, PCRE_SINGLELINE);
    if (reSearch.Search(sText)) do {
      s = reSearch.Match;
      if (t.Search(s)) do s=ReplaceStr(s, t.Match, &apos;&apos;); while (t.SearchAgain());// (функция HmsHtmlToText не подходит т.к. ставит пробел в середине слова)
      if (HmsRegExMatch(&apos;^(.*?)[/\\(\\|]&apos;, s, sCh)) {                           // Обрезаем подсказку до знаков /, ( или |
        if (Pos(LowerCase(gsTextSearch), LowerCase(sCh))&gt;0) s = sCh;            // Если после этого в подсказке встречается набранный текст - то так и оставляем
      }
      if (LowerCase(s)==s) s = NameCase(s);                                     // Если подсказки - все маленькие буквы, делаем NameCase
      // Если в подсказке больше одного слова - дополнительно создаём сначала подсказки из слов, которые содержат набранный текст (выделяем слова отдельно)
      if (WordCount(s, &apos; &apos;)&gt;1) {
        nCnt = WordCount(s, &apos; &apos;);
        for (i=1; i&lt;=nCnt; i++) {
          sCh=ExtractWord(i, s, &apos; &apos;); if (Trim(sCh)==&apos;&apos;) continue;
          if (Pos(LowerCase(gsTextSearch), LowerCase(sCh))&lt;1) continue;
          if (LowerCase(gsTextSearch)==LowerCase(sCh)) continue;
          sCh = ReplaceStr(sCh, &apos;:&apos;, &apos;&apos;); sCh=ReplaceStr(sCh, &apos;\\&apos;, &apos;&apos;);
          CreateDynamicItem(FolderItem, gsSuggestMessage+sCh, &apos;-SetSearchText=&apos;+sCh);
        }
      }
      // Создаём папку с предложением варианта (подсказку)
      if (LowerCase(s)!=LowerCase(gsTextSearch)) CreateDynamicItem(FolderItem, gsSuggestMessage+s, &apos;-SetSearchText=&apos;+s);
      if (gnTotalItems&gt;100) break; // Ограничиваем количество создаваемых элементов = 100
    } while (reSearch.SearchAgain());
  }
  HmsIncSystemUpdateID(); // Говорим устройству об обновлении содержания
}
EndSearchScript*/
// ---------------------------------------------------------------------------------------
// Обработка названия
char NormalizeTitle(char sTitle, char sYear=&apos;&apos;, char sParentTitle=&apos;&apos;, char sParentParentTitle=&apos;&apos;) {
  char sValue1, sValue2, sValue3=&apos;&apos;; bool bDontAddYear=false, bDontShort=false; int i, n;
  sTitle = ReplaceStr(ReplaceStr(sTitle, &apos; /&gt;&apos;, &apos;&gt;&apos;), &apos;/&gt;&apos;, &apos;&gt;&apos;);
  sTitle = HmsHtmlToText(sTitle);
  if (HmsRegExMatch(&apos;(?:[Сс]ерия|[Сс]езон|[Вв]ыпуск)&apos;, sTitle, sValue1)) {
    bDontAddYear = true;
//    bDontShort   = true;
    HmsRegExMatch(&apos;^(.*?)[-/|\\(]&apos;, sTitle, sValue1);
    if (Pos(sValue1, sParentTitle+sParentParentTitle)&gt;0) {
      HmsRegExMatch(&apos;([Сс]ерия\\s+\\d+)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;(\\s+\\d+[Сс]ерия)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;([Вв]ыпуск\\s+\\d+)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;(\\s+\\d+[Вв]ыпуск)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;(\\d+\\s+[Сс]езон)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;([Сс]езон\\d+\\s+)&apos;, sTitle, sTitle);
    }
  }
  if (HmsRegExMatch(&apos;\\|(.*)&apos;, sTitle, sValue2)) {
    HmsRegExMatch(&apos;^(.*?)[-|\\(]&apos;, sTitle, sValue1);
    sTitle = sValue1 + &apos; - &apos; + sValue2;
  }
  sValue1 = WONKY307.Values[&apos;RemoveFromTitle&apos;];
  if (sValue1!=&apos;&apos;) {
    n = WordCount(sValue1, &apos;|&apos;);
    for (i=1; i&lt;=n; i++) {
      sValue2 = ExtractWord(i, sValue1, &apos;|&apos;);
      sTitle = ReplaceStr(sTitle, sValue2, &apos;&apos;);
    }
  }
  if (REMSERIEWORD==1) if (HmsRegExMatch (&apos;([Сс]ерия\\s)&apos;, sTitle, sValue1)) sTitle = ReplaceStr(sTitle, sValue1+&apos; &apos;, &apos;&apos;);
  if (HmsRegExMatch2(&apos;^(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Сс]ерия\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Серия &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Сс]езон\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Сезон &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Вв]ыпуск\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Выпуск &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  if      (TITLECASE==0) sTitle = sTitle; // Чтобы много раз потом непроверять, когда там 0
  else if (TITLECASE==1) sTitle = Uppercase(sTitle);
  else if (TITLECASE==2) sTitle = Uppercase(Copy(sTitle, 1, 1))+Lowercase(Copy(sTitle, 2, 999));
  else if (TITLECASE==3) sTitle = NameCase (sTitle);
  // Если есть указание добавлять год к названию фильма, то проверяем есть этот год и не есть ли он уже там
  if ((YEARINTITLE==1) &amp;&amp; !bDontAddYear) if ((Trim(sYear)!=&apos;&apos;) &amp;&amp; (Pos(sYear, sTitle)&lt;1)) sTitle += &apos; (&apos;+sYear+&apos;)&apos;;
  sTitle = ReplaceStr(sTitle, &apos;/&apos;, &apos;-&apos;);
  return sTitle;
}
// ---------------------------------------------------------------------------------------
// Контроль группировки и подготовка имени группы.
void ControlGrouping(char sTitle, char sYear, bool &amp;bGroupMode, int &amp;nCountInGRP, int &amp;nGroup, char &amp;sGroupName, int iChars=1) {
  char sName;
  nCountInGRP++;
    if ((GROUPMODE==0) &amp;&amp; bGroupMode) {
      // Группировка обычная, по максимальному количеству элементов в группе
      if (sGroupName == &apos;&apos;) sGroupName = Format(&apos;%.2d&apos;, [nGroup]);
      if (nCountInGRP&gt;MAXINGROUP) {nGroup++; nCountInGRP=1; sGroupName=Format(&apos;%.2d&apos;, [nGroup]);}
    } else if (GROUPMODE==1) {
      // Группировка по алфавиту - первым буквам названия
      sName = Uppercase(sTitle);
      // Пропускаем первые не алфавитные символы и не цифры
      if (!HmsRegExMatch(&apos;([0-9A-ZА-Я].*)&apos;, sName, sName))  sGroupName = &apos;#&apos;; // Если название вообще из не алфавитных
      else sGroupName = LeftCopy(sName, iChars);
      if (HmsRegExMatch(&apos;\\d&apos;,   sGroupName, sGroupName)) sGroupName = &apos;#&apos;;
      if (HmsRegExMatch(&apos;[A-Z]&apos;, sGroupName, sGroupName)) sGroupName = &apos;A..Z&apos;;
      bGroupMode = true;
    } else if (GROUPMODE==2) {
      // Группировка по алфавиту - первые буквы названия входят в группы А-Г, ...
      sName = Uppercase(sTitle);
      // Пропускаем первые не алфавитные символы и не цифры
      if (!HmsRegExMatch(&apos;([0-9A-ZА-Я].*)&apos;, sName, sName))  sGroupName = &apos;#&apos;; // Если название вообще из не алфавитных
      else sGroupName = LeftCopy(sName, 1);
      if      (HmsRegExMatch(&apos;\\d&apos;,   sGroupName, sGroupName)) sGroupName = &apos;#&apos;;
      else if (HmsRegExMatch(&apos;[A-Z]&apos;, sGroupName, sGroupName)) sGroupName = &apos;A..Z&apos;;
      else if (HmsRegExMatch(&apos;[А-Г]&apos;, sGroupName, sGroupName)) sGroupName = &apos;А..Г&apos;;
      else if (HmsRegExMatch(&apos;[Д-З]&apos;, sGroupName, sGroupName)) sGroupName = &apos;Д..З&apos;;
      else if (HmsRegExMatch(&apos;[И-Н]&apos;, sGroupName, sGroupName)) sGroupName = &apos;И..Н&apos;;
      else if (HmsRegExMatch(&apos;[О-С]&apos;, sGroupName, sGroupName)) sGroupName = &apos;О..С&apos;;
      else if (HmsRegExMatch(&apos;[Т-Х]&apos;, sGroupName, sGroupName)) sGroupName = &apos;Т..Х&apos;;
      else if (HmsRegExMatch(&apos;[Ц-Я]&apos;, sGroupName, sGroupName)) sGroupName = &apos;Ц..Я&apos;;
      bGroupMode = true;
    } else if (GROUPMODE==3) {
      // Группировка по годам (если указан)
      sGroupName = sYear;
      if (Trim(sGroupName)==&apos;&apos;) sGroupName = &apos;Год неуказан&apos;;
      bGroupMode = true;
    }
}
// ---------------------------------------------------------------------------------------
void LogMe(char sMsg) {
  char sText=&apos;&apos;;
  if (DBGFILE==&apos;&apos;) return;
  if (FileExists(DBGFILE)) sText = HmsStringFromFile(DBGFILE);
  HmsStringToFile(sText+Format(&apos;%s %s\n&apos;, [VarToStr(Now), sMsg]), DBGFILE);
}
// ---------------------------------------------------------------------------------------
// Получить дату в формате HMS.
char Date2HMSFormat(char sDateStr) {
  char s=&apos;&apos;, sYear, sMonth, sDay, sTime;
  char sStrMonth   =&apos;Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec&apos;;
  char sStrMonthRus=&apos;янв,фев,мар,апр,май,июн,июл,авг,сен,окт,ноя,дек&apos;;
  int n;
  if (HmsRegExMatch3(&apos;(\\d{4}).(\\d{2}).(\\d{2})&apos;, sDateStr, sYear, sMonth, sDay, PCRE_SINGLELINE)) {
    //&apos;2012-06-12T12:32:16.000Z&apos;;
    s = sDay+&apos;.&apos;+sMonth+&apos;.&apos;+sYear+&apos; &apos;+Copy(sDateStr,12, 5);
  } else if (HmsRegExMatch3(&apos;(\\d{2}).(\\w{3}).(\\d{4}).\\d{2}:\\d{2}&apos;, sDateStr, sDay, sMonth, sYear, PCRE_SINGLELINE)) {
    // &apos;Wed, 29 Oct 2008 14:14:48 +0000&apos;
    for (n=1; n&lt;=12; n++) {if ((ExtractWord(n, sStrMonth, &apos;,&apos;)==sMonth)||(ExtractWord(n, sStrMonthRus, &apos;,&apos;)==sMonth)) break;}
    sMonth = Format("%.2d", [n]);
    s = sDay+&apos;.&apos;+sMonth+&apos;.&apos;+sYear+&apos; &apos;+Copy(sDateStr,12, 5);
  } else if (HmsRegExMatch3(&apos;(\\d{2}).(\\w{3}).(\\d{4})&apos;, sDateStr, sDay, sMonth, sYear, PCRE_SINGLELINE)) {
    // &apos;23 янв 2008&apos;
    for (n=1; n&lt;=12; n++) {if ((ExtractWord(n, sStrMonth, &apos;,&apos;)==sMonth)||(ExtractWord(n, sStrMonthRus, &apos;,&apos;)==sMonth)) break;}
    sMonth = Format("%.2d", [n]);
    s = sDay+&apos;.&apos;+sMonth+&apos;.&apos;+sYear+&apos; &apos;+Copy(sDateStr,12, 5);
  }
  return s;
}
// ---------------------------------------------------------------------------------------
// Получить длительность в формате HMS.
char GetTimeLength(char sDura) {
  int nH, nM, nS, nSecs, nMins; char sH, sM, sS;
  if (Pos(&apos;:&apos;, sDura)&gt;0) {
    // Если там есть двоеточие, то думаем что там минуты:секунды или даже ещё и часы
    sDura=HmsHtmlToText(sDura);
    if (WordCount(sDura, &apos;:&apos;)==3) {
      HmsRegExMatch(&apos;(\\d*:\\d*:\\d\\d?)&apos;, sDura, sDura, 1, PCRE_SINGLELINE); // Убираем левые символы (не цифры). Бывает такое.
      nH = StrToIntDef(ExtractWord(1, sDura, &apos;:&apos;), 0);
      nM = StrToIntDef(ExtractWord(2, sDura, &apos;:&apos;), 0);
      nS = StrToIntDef(ExtractWord(3, sDura, &apos;:&apos;), 0);
    } else if (WordCount(sDura, &apos;:&apos;)==2) {
      HmsRegExMatch(&apos;(\\d*:\\d\\d?)&apos;, sDura, sDura, 1, PCRE_SINGLELINE);
      nM = StrToIntDef(ExtractWord(1, sDura, &apos;:&apos;), 0);
      nS = StrToIntDef(ExtractWord(2, sDura, &apos;:&apos;), 0);
      nH = Trunc(nM/60);
      nM = nM-(nH*60);
    } else return sDura;
  } else if ((Pos(&apos;мин&apos;, sDura)&gt;0)||(Pos(&apos;min&apos;, sDura)&gt;0)) {
    HmsRegExMatch(&apos;([\\d]+)&apos;, sDura, sDura);
    nMins = StrToIntDef(sDura, 0);
    nH = Trunc(nMins/60);
    nM = nMins-(nH*60);
    nS = 0;
  } else if (HmsRegExMatch2(&apos;(\\d+)m(\\d+)s&apos;, sDura, sM, sS)) {
      nM = StrToIntDef(sM, 0);
      nS = StrToIntDef(sS, 0);
      nH = Trunc(nM/60);
      nM = nM-(nH*60);
  } else {
    // Иначе будем думать, что в переданном параметре - количество секунд.
    HmsRegExMatch(&apos;([\\d]+)&apos;, sDura, sDura); // Убираем левые символы (не цифры)
    nSecs = StrToIntDef(sDura, 0);
    nH = Trunc(nSecs/60/60);
    nM = Trunc(nSecs/60)-(nH*60);
    nS = nSecs-(nM*60)-(nH*60*60);
  }
  return format("%.2d:%.2d:%.2d.000", [nH, nM, nS]);
}
// ---------------------------------------------------------------------------------------
// Найти в тексте информацию медиаресурса (название, ссылка, эскиз и т.д.) и запомнить в объекте TStrings ItemInfo
// (3-я из 4-х главных функций)
TStrings FindAndFillInfo(char sText, TStrings WONKYBLK, Variant prntItem, bool bAdd=false) {
  char sValue, sParamName, sRegExpr, sY, sM, sD, s; int i, nParamId, n, nExcludes;
  TStrings WONKYOBJECT, ItemInfo = TStringList.Create();
  for (i=0; i&lt;WONKYBLK.Count; i++) {
    sParamName = WONKYBLK.Names[i]; sValue = &apos;&apos;;
    if (sParamName==&apos;&apos;) {
      sParamName = WONKYBLK.Strings(i);
      if (GetWonkyObject(WONKYBLK, sParamName, WONKYOBJECT, ItemInfo)) {
        if (LeftCopy(sParamName, 7)==&apos;Exclude&apos;) {ItemInfo.Clear(); return ItemInfo;}
      }
      continue;
    } else {
      sRegExpr = WONKYBLK.Values[sParamName];
    }
    if (sRegExpr==&apos;&apos;) continue;
    s = LeftCopy(sParamName, 7);
    if (s==&apos;Exclude&apos;) {
      if (HmsRegExMatch(sRegExpr, sText, sValue, 1, PCRE_SINGLELINE)) {ItemInfo.Clear(); return ItemInfo;}
    } else if (s==&apos;TitlCut&apos;) {
      if (HmsRegExMatch(sRegExpr, ItemInfo.Values[&apos;mpiTitle&apos;], sValue, 1, PCRE_SINGLELINE)) {
        ItemInfo.Values[&apos;mpiTitle&apos;] = ReplaceStr(ItemInfo.Values[&apos;mpiTitle&apos;], sValue, &apos;&apos;);
      }
    }
    nParamId = GetIdByParamName(sParamName); if (nParamId==0 ) continue;
    if      (sRegExpr == &apos;inherit&apos;) sValue = prntItem[nParamId];
    else if (Pos(&apos;(&apos;, sRegExpr)&lt;=0) sValue = sRegExpr;
    else if (!HmsRegExMatch(sRegExpr, sText, sValue, 1, PCRE_SINGLELINE)) {
      n=2; sRegExpr = WONKYBLK.Values[sParamName+IntToStr(n)];
      while (sRegExpr!=&apos;&apos;) {
        if (sRegExpr == &apos;inherit&apos;) {sValue = prntItem[nParamId]; break;}
        else if (Pos(&apos;(&apos;, sRegExpr)&lt;=0) {sValue = sRegExpr; break;}
        else if (!HmsRegExMatch(sRegExpr, sText, sValue, 1, PCRE_SINGLELINE)) {
          n++; sRegExpr = WONKYBLK.Values[sParamName+IntToStr(n)];
        } else sRegExpr = &apos;&apos;;
      }
    }
    if (sValue == &apos;&apos;) continue;
    if ((nParamId==mpiThumbnail)||(nParamId==mpiFilePath)) { // Если это ссылки
      // Если это ссылки, то проверяем некоторые случаи (добавляем к неполным ссылкам UrlBase)
      HmsRegExMatch(&apos;src=["\&apos;](.*?)["\&apos;]&apos;,  sValue, sValue, 1, PCRE_SINGLELINE);
      HmsRegExMatch(&apos;href=["\&apos;](.*?)["\&apos;]&apos;, sValue, sValue, 1, PCRE_SINGLELINE);
      sValue = CompleteLink(sValue);
      // Если в ссылках встречаются русские символы - делаем их безопасными
      if (HmsRegExMatch(&apos;^.*?([а-яА-Я].*)&apos;, sValue, s, 1, PCRE_SINGLELINE)) sValue = ReplaceStr(sValue, s, HmsHttpEncode(HmsUtf8Encode(s)));
    }
    sValue = Trim(ReplaceStr(HmsHtmlToText(sValue), #160, &apos; &apos;)); // Заменяем пробел &amp;nbsp; на обычный
    if (Pos(&apos;&lt;/&apos;, sValue)&gt;0) sValue=HmsHtmlToText(sValue);
    sValue = ReplaceStr(sValue, &apos;\r\n&apos;, &apos;. &apos;);
    if (CheckWonkyParam(WONKYBLK, &apos;ToUTF8&apos;)) sValue=HmsHtmlToText(sValue, 65001);
    if      ( nParamId==mpiCreateDate) sValue=Date2HMSFormat(sValue);
    else if ( nParamId==mpiTimeLength) sValue=GetTimeLength (sValue);
    else if ( nParamId==mpiYear ) HmsRegExMatch(&apos;([\\d]{4})&apos;, sValue, sValue, 1, PCRE_SINGLELINE); // Только цифры, ничего лишнего
    ItemInfo.Values[sParamName] = sValue;
  }
  if (ItemInfo.Values[&apos;mpiCreateDate&apos;]==&apos;&apos;)  ItemInfo.Values[&apos;mpiCreateDate&apos;] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0));
  if (WONKYBLK.IndexOfName(&apos;SetParams&apos;)&gt;=0) ItemInfo.Values[&apos;mpiPodcastParameters&apos;]+= WONKYBLK.Values[&apos;SetParams&apos;];
  if (ItemInfo.Values[&apos;mpiTimeLength&apos;]==&apos;&apos;)  ItemInfo.Values[&apos;mpiTimeLength&apos;] = &apos;01:40:00.000&apos;;
  if (ItemInfo.Values[&apos;mpiTitle&apos;]!=&apos;&apos;) ItemInfo.Values[&apos;mpiTitle&apos;] = NormalizeTitle(ItemInfo.Values[&apos;mpiTitle&apos;], ItemInfo.Values[&apos;mpiYear&apos;]);
  if (ItemInfo.Values[&apos;mpiFilePath&apos;]  ==&apos;&apos;)  ItemInfo.Values[&apos;mpiFilePath&apos;]   = ItemInfo.Values[&apos;mpiTitle&apos;];
  if (Trim(prntItem[500])!=&apos;&apos;) {
    ItemInfo.Values[&apos;id200&apos;] = prntItem[200]; // mpiFolderType
    ItemInfo.Values[&apos;id500&apos;] = prntItem[500]; // mpiDynamicScript
    ItemInfo.Values[&apos;id501&apos;] = prntItem[501]; // mpiDynamicSyntaxType
    ItemInfo.Values[&apos;id39000&apos;] = prntItem[39000]; // Cookies
  }
  if (!bAdd &amp;&amp; (ItemInfo.Values[&apos;mpiTitle&apos;]==&apos;&apos;)) ItemInfo.Clear();
  return ItemInfo;
}

// -------------- Проверка и приведение, если нужно, ссылки к полному виду ----
char CompleteLink(char sLink) {
  if (LeftCopy(sLink, 4)!=&apos;http&apos;) {
    if      (LeftCopy(sLink, 2)==&apos;//&apos;) sLink = &apos;http:&apos; + Trim(sLink);
    else if (LeftCopy(sLink, 1)!=&apos;/&apos; ) sLink = gsUrlBase + &apos;/&apos; + Trim(sLink);
    else sLink = gsUrlBase + Trim(sLink);
  }
  return sLink;
}
// ---------------------------------------------------------------------------------------
// Перекидывание информации из блока-хранилища TStrings в элемент подкаста
void StoreInfoToPodcast(TStrings ItemInfo, THmsScriptMediaItem Item) {
  int i, nPropId; char sPropName;
  if (ItemInfo.Count&lt;1) return;
  for (i=0; i&lt;ItemInfo.Count; i++) {
    sPropName = ItemInfo.Names[i];
    nPropId   = GetIdByParamName(sPropName);
    if ((FolderItem==Item) &amp;&amp; (nPropId==mpiCreateDate)) continue;
    Item[nPropId] = ItemInfo.Values[sPropName];
  }
}
// ---------------------------------------------------------------------------------------
THmsScriptMediaItem CreateInFolder(TStrings WONKYBLK, THmsScriptMediaItem PrntFolder, TStrings ItemInfo) {
  THmsScriptMediaItem NewFolder = PrntFolder; int i; Variant WONKYOBJECT, WOBJECT; string sName; 
  if (GetWonkyObject(WONKYBLK, &apos;Folders&apos;, WONKYOBJECT, PrntFolder)) {
    for (i=0; i&lt;WONKYOBJECT.Count; i++) {
      WOBJECT = WONKYOBJECT.Objects[i]; if (WOBJECT==nil) continue;
      if (!CheckObjectCondition(WOBJECT, ItemInfo)) continue;
      sName = WOBJECT.Values[&apos;mpiTitle&apos;];
      NewFolder = PrntFolder.AddFolder(sName);
      break;
    }
  }
  return NewFolder;
}
// ---------------------------------------------------------------------------------------
// Поиск в тексте блоков с информацией о видео (2-я из 4-х главных функций)
void ProcessFindItems(char sText, TStrings WONKYBLK_IN, THmsScriptMediaItem ParentItem) {
  int n, i, nIndxBlk, nItems, nItemsTotal, nGroup=0, nCountInGRP=0, nParamId, nOldSHOWPRGRS, nItemsAdded=0, nVal;
  bool bGroupMode=false, bForceFolder; char sGroupName=&apos;&apos;, sHtmlBlock, sValue;
  int GROUPMODE_OLD; TStrings ItemInfo; Variant WONKYOBJECT, WONKYBLK = WONKYBLK_IN;
  THmsScriptMediaItem Item, ItemCh, ItemFolder, ItemOrigFolder;
  // Если информации для поиска нет вообще или неустановлен параметр SearchBlock - то нам тут и работы нет
  if ((WONKYBLK.Count&lt;1)||(WONKYBLK.Values[&apos;SearchBlock&apos;]==&apos;&apos;)) return;
  sValue = WONKYBLK.Values[&apos;UrlBase&apos;  ]; if (sValue!=&apos;&apos;) gsUrlBase = ReplaceWonkyVars(sValue);
  sValue = WONKYBLK.Values[&apos;CutBlock&apos; ]; if (sValue!=&apos;&apos;) HmsRegExMatch(sValue, sText, sText, 1, PCRE_SINGLELINE);
  sValue = WONKYBLK.Values[&apos;TitleCase&apos;]; if (sValue!=&apos;&apos;) {
    if (sValue == &apos;upper&apos;) TITLECASE = 1;
    if (sValue == &apos;first&apos;) TITLECASE = 2;
    if (sValue == &apos;name&apos; ) TITLECASE = 3;
    if (sValue == &apos;none&apos; ) TITLECASE = 0;
  }
  // Определяем количество элементов
  nItemsTotal = GetCountOf(sText, WONKYBLK.Values[&apos;SearchBlock&apos;]);
  LogMe(&apos;ProcessFindItems: nItemsTotal=&apos;+IntToStr(nItemsTotal)+&apos;; SearchBlock=&apos;+WONKYBLK.Values[&apos;SearchBlock&apos;]);
  if (nItemsTotal&lt;1) return;
  // Если родительский элемент не является папкой - делаем из неё таковую
  if (!ParentItem.IsFolder) {
    if (WONKYBLK.IndexOfName(&apos;ForceFolder&apos;)&gt;=0) bForceFolder=CheckWonkyParam(WONKYBLK, &apos;ForceFolder&apos;);
    else bForceFolder = (ParentItem[mpiFilePath]==ParentItem[mpiTitle]);
    ItemFolder = ParentItem.ItemParent.AddFolder(ParentItem[mpiFilePath]+&apos;_f&apos;, bForceFolder);
    for (i=0; i&lt;Length(gaProps4Copy); i++) {n = gaProps4Copy[i]; ItemFolder[n] = ParentItem[n];}
    ParentItem.Delete();
  } else ItemFolder = ParentItem;
  // Если элементов больше MAXINGROUP, включаем группировку
  MAXINGROUP = StrToIntDef(WONKYBLK.Values[&apos;MaxInGroup&apos;], MAXINGROUP);
  bGroupMode = (nItemsTotal&gt;MAXINGROUP);
  ItemOrigFolder = ItemFolder;
  // Подготовка к запуску поискового модуля TRegExpr - вставляем запрограммированный поисковой блок
  TRegExpr reSearch = TRegExpr.Create(WONKYBLK.Values[&apos;SearchBlock&apos;], PCRE_SINGLELINE);
  if (reSearch.Search(sText)) do {
    // Нашли в тексте блок с информацией о видео
    sValue = WONKYBLK.Values[&apos;SkipIf&apos;];
    if (sValue!=&apos;&apos;) if (HmsRegExMatch(sValue, reSearch.Match, sValue, 1, PCRE_SINGLELINE)) continue;
    sValue = WONKYBLK.Values[&apos;SkipNotIf&apos;];
    if (sValue!=&apos;&apos;) if (!HmsRegExMatch(sValue, reSearch.Match, sValue, 1, PCRE_SINGLELINE)) continue;
    nItems++; gnTotalItems++;
    ItemFolder = ItemOrigFolder;
    WONKYBLK = WONKYBLK_IN;
    if (HmsCancelPressed()) RaiseException(&apos;Прервано.&apos;);
    if (SHOWPROGRESS==1) HmsSetProgress(Trunc(nItems*100/nItemsTotal));
    VARS.Values[&apos;&lt;TEXTITEM&gt;&apos;] = reSearch.Match;
    // Поиск информации о найденном видео
    if (GetWonkyObject(WONKYBLK, &apos;ConditionBlocks&apos;, WONKYOBJECT, ItemFolder)) WONKYBLK = WONKYOBJECT;
    ItemInfo = FindAndFillInfo(reSearch.Match, WONKYBLK, ItemFolder);
    if (ItemInfo.Count==0) continue;
    ControlGrouping(ItemInfo.Values[&apos;mpiTitle&apos;], ItemInfo.Values[&apos;mpiYear&apos;], bGroupMode, nCountInGRP, nGroup, sGroupName);
    if (NUMBERING==1) {
      if (nItemsTotal&gt;99) ItemInfo.Values[&apos;mpiTitle&apos;] = Format(&apos;%.3d. %s&apos;, [nCountInGRP, ItemInfo.Values[&apos;mpiTitle&apos;]]);
      else ItemInfo.Values[&apos;mpiTitle&apos;] = Format(&apos;%.2d. %s&apos;, [nCountInGRP, ItemInfo.Values[&apos;mpiTitle&apos;]]);
    }
    // add in 307.40
    if (GetWonkyObject(WONKYBLK, &apos;CreateInFolders&apos;, WONKYOBJECT, ItemInfo)) ItemFolder = CreateInFolder(WONKYOBJECT, ItemFolder, ItemInfo);
    if (W_MODE==1) {
      if (GetWonkyObject(WONKYBLK, &apos;ForceFolder&apos;, WONKYOBJECT, ItemFolder)) bForceFolder = true;
      else bForceFolder = (ItemInfo.Values[&apos;mpiFilePath&apos;]==ItemInfo.Values[&apos;mpiTitle&apos;]);
      if (CheckWonkyParam(WONKYBLK, &apos;ForcePodcast&apos;)) bForceFolder=false;
      Item = ItemFolder.AddFolder(ItemInfo.Values[&apos;mpiFilePath&apos;], bForceFolder);
      sValue = WONKYBLK.Values[&apos;NumPages&apos;]; if (sValue!=&apos;&apos;) {
        sHtmlBlock = LoadURL(ItemInfo.Values[&apos;mpiFilePath&apos;]);
        if (HmsRegExMatch(sValue, sHtmlBlock, sValue, 1, PCRE_SINGLELINE)) ItemInfo.Values[&apos;mpiPodcastParameters&apos;]+= &apos; --pages=&apos;+Trim(sValue);
      }
    } else {
      if ((ITEMASFOLDER&gt;0) &amp;&amp; ((ITEMASFOLDER==1) || GetWonkyObject(WONKYBLK, &apos;ForceFolder&apos;, WONKYOBJECT, ItemFolder) || CheckWonkyParam(WONKYBLK, &apos;ForceFolder&apos;))) {
        if (Trim(ItemFolder[500])!=&apos;&apos;) i = 32; else i = -1;
        if (sGroupName != &apos;&apos;) Item = ItemFolder.AddFolder(sGroupName+&apos;\\&apos;+ItemInfo.Values[&apos;mpiFilePath&apos;], true, i);
        else                  Item = ItemFolder.AddFolder(ItemInfo.Values[&apos;mpiFilePath&apos;], true, i);
      } else {
        if (sGroupName != &apos;&apos;) {
          Item = ItemFolder.AddFolder(sGroupName, false);
          if (Trim(Item[mpiCreateDate])==&apos;&apos;) Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0));
          Item = HmsCreateMediaItem(ItemInfo.Values[&apos;mpiFilePath&apos;], Item.ItemID);
        } else {
          Item = HmsCreateMediaItem(ItemInfo.Values[&apos;mpiFilePath&apos;], ItemFolder.ItemID);
        }
      }
    }
    StoreInfoToPodcast(ItemInfo, Item); // И заполняем найденной информацией
    if (COLLECTING==1) CollectTheItem(Item, bGroupMode, nCountInGRP, nGroup, sGroupName);
    //if        (GROUPMODE==0) Item.ItemParent[mpiFolderSortOrder] = -mpiCreateDate;
    if      ( (GROUPMODE==1) || (GROUPMODE==2) ) {
      Item.ItemParent.ItemParent[mpiFolderSortOrder] = mpiTitle;
      Item.ItemParent[mpiFolderSortOrder] = mpiTitle;
    } else if (GROUPMODE==3) {
      Item.ItemParent.ItemParent[mpiFolderSortOrder] = -mpiTitle;
      Item.ItemParent[mpiFolderSortOrder] = mpiTitle;
    }
    VARS.Values[&apos;&lt;FILEPATH&gt;&apos;]     = Item[mpiFilePath];
    VARS.Values[&apos;&lt;TITLE&gt;&apos;]        = Item[mpiTitle];
    VARS.Values[&apos;&lt;TITLE4SEARCH&gt;&apos;] = GetTitle4Search(Item);
    if (Trim(Item[mpiThumbnail])==&apos;&apos;) Item[mpiThumbnail] = Item.ItemParent[mpiThumbnail];
    nItemsAdded++;
    sValue = WONKYBLK.Values[&apos;TitleFormat&apos;]; if (sValue != &apos;&apos;) Item[mpiTitle] = Format(sValue, [nItemsAdded, Item[mpiTitle]]);
    nVal = StrToIntDef(WONKYBLK.Values[&apos;LimitItems&apos;], 0);
    if ((nVal&gt;0) &amp;&amp; (nItemsAdded&gt;=nVal)) break;
    GetWonkyObject(WONKYBLK, &apos;GetVars&apos;, WONKYOBJECT, Item);
    if (GetWonkyObject(WONKYBLK, &apos;ChangeValues&apos;, WONKYOBJECT, Item)) WonkyChangeValues(WONKYOBJECT, Item);
    nOldSHOWPRGRS = SHOWPROGRESS; SHOWPROGRESS = 0; // Запоминаем флаг и в более глубоких циклах не показываем
    // Если есть ссылка и команда на разрешение заглядывать внутрь по ссылке - загружаем
    if ((LOADFROMLINKS==1)&amp;&amp;(GetWonkyObject(WONKYBLK, &apos;LoadLink&apos;, WONKYOBJECT, ParentItem))) {
      GROUPMODE_OLD = GROUPMODE; GROUPMODE = 0;
      if ((WONKYOBJECT!=0) &amp;&amp; (LeftCopy(Item[mpiFilePath], 4)==&apos;http&apos;)) LoadPages(WONKYOBJECT, Item); // Если есть инструкции загружать - загружаем
      GROUPMODE = GROUPMODE_OLD;
    }
    // Проверяем, установлен ли блок поиска подчинённых элементов
    if (GetWonkyObject(WONKYBLK, &apos;SearchItems&apos;, WONKYOBJECT, ParentItem)) {
      GROUPMODE_OLD = GROUPMODE; GROUPMODE = 0;
      ProcessFindItems(reSearch.Match, WONKYOBJECT, Item);
      GROUPMODE = GROUPMODE_OLD;
    }
    SHOWPROGRESS = nOldSHOWPRGRS; // Воссстанавливаем значение флага показа прогресса выполнения
    if (WONKYBLK.IndexOfName(&apos;DeleteIfEmpty&apos;)&gt;=0) if (!Item.HasChildItems()) Item.Delete();
  } while (reSearch.SearchAgain());
  reSearch.Free();
  return;
}
// ---------------------------------------------------------------------------------------
// Присвоение нового значения полю (если указано условие, то с его проверкой)
void WonkyChangeValues(TStrings WONKYOBJECT, THmsScriptMediaItem ParentItem) {
  int n, i, nParamId; char sOldName, sValue, sField; Variant SUBBLOCK;
  VARS.Values[&apos;&lt;FILEPATH&gt;&apos;] = ParentItem[mpiFilePath];
  VARS.Values[&apos;&lt;TITLE&gt;&apos;]    = ParentItem[mpiTitle];
  for (n=0; n&lt;WONKYOBJECT.Count; n++) {
    SUBBLOCK = WONKYOBJECT.Objects(n); if (SUBBLOCK==0) continue;
    if (!CheckObjectCondition(SUBBLOCK, ParentItem)) continue;
    for (i=0; i&lt;SUBBLOCK.Count; i++) {
      sField = SUBBLOCK.Names[i]; if (sField==&apos;&apos;) continue;
      sValue = SUBBLOCK.Values[sField];
      if (Pos(&apos;&lt;&apos;, sValue)&gt;0) sValue = ReplaceWonkyVars(sValue);
      if (HmsRegExMatch(&apos;^[A-Z]+$&apos;, sField, sField, 0, 2)) {VARS.Values[&apos;&lt;&apos;+sField+&apos;&gt;&apos;]=sValue; continue;}
      nParamId = GetIdByParamName(sField); if (nParamId==0) continue;
      if (nParamId==mpiFilePath) sOldName = ParentItem[mpiTitle]; // Смена ссылки может изменить имя
      ParentItem[nParamId] = sValue;
      if (nParamId==mpiFilePath) ParentItem[mpiTitle] = sOldName; // Приходиться восстанавливать его
    }
    LogMe(&apos;Сработало ChangeValues: &apos;+sField+&apos;=&apos;+sValue);
  }
}
// ---------------------------------------------------------------------------------------
// Обработка блока AfterLoad после загрузки страницы
void AfterLoadPageBlock(char sText, TStrings WONKYBLK, THmsScriptMediaItem ParentItem) {
  Variant WONKYOBJECT, SUBBLOCK;
  GetWonkyObject(WONKYBLK, &apos;GetVars&apos;, WONKYOBJECT, ParentItem);
  if (GetWonkyObject(WONKYBLK, &apos;ChangeValues&apos;, WONKYOBJECT, ParentItem)) WonkyChangeValues(WONKYOBJECT, ParentItem);
  if (GetWonkyObject(WONKYBLK, &apos;LoginRequest&apos;, WONKYOBJECT, ParentItem)) LoginRequest(WONKYOBJECT, ParentItem);
  if (GetWonkyObject(WONKYBLK, &apos;CreateItems&apos;,  WONKYOBJECT, ParentItem)) CreateItems(WONKYOBJECT, ParentItem);
}
// ---------------------------------------------------------------------------------------
// Подсчёт количества блоков в тексте
int GetCountOf(char sText, char substring) {
  int n=0; TRegExpr re = TRegExpr.Create(substring, PCRE_SINGLELINE);
  if ((trim(sText)==&apos;&apos;)||(trim(substring)==&apos;&apos;)||(trim(substring)==&apos;(.*?)&apos;)) return 0;
  if (re.Search(sText)) do n++; while (re.SearchAgain);
  re.Free; return n;
}
// ---------------------------------------------------------------------------------------
// Проверка логического параметра робота
bool CheckWonkyParam(TStrings WONKYOBJECT, char sParamName) {
  char s = Uppercase(LeftCopy(Trim(WONKYOBJECT.Values[sParamName]), 1));
  return ((s==&apos;Y&apos;)||(s==&apos;1&apos;));
}
// ---------------------------------------------------------------------------------------
// Заменяет шаблоны переменных типа &lt;TITLE&gt;, &lt;FILEPATH&gt; и всех других на их значения
char ReplaceWonkyVars(char sData) {
  char sVarName, sVarValue;
  for (int i=0; i&lt;VARS.Count; i++) {
    sVarName  = VARS.Names[i];
    sVarValue = VARS.Values[sVarName];
    if (Pos(sVarName, sData)&gt;0) sData = ReplaceStr(sData, sVarName, sVarValue);
  }
  return sData;
}
// ---------------------------------------------------------------------------------------
// Получить строку
char GetValueFromIdsWithFormats(Variant ParentItem, char Ids, char sFormat=&apos;&apos;) {
  Variant aVals = [&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;,&apos;&apos;]; int i, n, nParamId; char sField, sValue=&apos;&apos;;
  n = WordCount(Ids, &apos;,&apos;);
  if (n &gt; Length(aVals)) n = Length(aVals);
  if (sFormat==&apos;&apos;) n = 1;
  for (i=0; i&lt;n; i++) {
    sValue = Trim(ExtractWord(i+1, Ids, &apos;,&apos;));
    nParamId = GetIdByParamName(sValue); if (nParamId!=0) sValue = ParentItem.Values[sValue];
    aVals[i] = sValue;
  }
  if (sFormat!=&apos;&apos;) if ((aVals[0]+aVals[1])==&apos;&apos;) sValue=&apos;&apos;; else sValue=Format(sFormat, aVals);
  return sValue;
}
// ---------------------------------------------------------------------------------------
// Проверить наличие условий и выполняются ли они
bool CheckObjectCondition(Variant WONKYOBJECT, Variant ParentItem) {
  char sField, sFCond, sValue=&apos;&apos;, sText; int nParamId; bool bNegative, bFound;
  sFCond = WONKYOBJECT.Values[&apos;IfKey&apos;];
  if (sFCond!=&apos;&apos;) if (Pos(sFCond, mpPodcastParameters)&lt;1) return false;
  sField = WONKYOBJECT.Values[&apos;ConditionField&apos;];
  sFCond = WONKYOBJECT.Values[&apos;ConditionExp&apos;  ];
  if ((sField==&apos;&apos;)||(sFCond==&apos;&apos;)) return true;
  bNegative = CheckWonkyParam(WONKYOBJECT, &apos;Negative&apos;);
  if (HmsRegExMatch(&apos;^&lt;\\w+&gt;$&apos;, sField, &apos;&apos;)) {
    sText = VARS.Values[sField];
  } else if (ParentItem.ClassName == &apos;TStringList&apos;) {
    sText = ParentItem.Values[sField];
  } else {
    nParamId = GetIdByParamName(sField); if (nParamId==0) return true;
    sText = ParentItem[nParamId];
  }
  bFound = HmsRegExMatch(sFCond, sText, sValue, 1, PCRE_SINGLELINE) ^ bNegative;
  if (bFound) {
    if (sValue == &apos;&apos;) sValue = sFCond;
    if (DBGFILE!= &apos;&apos;) LogMe(&apos;CONDITION: &apos;+sField+&apos; : &apos;+sFCond+&apos;\n&lt;CONDVAL&gt;=&apos;+LeftCopy(sValue, 100));
    VARS.Values[&apos;&lt;CONDVAL&gt;&apos;] = sValue;
  }
  return bFound;
}
// ---------------------------------------------------------------------------------------
// Проверить на наличие объекта с именем sObjName. Если есть, то WONKYOBJECT будет содержать ссылку на него.
// (4-я из 4-х главных функций)
bool GetWonkyObject(TStrings WONKYBLK, char sObjName, Variant &amp;WONKYOBJECT, Variant ParentItem) {
  Variant SUBOBJECT; int n, nParamId; bool bFound=false, bNeg=false;
  char sParamName, sValue, sField, sFCond, sVarName, sWhere, sRESearch, sWhereText;
  if (sObjName==&apos;Condition&apos;) bFound=true;
  int nIndxBlk = WONKYBLK.IndexOf(sObjName); if (nIndxBlk&lt;0)     return bFound;
  WONKYOBJECT  = WONKYBLK.Objects[nIndxBlk]; if (WONKYOBJECT==0) return bFound;
  if (!CheckObjectCondition(WONKYOBJECT, ParentItem)) return false;
  if (!GetWonkyObject(WONKYOBJECT, &apos;Condition&apos;, SUBOBJECT, ParentItem)) return false;
  // Проверим на некоторые объекты для дополнительных действий
  if (sObjName==&apos;Headers&apos;) {
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      sParamName = WONKYOBJECT.Names[n]; // sParamName может быть User-Agent, Accept-Charset, Referer...
      if (HmsRegExMatch(sParamName+&apos;: (.*?)\n&apos;, gsHeaders, sValue, 1, 4))
        gsHeaders = ReplaceStr(gsHeaders, sValue, WONKYOBJECT.Values[sParamName]);
      else
        gsHeaders+= sParamName+&apos;: &apos;+WONKYOBJECT.Values[sParamName]+#10#13;
    }
    n = 0;
  } else if (sObjName==&apos;ConditionBlocks&apos;) {
    bFound = false;
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      SUBOBJECT = WONKYOBJECT.Objects[n]; if (SUBOBJECT==0) continue;
      if (!GetWonkyObject(SUBOBJECT, &apos;Condition&apos;, SUBOBJECT, ParentItem)) continue;
      WONKYOBJECT = SUBOBJECT; bFound = true; break;
    }
    return bFound;
  } else if (LeftCopy(sObjName, 6)==&apos;Format&apos; ) {
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      sField   = WONKYOBJECT.Names[n];     if (sField ==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sField); if (nParamId==0) continue;
      sValue   = WONKYOBJECT.Values[sField];
      if (HmsRegExMatch2(&apos;[\&apos;](.*?)[\&apos;].*\\[(.*?)\\]&apos;, sValue, sFCond, sValue, PCRE_SINGLELINE)) {
        sValue = GetValueFromIdsWithFormats(ParentItem, sValue, sFCond);
      }
      if (sValue!=&apos;&apos;) {
        if (ParentItem.ClassName == &apos;TStringList&apos;) ParentItem.Values[sField] = sValue;
        else ParentItem[nParamId] = sValue;
      }
    }
    return true;
  } else if (LeftCopy(sObjName, 8)==&apos;AddParam&apos; ) {
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      sField   = WONKYOBJECT.Names[n];     if (sField ==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sField); if (nParamId==0) continue;
      sValue   = WONKYOBJECT.Values[sField];
      if (HmsRegExMatch2(&apos;Format\\([\&apos;](.*?)[\&apos;].*?\\[(.*?)\\]&apos;, sValue, sFCond, sValue, PCRE_SINGLELINE)) {
        sValue = GetValueFromIdsWithFormats(ParentItem, sValue, sFCond);
      }
      if (ParentItem.ClassName == &apos;TStringList&apos;) {
        ParentItem.Values[sField] += &apos; &apos; + sValue;
      } else {
        ParentItem[nParamId]      += &apos; &apos; + sValue;
      }
    }
    return true;
  } else if (sObjName==&apos;ConditionBlocks&apos;) {
    bFound = false;
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      SUBOBJECT = WONKYOBJECT.Objects[n]; if (SUBOBJECT==0) continue;
      if (!GetWonkyObject(SUBOBJECT, &apos;Condition&apos;, SUBOBJECT, ParentItem)) continue;
      WONKYOBJECT = SUBOBJECT; bFound = true; break;
    }
    return bFound;
  } else if (sObjName==&apos;GetVars&apos;) {
    // Блок получения значения переменных по заданным правилам
    for (n=0; n&lt;WONKYOBJECT.Count; n++) {
      SUBOBJECT = WONKYOBJECT.Objects[n]; if (SUBOBJECT==0) continue;
      sVarName  = SUBOBJECT.Values(&apos;VarName&apos;);
      sWhere    = SUBOBJECT.Values(&apos;Where&apos;);
      sRESearch = SUBOBJECT.Values(&apos;RESearch&apos;);
      if (HmsRegExMatch(&apos;^&lt;\\w+&gt;$&apos;, sWhere, sValue)) sWhereText=VARS.Values[sWhere];
      else {
        nParamId = GetIdByParamName(sWhere); if (nParamId==0) continue;
        if (ParentItem.ClassName == &apos;TStringList&apos;) {
          sWhereText = ParentItem.Values[sField];
        } else {
          sWhereText = ParentItem[nParamId];
        }
      }
      sValue = &apos;&apos;;
      HmsRegExMatch(sRESearch, sWhereText, sValue, 1, PCRE_SINGLELINE);
      VARS.Values[sVarName] = sValue;
      LogMe(&apos;GetVars: &apos;+sVarName+&apos;=&apos;+sValue);
    }
  }
  return true;
}
// ---------------------------------------------------------------------------------------
// Получить из строкового в числовое значение параметра медиаресурса
int GetIdByParamName(char sParamName) {
  char sValue;
  if (HmsRegExMatch(&apos;^id(\\d+)&apos;, sParamName, sValue)) return StrToInt(sValue);
  return StrToIntDef(Evaluate(sParamName), 0);
}
// ---------------------------------------------------------------------------------------
// Yaml parser. Загружает конфиг в TStrings. 80 строк непонятного кода, дающие удобство.
Variant whYamlParser(char sFunc, TStrings &amp;oRESULT, Variant Param = &apos;&apos;) {
  int i, n, nRows, nRows2, nIdent, nIndxObj; char sLine, sValue; Variant oPath, CurObject = oRESULT;
  char sNextLine, sChar, sKey; bool bExistChild, bContinue;
  // Проверка имени вызываемой функции нашего "какбуд-то класса"
  if (sFunc==&apos;LoadFromString&apos;) {
    nIndxObj = oRESULT.AddObject(&apos;_YAMLPath&apos;, TStringList.Create());
    oPath    = oRESULT.Objects(nIndxObj);
    nRows = WordCount(Param, &apos;\n&apos;);
    for (i=1; i&lt;=nRows; i++) {
      sLine  = ExtractWord(i, Param, &apos;\n&apos;);
      nIdent = Length(sLine) - Length(TrimLeft(sLine));
      sLine  = TrimLeft(sLine);
      if (whYamlParser(&apos;_IsComment&apos;, CurObject, sLine)) continue;
      CurObject = whYamlParser(&apos;_GetParentByIdent&apos;, oRESULT, nIdent);
      bExistChild=false; // Проверим, есть ли дочерние элементы (смещение следущей строки больше чем наше)
      for (n=i+1; n&lt;=nRows; n++) {
        sNextLine = ExtractWord(n, Param, &apos;\n&apos;);
        if (whYamlParser(&apos;_IsComment&apos;, CurObject, Trim(sNextLine))) continue;
        bExistChild=(Length(sNextLine)-Length(TrimLeft(sNextLine))&gt;nIdent); break;
      }
      HmsRegExMatch(&apos;^-\\s*?(.*)&apos;, sLine, sLine);
      sKey = &apos;&apos;; // Пробуем получить ключ, если получилось, то потом получаем и значение (иначе всё значение)
      if (HmsRegExMatch(&apos;^([\\w-]+)\\s*?:&apos;, sLine, sKey)) HmsRegExMatch(&apos;^[\\w-]+\\s*?:\\s*?(.*)&apos;, sLine, sLine);
      else sKey = IntToStr(CurObject.Count);
      if (bExistChild) {
        nIndxObj  = CurObject.AddObject(sKey, TStringList.Create());
        CurObject = CurObject.Objects(nIndxObj);
        oPath.AddObject(IntToStr(nIdent), CurObject);
        if (Trim(sLine)==&apos;&apos;) continue;
      }
      if (HmsRegExMatch(&apos;^{(.*)}&apos;, sLine, sNextLine)) { // Проверяем, если это Map блок {}
        nIndxObj  = CurObject.AddObject(sKey, TStringList.Create());
        CurObject = CurObject.Objects(nIndxObj);
        nRows2 = WordCount(sNextLine, &apos;,&apos;); bContinue = false;
        for (n=1; n&lt;=nRows2; n++) {
          if (bContinue) sValue = sLine+&apos;,&apos;; else sValue = &apos;&apos;;
          sLine = sValue + ExtractWord(n, sNextLine, &apos;,&apos;);
          if (!bContinue) {
            if (HmsRegExMatch(&apos;^\\s*?([\\w-]+)\\s*?:&apos;, sLine, sKey)) {
              HmsRegExMatch(&apos;^\\s*?[\\w-]+\\s*?:\\s*?(.*/)&apos;, sLine+&apos;/&apos;, sLine);
              sLine = LeftCopy(sLine, Length(sLine)-1);
            } else sKey = IntToStr(CurObject.Count);
          }
          if (HmsRegExMatch2(&apos;^([\&apos;"]).*([^\\s])\\s*?$&apos;, sLine, sChar, sValue)) if ((sChar!=sValue)&amp;&amp;(n!=nRows2)) {bContinue=true; continue;}
          HmsRegExMatch(&apos;^[\&apos;"](.*)[\&apos;"]&apos;, sLine, sLine);  // --11--
          CurObject.Values[sKey] = sLine;
          bContinue=false;
        }
        continue;
      }
      if (HmsRegExMatch(&apos;^([\&apos;"])&apos;, sLine, sChar)) HmsRegExMatch(&apos;^&apos;+sChar+&apos;(.*)&apos;+sChar, sLine, sLine);
      else HmsRegExMatch(&apos;^(.*)#&apos;,  sLine, sLine); // Отсекаем комментарий
      CurObject.Values[sKey] = sLine;
    }
    oRESULT.Delete(oRESULT.IndexOfObject(oPath));
    oPath.Free();
  } else if (sFunc==&apos;SaveToString&apos;) {
    sValue = &apos;&apos;;
    for (i=0; i&lt;oRESULT.Count; i++) {
      sValue = sValue + Param + oRESULT.Strings(i) + &apos;\n&apos;;
      CurObject = oRESULT.Objects(i);
      if (CurObject!=0) sValue = sValue + whYamlParser(&apos;SaveToString&apos;, CurObject, Param+&apos;  &apos;);
    }
    return sValue;
  } else if (sFunc==&apos;_IsComment&apos;) {
    if ((Trim(Param)==&apos;&apos;) || (LeftCopy(Param, 1)==&apos;#&apos;) || (Trim(Param)==&apos;---&apos;)) return true;
    return false;
  } else if (sFunc==&apos;_GetParentByIdent&apos;) {
    nIndxObj = oRESULT.IndexOf(&apos;_YAMLPath&apos;); if (nIndxObj   &lt;0) return oRESULT;
    oPath    = oRESULT.Objects(nIndxObj);    if (oPath.Count&lt;1) return oRESULT;
    for (i=oPath.Count-1; i&gt;=0; i--) {
      nIdent = StrToIntDef(oPath.Strings(i), 0);
      if (Param&gt;nIdent) {CurObject = oPath.Objects(i); break;}
      else oPath.Delete(i);
    }
    return CurObject;
  }
}
// ---------------------------------------------------------------------------------------
// Возвращает http кодированное название
char GetTitle4Search(THmsScriptMediaItem Item) {
  char sTitle = Trim(Item[mpiTitle]);
  sTitle = ReplaceStr(sTitle, &apos;"&apos;, &apos;&apos; ); // Убираем кавычки - мешают при поиске
  if (WONKY307.Values[&apos;NoUtfTitle4Search&apos;]==&apos;&apos;) {
    if (Pos(&apos;(site:&apos;, sTitle)&lt;1) sTitle = HmsHttpEncode(HmsUtf8Encode(sTitle));
  } else {
    if (Pos(&apos;(site:&apos;, sTitle)&lt;1) sTitle = HmsHttpEncode(sTitle);
  }
  // Символ &apos;+&apos; в ссылке папки подкаста - это значит добавить имя папки к поиску имени подкаста
  // Если не указан запрещающие параметр --minusfolder в подкасте
  if (LeftCopy(Item.ItemParent[mpiFilePath], 4)!=&apos;http&apos;)
    if ((Pos(&apos;+&apos;, Item.ItemParent[mpiFilePath])==1)&amp;&amp;(Pos(&apos;--minusfolder&apos;,  Item[mpiPodcastParameters])&lt;1))
      sTitle=Trim(Item.ItemParent[mpiTitle])+&apos;+&apos;+Trim(sTitle);
  if (LeftCopy(Item.ItemParent.ItemParent[mpiFilePath], 4)!=&apos;http&apos;)
    if ((Pos(&apos;+&apos;, Item.ItemParent.ItemParent[mpiFilePath])==1)&amp;&amp;(Pos(&apos;--minusfolder&apos;,  Item[mpiPodcastParameters])&lt;1))
      sTitle=Trim(Item.ItemParent.ItemParent[mpiTitle])+&apos;+&apos;+Trim(sTitle);
  sTitle = ReplaceStr(sTitle, &apos; &apos;, &apos;+&apos;);
  return sTitle;
}
// ---------------------------------------------------------------------------------------
// Загрузка Страниц (1-я из 4-х главных функций)
void LoadPages(TStrings WONKYBLK, THmsScriptMediaItem ParentItem) {
  int n, nIndxBlk, nBlocks, nBlk, nParamId, nField; char sLink, sValue, sPage, sHtml, sParamName, sPgs=&apos;&apos;;
  Variant WONKYOBJECT, SUBBLOCK; TStrings ItemInfo; char sCondField, sCond; bool bFirstPage=true;
  char sQBase=&apos;&apos;, sQLink=&apos;&apos;, sQMeth=&apos;GET&apos;, sQData=&apos;&apos;;
  // nPages     - Количество страниц
  // nFirstPage - С какого номера начинать
  // nPageMul   - Множитель номера страницы
  // sPageParam - Шаблон строки части адреса, где вместо &lt;PN&gt; будет
  //              подставляться номер страницы (например &apos;?page=&lt;PN&gt;&apos;, &apos;&apos; - выключено)
  int  nPages     = 1;
  int  nFirstPage = 0;
  int  nPageMul   = 1;
  string sPageParam = &apos;&apos;;
  // Видвижение блока с информацией о том сколько и как загружать страницы
  if (GetWonkyObject(WONKYBLK, &apos;PagesInfo&apos;, WONKYOBJECT, ParentItem)) {
    nPages     = StrToIntDef(WONKYOBJECT.Values[&apos;Pages&apos;    ], nPages    );
    nFirstPage = StrToIntDef(WONKYOBJECT.Values[&apos;StartPage&apos;], nFirstPage);
    nPageMul   = StrToIntDef(WONKYOBJECT.Values[&apos;PageMul&apos;  ], nPageMul  );
    sPageParam = WONKYOBJECT.Values[&apos;PageParam&apos;];
    sValue = WONKYOBJECT.Values[&apos;Method&apos;]; if (sValue!=&apos;&apos;) {sQMeth = ReplaceWonkyVars(sValue); VARS.Values[&apos;&lt;METHOD&gt;&apos;]=sQMeth;}
  }
  sValue = WONKYBLK.Values[&apos;UrlBase&apos;]; if (sValue!=&apos;&apos;) gsUrlBase = ReplaceWonkyVars(sValue);
  // Если есть блок с параметрами для глобальной gsHeaders - заменяем на переданные значения
  GetWonkyObject(WONKYBLK, &apos;Headers&apos;, WONKYOBJECT, ParentItem);
  sValue = WONKYBLK.Values[&apos;FilePath&apos;]; if (sValue!=&apos;&apos;) {ParentItem[mpiFilePath] = ReplaceWonkyVars(sValue); VARS.Values[&apos;&lt;FILEPATH&gt;&apos;]=ParentItem[mpiFilePath];}
  GetWonkyObject(WONKYBLK, &apos;GetVars&apos;, WONKYOBJECT, ParentItem);
  if (CheckWonkyParam(WONKYBLK, &apos;LoadFromLinks&apos;)) LOADFROMLINKS = 1;
  if (CheckWonkyParam(WONKYBLK, &apos;StoreCookie&apos;  )) gbStoreCookie = true;
  if (GetWonkyObject (WONKYBLK, &apos;ChangeValues&apos;, WONKYOBJECT, ParentItem)) WonkyChangeValues(WONKYOBJECT, ParentItem);
  if (GetWonkyObject (WONKYBLK, &apos;LoginRequest&apos;, WONKYOBJECT, ParentItem)) LoginRequest(WONKYOBJECT, ParentItem);
  if (GetWonkyObject (WONKYBLK, &apos;CreateItems&apos;,  WONKYOBJECT, ParentItem)) CreateItems (WONKYOBJECT, ParentItem);
  // Проверяем "одноразовые" переменные после ChangeValues.
  if (VARS.Values[&apos;&lt;PAGES&gt;&apos;]    !=&apos;&apos;) nPages     = StrToIntDef(VARS.Values[&apos;&lt;PAGES&gt;&apos;],     nPages    );
  if (VARS.Values[&apos;&lt;FIRSTPAGE&gt;&apos;]!=&apos;&apos;) nFirstPage = StrToIntDef(VARS.Values[&apos;&lt;FIRSTPAGE&gt;&apos;], nFirstPage);
  if (VARS.Values[&apos;&lt;PAGEMUL&gt;&apos;]  !=&apos;&apos;) nPageMul   = StrToIntDef(VARS.Values[&apos;&lt;PAGEMUL&gt;&apos;],   nPageMul  );
  if (VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;]!=&apos;&apos;) sPageParam = VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;];
  if (VARS.Values[&apos;&lt;METHOD&gt;&apos;]   !=&apos;&apos;) sQMeth     = VARS.Values[&apos;&lt;METHOD&gt;&apos;]; // Только метод - неодноразовый
  sHtml=&apos;&apos;; if (nPages&gt;1) sPgs = &apos; из &apos;+IntToStr(nPages);
  if (WONKYBLK.Values[&apos;NotLoad&apos;]==&apos;&apos;) {
    // Загружаем все страницы
    if ((sPageParam!=&apos;&apos;) &amp;&amp; (Pos(&apos;?&apos;, ParentItem[mpiFilePath])&lt;1)) sPageParam[1]=&apos;?&apos;;
    for (n=nFirstPage; n&lt;nPages+nFirstPage; n++) {
      if (HmsCancelPressed()) break;
      if (bWasShownProgress) {
        if (nPages&gt;1) sValue = &apos;: Загрузка страницы - &apos;+IntToStr(n)+sPgs; else sValue = &apos;&apos;;
        if (SHOWPROGRESS==1) HmsShowProgress(ParentItem[mpiTitle]+sValue);
      }
      sPage = &apos;&apos;;
      if (Trim(sPageParam)!=&apos;&apos;) {
        if      ((Pos(&apos;?&apos;, ParentItem[mpiFilePath])&lt;1) &amp;&amp; (LeftCopy(sPageParam, 1)==&apos;&amp;&apos;)) sPageParam = &apos;?&apos;+Copy(sPageParam, 2, 9999);
        else if (Pos(&apos;?&apos;, ParentItem[mpiFilePath])&gt;0) sPageParam = ReplaceStr(sPageParam, &apos;?&apos;, &apos;&amp;&apos;);
        sPage=ReplaceStr(sPageParam, &apos;&lt;PN&gt;&apos;, IntToStr(Trunc(n*nPageMul)));
        // Если в ссылке уже заложен номер страницы - вырезаем его оттуда, ибо будем вставлять сами
        if (Pos(sPage, ParentItem[mpiFilePath])&gt;0) ParentItem[mpiFilePath]=ReplaceStr(ParentItem[mpiFilePath], sPage, &apos;&lt;PAGEPARAM&gt;&apos;);
      }
      sLink = ParentItem[mpiFilePath];
      // Если в ссылке есть ключ &lt;PAGEPARAM&gt;, то вставляем вместо него шаблон с номером страницы
      if (Pos(&apos;&lt;PAGEPARAM&gt;&apos;, sLink)&gt;0) sLink = ReplaceStr(sLink, &apos;&lt;PAGEPARAM&gt;&apos;, sPage);
      else sLink += sPage; // Иначе просто шаблон с номером страницы добавляем в конец ссылки
      sLink = ReplaceStr(sLink, &apos;&lt;RND&gt;&apos;, ReplaceStr(FloatToStr(Random), &apos;,&apos;, &apos;.&apos;));
      if (VARS.Values[&apos;&lt;LASTLOADLINK&gt;&apos;] != sLink) {
        LogMe(&apos;Загрузка страницы: &apos;+sLink);
        sPage = LoadUrl(sLink, sQMeth);
        if (CheckWonkyParam(WONKYBLK, &apos;DecrunchJSON&apos;)) sPage=HmsJsonDecode(sPage);
        VARS.Values[&apos;&lt;TEXT&gt;&apos;] = sPage;
        VARS.Values[&apos;&lt;LASTLOADLINK&gt;&apos;] = sLink;
        sValue = WONKYBLK.Values[&apos;CutBlock&apos;]; if (sValue!=&apos;&apos;) HmsRegExMatch(sValue, sPage, sPage, 1, PCRE_SINGLELINE);
        // Если были указаны параметры PreSearchBlock, то каждую страницу обрабатываем - выделяем блоки
        sHtml = sHtml + sPage;
      } else {
        sPage = VARS.Values[&apos;&lt;TEXT&gt;&apos;];
        sValue = WONKYBLK.Values[&apos;CutBlock&apos;]; if (sValue!=&apos;&apos;) HmsRegExMatch(sValue, sPage, sPage, 1, PCRE_SINGLELINE);
        if (sHtml==&apos;&apos;) sHtml = sPage;
      }
      LogMe(&apos;Loaded page: &apos;+sPage);
      if (GetWonkyObject(WONKYBLK, &apos;StopLoad&apos;, WONKYOBJECT, ParentItem)) break;
      if (bFirstPage) {
        if (GetWonkyObject(WONKYBLK, &apos;GetPagesFromPageNavi&apos;, WONKYOBJECT, ParentItem)) {
          if (HmsRegExMatch(WONKYOBJECT.Values[&apos;Pages&apos; ], sPage, sValue, 1, PCRE_SINGLELINE)
            ||HmsRegExMatch(WONKYOBJECT.Values[&apos;Pages2&apos;], sPage, sValue, 1, PCRE_SINGLELINE)) {
            nPages     = StrToIntDef(sValue, nPages);
            nFirstPage = StrToIntDef(WONKYOBJECT.Values[&apos;StartPage&apos;], nFirstPage);
            nPageMul   = StrToIntDef(WONKYOBJECT.Values[&apos;PageMul&apos;  ], nPageMul  );
            sPageParam = WONKYOBJECT.Values[&apos;PageParam&apos;];
            if (VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;]!=&apos;&apos;) sPageParam = VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;];
          }
        }
        if (HmsRegExMatch(&apos;--pages=([\\d]+)&apos;, mpPodcastParameters, sValue, 1, PCRE_SINGLELINE)) {
          nBlk = StrToIntDef(sValue, nPages);
          if (nBlk &lt; nPages) nPages = nBlk;
        }
        n = nFirstPage;
        if (nPages&gt;1) sPgs = &apos; из &apos;+IntToStr(nPages);
      }
      if (GetWonkyObject(WONKYBLK, &apos;AfterLoadEveryPage&apos;, WONKYOBJECT, ParentItem)) AfterLoadPageBlock(sPage, WONKYOBJECT, ParentItem);
      if (SHOWPROGRESS==1) HmsSetProgress(Trunc(n*100/nPages));
      bFirstPage = false;
    }
  }
  VARS.Values[&apos;&lt;PAGES&gt;&apos;]     = &apos;&apos;;
  VARS.Values[&apos;&lt;FIRSTPAGE&gt;&apos;] = &apos;&apos;;
  VARS.Values[&apos;&lt;PAGEMUL&gt;&apos;]   = &apos;&apos;;
  VARS.Values[&apos;&lt;PAGEPARAM&gt;&apos;] = &apos;&apos;;
  VARS.Values[&apos;&lt;TEXT&gt;&apos;] = sHtml;
  // Пытаемся найти и заполнить информацию для родительского подкаста (если там указано)
  ItemInfo = FindAndFillInfo(sHtml, WONKYBLK, ParentItem, true);
  StoreInfoToPodcast(ItemInfo, ParentItem);
  // Если есть команды, которые нужно выполнить после загрузки страницы
  if (GetWonkyObject(WONKYBLK, &apos;AfterLoad&apos;, WONKYOBJECT, ParentItem)) AfterLoadPageBlock(sHtml, WONKYOBJECT, ParentItem);
  // Проверяем, установлен ли блок поиска подчинённых элементов
  if (GetWonkyObject(WONKYBLK, &apos;SearchItems&apos;, WONKYOBJECT, ParentItem)) {
    // Запускаем обработку поиска блоков с информацией о видео
    if (SHOWPROGRESS==1) HmsShowProgress(mpTitle+&apos;: обработка ссылок&apos;);
    ProcessFindItems(sHtml, WONKYOBJECT, ParentItem);
  }
  // Проверяем, установлен ли блок загрузки страницы
  if (GetWonkyObject(WONKYBLK, &apos;LoadLink&apos;,        WONKYOBJECT, ParentItem)) LoadPages(WONKYOBJECT, ParentItem);
  if (GetWonkyObject(WONKYBLK, &apos;ConditionBlocks&apos;, WONKYOBJECT, ParentItem)) LoadPages(WONKYOBJECT, ParentItem);
}
// -------------------------------------------- Установка значений cookies ----
void SetCookies(char sHeaders=&apos;&apos;) {
  char sCookies=&apos;&apos;, sName, sVal; TRegExpr re;
  re = TRegExpr.Create(&apos;(?:Set-cookie|Cookie):(.*?)=(.*?)(?:;|\n|$)&apos;, PCRE_SINGLELINE);
  if (re.Search(sHeaders)) do {
    sName = Trim(re.Match(1));
    sVal  = Trim(re.Match(2));
    if ((sVal==&apos;&apos;) || (sName==&apos;&apos;)) continue;
    COOKIES.Values[sName] = sVal;
  } while (re.SearchAgain());
  re.Free();
  VARS.Values[&apos;&lt;COOKIES&gt;&apos;] = GetCookies();
  if (gbStoreCookie) FolderItem[39000] = VARS.Values[&apos;&lt;COOKIES&gt;&apos;];
}
// -------------------------------------------- Получение значений cookies ----
char GetCookies() {
  int i; char sNam, sVal, sCookies=&apos;&apos;;
  for (i=0; i&lt;COOKIES.Count; i++) {
    sNam = COOKIES.Names(i);     if (Trim(sNam)==&apos;&apos;) continue;
    sVal = COOKIES.Values[sNam]; if (Trim(sVal)==&apos;&apos;) continue;
    sCookies += Format(&apos;%s=%s; &apos;, [sNam, sVal]);
  }
  sCookies = &apos;Cookie: &apos;+Trim(sCookies)+&apos;\r\n&apos;;
  return sCookies;
}
// ------------------------------------------- Загрузка страницы по ссылке ----
string LoadUrl(char sLink, char sMethod=&apos;GET&apos;, char sHeaders=&apos;&apos;, bool NoCache=false, bool NoRdrct=false) {
  string sHtml, sUrlServer, sRequestPage=&apos;/&apos;, sPostData=&apos;&apos;, sAnsw=&apos;&apos;; int iFlags = 0, nPort=80;
  if (LeftCopy(sLink, 2)==&apos;//&apos;) sLink = &apos;http:&apos; + Trim(sLink);
  if (LeftCopy(sLink, 1)==&apos;/&apos; ) sLink = gsUrlBase + Trim(sLink);
  if (LeftCopy(sLink, 5)==&apos;https&apos;) nPort = 443;
  if (!HmsRegExMatch(&apos;//(.*)&apos;, sLink, sUrlServer)) return &apos;&apos;;
  HmsRegExMatch2(&apos;^(.*?)(/.*)&apos;, sUrlServer, sUrlServer, sRequestPage);
  if (sMethod==&apos;POST&apos;) {
    HmsRegExMatch(&apos;^.*?\\?(.*)&apos;, sRequestPage, sPostData   );
    HmsRegExMatch(&apos;^(.*?)\\?&apos;  , sRequestPage, sRequestPage);
  }
  if (HmsRegExMatch(&apos;--nocache&apos;, mpPodcastParameters, &apos;&apos;)) NoCache = true;
  if (sHeaders==&apos;&apos;) sHeaders = gsHeaders; if (NoCache) iFlags = StrToInt(&apos;$80000000&apos;);
  sHeaders += GetCookies(); iFlags = (iFlags || INTERNET_FLAG_NO_AUTO_REDIRECT);
  sHtml = HmsSendRequestEx(sUrlServer, sRequestPage, sMethod, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, sHeaders, sPostData, nPort, iFlags, sAnsw, true);
  if (IsWine || gbIE6Fix) sHtml = HmsDecompressString(sHtml); // Для Linux Wine и ie6
  SetCookies(sAnsw);
  if (!NoRdrct &amp;&amp; HmsRegExMatch(&apos;Location: (.*?)[\r\n]&apos;, sAnsw, sLink)) {
    sHtml = LoadUrl(sLink);
  }
  sHtml = HmsUtf8Decode(sHtml);
  return sHtml;
}
// ------------------------- Запрос на вход, получение куки их запоминание ----
void LoginRequest(TStrings WONKYBLK, THmsScriptMediaItem ParentItem) {
  char sLogin, sPassw, sReq, sMethod, sValue; Variant WONKYOBJECT;
  sLogin  = WONKYBLK.Values[&apos;Login&apos;];  if (Trim(sLogin)==&apos;&apos;) sLogin = mpPodcastAuthorizationUserName;
  sPassw  = WONKYBLK.Values[&apos;Passw&apos;];  if (Trim(sPassw)==&apos;&apos;) sPassw = mpPodcastAuthorizationPassword;
  sValue  = WONKYBLK.Values[&apos;Cookie&apos;]; if (Trim(sValue)!=&apos;&apos;) SetCookies(sValue);
  sMethod = WONKYBLK.Values[&apos;Method&apos;];                                
  sLogin  = HmsPercentEncode(sLogin);
  sPassw  = HmsPercentEncode(sPassw);
  GetWonkyObject(WONKYBLK, &apos;Headers&apos;, WONKYOBJECT, ParentItem);
  sReq = ReplaceStr(ReplaceStr(WONKYBLK.Values[&apos;Request&apos;], &apos;&lt;LOGIN&gt;&apos;, sLogin), &apos;&lt;PASSW&gt;&apos;, sPassw);
  LoadUrl(sReq, sMethod, &apos;&apos;, WONKYBLK.Values[&apos;NoCache&apos;]!=&apos;&apos;, WONKYBLK.Values[&apos;NoRedirect&apos;]!=&apos;&apos;);
}
// ---------------------------------------------------------------------------------------
// Создание каталогов, подкастов и ссылок по данным в WONKYBLK
void CreateItems(TStrings WONKYBLK, THmsScriptMediaItem ParentItem) {
  int n, i, nParamId; THmsScriptMediaItem Item;
  Variant WONKYOBJECT, SUBBLOCK; bool bForceFolder, bIsPodcast;
  char sTitle, sLink, sName, sValue, sType;

  for (n=0; n&lt;WONKYBLK.Count; n++) {
    SUBBLOCK = WONKYBLK.Objects(n); if (SUBBLOCK==0) continue;
    sTitle = SUBBLOCK.Values[&apos;mpiTitle&apos;]; if (sTitle==&apos;&apos;) continue;
    sLink  = SUBBLOCK.Values[&apos;mpiFilePath&apos;]; if (sLink==&apos;&apos;) sLink=sTitle;
    sType  = SUBBLOCK.Values[&apos;Type&apos;];
    if (TITLECASE==1) sTitle = Uppercase(sTitle);
    if (sType==&apos;Search&apos;) {
      Item = ParentItem.AddFolder(&apos;-SearchFolder&apos;, true);
      Item[mpiTitle]      = sTitle;
      Item[mpiFolderSortOrder  ] = "mpTitle";
      Item[mpiPodcastParameters] = SUBBLOCK.Values[&apos;mpiPodcastParameters&apos;]+&apos; --group=none&apos;;
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      sTitle = SUBBLOCK.Values[&apos;CmdTitle&apos;];
      if (TITLECASE==1) sTitle = Uppercase(sTitle);
      CreateDynamicGroup(SUBBLOCK, Item, sTitle, &apos;-SearchCommands&apos;, &apos;/\\*BeginSearchScript(.*?)EndSearchScript\\*/&apos;);
      continue;
    } else if ((sType==&apos;Folder&apos;) || (sType==&apos;Podcast&apos;) || (sType==&apos;Dynamic&apos;)) {
      if (sType==&apos;Dynamic&apos;) i = 32;
      else i = StrToIntDef(SUBBLOCK.Values[&apos;FolderClassID&apos;], -1);
      Item = ParentItem.AddFolder(sLink, (sType==&apos;Folder&apos;), i);
      if (i==32) {
        Item[200] = ParentItem[200]; // mpiFolderType
        Item[500] = ParentItem[500]; // mpiDynamicScript
        Item[501] = ParentItem[501]; // mpiDynamicSyntaxType
      }
    } else if (sType==&apos;SettingsFolder&apos;) {
      if (Pos(&apos;--altsetfldr&apos;, mpPodcastParameters)&gt;0) {
        CreateSettingsFolder(SUBBLOCK, ParentItem, sTitle, &apos;-SettingsCommands&apos;);
      } else {
        CreateDynamicGroup(SUBBLOCK, ParentItem, sTitle, &apos;-SettingsCommands&apos;, &apos;/\\*BeginSettingsScript(.*?)EndSettingsScript\\*/&apos;);
      }
      continue;
    } else {
      Item = HmsCreateMediaItem(sLink, ParentItem.ItemID);
    }
    for (i=0; i&lt;SUBBLOCK.Count; i++) {
      sName = SUBBLOCK.Names(i); if (sName==&apos;&apos;) continue;
      nParamId = GetIdByParamName(sName); if ((nParamId==0)||(nParamId==mpiTitle)) continue;
      Item[nParamId] = SUBBLOCK.Values[sName];
    }
    Item[mpiTitle]      = sTitle;
    Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
    sLink = Item[mpiFilePath]; if (LeftCopy(sLink, 1)==&apos;/&apos;) Item[mpiFilePath] = HmsExpandLink(sLink, gsUrlBase);
    if (Trim(Item[mpiFolderSortOrder])==&apos;&apos;) Item[mpiFolderSortOrder] = -mpiCreateDate;
    if (GetWonkyObject(SUBBLOCK, &apos;CreateItems&apos;, WONKYOBJECT, Item)) CreateItems(WONKYOBJECT, Item);
    if (GetWonkyObject(SUBBLOCK, &apos;LoadLink&apos;,    WONKYOBJECT, Item)) LoadPages  (WONKYOBJECT, Item);
    if (GetWonkyObject(SUBBLOCK, &apos;SearchItems&apos;, WONKYOBJECT, Item)) ProcessFindItems(VARS.Values[&apos;&lt;TEXT&gt;&apos;], WONKYOBJECT, Item);
  }
}
// ---------------------------------------------------------------------------------------
// Проверка переданных параметров в поле "Комментарий" подкаста
void CheckParameters() {
  char sVal;
  gbIE6Fix = (Pos(&apos;--winxpfix&apos;, mpPodcastParameters)&gt;0);
  if (HmsRegExMatch(&apos;(--(?:no|)log)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--nolog&apos;) LOG = 0;
    if (sVal==&apos;--log&apos;  ) LOG = 1;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)progress)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--noprogress&apos;) SHOWPROGRESS = 0;
    if (sVal==&apos;--progress&apos;  ) SHOWPROGRESS = 1;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)delitems)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--delitems&apos;)   NODELITEMS = 0;
    if (sVal==&apos;--nodelitems&apos;) NODELITEMS = 1;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)yearintitle)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--yearintitle&apos;)   YEARINTITLE = 1;
    if (sVal==&apos;--noyearintitle&apos;) YEARINTITLE = 0;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)numbering)&apos;, mpPodcastParameters, sVal)) {
    if (sVal==&apos;--numbering&apos;)   NUMBERING = 1;
    if (sVal==&apos;--nonumbering&apos;) NUMBERING = 0;
  }
  if (HmsRegExMatch(&apos;--group=(\\w+)&apos;, mpPodcastParameters, sVal)) {
    if      (sVal == &apos;alph&apos; ) GROUPMODE = 1;
    else if (sVal == &apos;alph2&apos;) GROUPMODE = 2;
    else if (sVal == &apos;year&apos; ) GROUPMODE = 3;
    else if (sVal == &apos;none&apos; ) GROUPMODE = 0;
  }
  if (HmsRegExMatch(&apos;--titlecase=(\\w+)&apos;, mpPodcastParameters, sVal)) {
    if      (sVal == &apos;upper&apos;) TITLECASE = 1;
    else if (sVal == &apos;first&apos;) TITLECASE = 2;
    else if (sVal == &apos;name&apos; ) TITLECASE = 3;
    else if (sVal == &apos;none&apos; ) TITLECASE = 0;
  }
  if (HmsRegExMatch(&apos;(--(?:no|)collect)&apos;, mpPodcastParameters, sVal)) {
    if      (sVal==&apos;--collect&apos;)   COLLECTING = 1;
    else if (sVal==&apos;--nocollect&apos;) COLLECTING = 0;
  }
  if (HmsRegExMatch(&apos;--itemasfolder=(\\w+)&apos;, mpPodcastParameters, sVal)) {
    if      (sVal == &apos;on&apos; ) ITEMASFOLDER = 1;
    else if (sVal == &apos;off&apos;) ITEMASFOLDER = 0;
  }
  if (Pos(&apos;--loadfromlinks&apos;, mpPodcastParameters)&gt;0) LOADFROMLINKS= 1;
  if (Pos(&apos;--collectasitems&apos;,mpPodcastParameters)&gt;0) COLLECTASITEM= 1;
  if (HmsRegExMatch(&apos;--maxingroup=([\\d]+)&apos;,  mpPodcastParameters, sVal)) MAXINGROUP = StrToIntDef(sVal, MAXINGROUP);
  if (HmsRegExMatch(&apos;--dbgfile="(.*?)"&apos;,      mpPodcastParameters, sVal)) DBGFILE = sVal;
  if (HmsRegExMatch(&apos;--formatseries="(.*?)"&apos;, mpPodcastParameters, sVal)) gsFrmtSeries = sVal;
  if (HmsRegExMatch(&apos;--groupbysort=(\\w+)&apos;, mpPodcastParameters, sVal)) {
    if      ((sVal == &apos;on&apos; ) || (sVal == &apos;1&apos;)) GROUPBYSORT = 1;
    else if ((sVal == &apos;off&apos;) || (sVal == &apos;0&apos;)) GROUPBYSORT = 0;
  } else if (HmsRegExMatch(&apos;--groupbysort&apos;, mpPodcastParameters, &apos;&apos;)) {
    GROUPBYSORT = 1;
  }
  if (GROUPBYSORT==1) {
    sVal = FolderItem[mpiFolderSortOrder];
    if        ((sVal==&apos;-7&apos; ) || (sVal==&apos;-mpAlbum&apos;)) {
      GROUPMODE = 1;
      if (HmsRegExMatch(&apos;(--group=\\w+)&apos;, FolderItem[mpiPodcastParameters], sVal)) 
        FolderItem[mpiPodcastParameters]=ReplaceStr(FolderItem[mpiPodcastParameters], sVal, &apos;--group=alph&apos;);
      else   
        FolderItem[mpiPodcastParameters] += &apos; --group=alph&apos;;
      FolderItem[mpiFolderSortOrder] = mpiTitle;

    } else if ((sVal==&apos;-8&apos; ) || (sVal==&apos;-mpYear&apos; )) {
      GROUPMODE = 3; 
      if (HmsRegExMatch(&apos;(--group=\\w+)&apos;, FolderItem[mpiPodcastParameters], sVal)) 
        FolderItem[mpiPodcastParameters]=ReplaceStr(FolderItem[mpiPodcastParameters], sVal, &apos;--group=year&apos;);
      else   
        FolderItem[mpiPodcastParameters] += &apos; --group=year&apos;;
      FolderItem[mpiFolderSortOrder] = -mpiTitle;

    } else if ((sVal==&apos;7&apos;) || (sVal==&apos;mpAlbum&apos; )) {
      GROUPMODE = 0; 
      if (HmsRegExMatch(&apos;(--group=\\w+)&apos;, FolderItem[mpiPodcastParameters], sVal)) 
        FolderItem[mpiPodcastParameters]=ReplaceStr(FolderItem[mpiPodcastParameters], sVal, &apos;--group=none&apos;);
      else   
        FolderItem[mpiPodcastParameters] += &apos; --group=none&apos;;
      FolderItem[mpiFolderSortOrder] = -mpiCreateDate;
    }
  }
}
// ---------------------------------------------------------------------------------------
// Проверка минимальной требуемой версии HomeMediaServer. Если не указано, то 1.30
void CheckMinVersionHMS(char sMinRequiredVer=&apos;&apos;) {
  int i, n1, n2, nCount; char sProgramVersion = ProgramVersion();
  if (sMinRequiredVer==&apos;&apos;) sMinRequiredVer = &apos;1.30&apos;;
  nCount = WordCount(sProgramVersion, &apos;.&apos;);
  i      = WordCount(sMinRequiredVer, &apos;.&apos;);
  if (nCount&gt;i) nCount = i;
  for (i=1; i&lt;nCount; i++) {
    n1 = StrToIntDef(ExtractWord(i, sMinRequiredVer, &apos;.&apos;), 0);
    n2 = StrToIntDef(ExtractWord(i, sProgramVersion, &apos;.&apos;), 0);
    if (n1&lt;n2) break;
    if (n1&gt;n2) RaiseException(Format(&apos;Работа подкаста %s невозможна. Минимальная требуемая версия HMS: %s&apos;, [mpTitle, sMinRequiredVer]));
  }
}
// ---------------------------------------------------------------------------------------
// Попытка сделать более быстрой загрузку большого YAML конфига - ищем подходящий блок
char QuickYamlLoad(char sText) {
  char sField, sFCond, sObject=&apos;&apos;, sValue; int nIndxObj;
  TStrings WONKYBLK = TStringList.Create(); Variant WONKYOBJECT, CONDOBJECT;
  nIndxObj   = WONKYBLK.AddObject(&apos;Condition&apos;, TStringList.Create());
  CONDOBJECT = WONKYBLK.Objects(nIndxObj);
  TRegExpr reSearch = TRegExpr.Create(&apos;(- Podcast.*?)(?=- Podcast|$)&apos;, PCRE_SINGLELINE);
  if (reSearch.Search(sText)) do {
    if (!HmsRegExMatch2(&apos;ConditionField\\s*:\\s*(.*?),.*?ConditionExp\\s*:\\s*(.*?)}&apos;, reSearch.Match, sField, sFCond, PCRE_SINGLELINE)) continue;
    sField = Trim(sField);
    sFCond = Trim(sFCond);
    HmsRegExMatch(&apos;^\&apos;(.*?)\&apos;$&apos;, sField, sField, 1, PCRE_SINGLELINE);
    HmsRegExMatch(&apos;^\&apos;(.*?)\&apos;$&apos;, sFCond, sFCond, 1, PCRE_SINGLELINE);
    CONDOBJECT.Values[&apos;ConditionField&apos;] = sField;
    CONDOBJECT.Values[&apos;ConditionExp&apos;  ] = sFCond;
    if (!GetWonkyObject(WONKYBLK, &apos;Condition&apos;, WONKYOBJECT, FolderItem)) continue;
    sObject = reSearch.Match;
    break;
  } while (reSearch.SearchAgain());
  reSearch.Free();
  WONKYBLK.Free();
  return sObject;
}
// ---------------------------------------------------------------------------------------
// Поиск родителького подкаста (папки) и получение конфига.
char GetCFG() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) {
      sCFG = ROOTPODCAST[510]; // Берём конфиг из скрипта чтения дополнительных свойств RSS
      HmsRegExMatch(&apos;Wonky Config.*?\\[(.*?)\\]&apos;, sCFG, gsCfgDate,   1, PCRE_SINGLELINE);
      HmsRegExMatch(&apos;Author:\\s+"(.*?)"&apos;,         sCFG, gsCfgAuthor, 1, PCRE_SINGLELINE);
      HmsRegExMatch(&apos;About:\\s+"(.*?)"&apos;,          sCFG, gsAbout,     1, PCRE_SINGLELINE);
      break;
    }
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
  return sCFG;
}
// ---------------------------------------------------------------------------------------
// Создание робота Wonky307.
bool BuildWonkyRobot() {
  int i; char sCFG = &apos;&apos;, sValue, sCfgBlockName, sLink; bool bExternalCfg = false; Variant WONKYOBJECT;
  sCFG = GetCFG()+&apos;\n&apos;;
  if (Trim(sCFG)==&apos;&apos;) {
    HmsLogMessage(1, mpTitle+&apos;: Не найдена конфигурация Wonky 307.&apos;);
    return false;
  }
  VARS.Values[&apos;&lt;COOKIES&gt;&apos;] = FolderItem[39000];
  SetCookies(VARS.Values[&apos;&lt;COOKIES&gt;&apos;]);
  whYamlParser(&apos;LoadFromString&apos;, WONKY307, sCFG);
  CheckMinVersionHMS(WONKY307.Values[&apos;MinVerHMS&apos;]);
  if (WONKY307.Values[&apos;UrlBase&apos;]) gsUrlBase = WONKY307.Values[&apos;UrlBase&apos;];
  if (WONKY307.Values[&apos;dbgFile&apos;]) DBGFILE   = WONKY307.Values[&apos;dbgFile&apos;];
  sValue = WONKY307.Values[&apos;mpiPodcastOptions&apos;];
  if (sValue!=&apos;&apos;) ROOTPODCAST[529] = StrToIntDef(sValue, ROOTPODCAST[529]);
  if (W_MODE==1) sCfgBlockName = &apos;CreatePodcast&apos;; else sCfgBlockName = &apos;GetList&apos;;
  if (HmsRegExMatch(&apos;-WonkyBlock:([A-Z0-9_]+)&apos;, mpPodcastParameters, sValue, 1, PCRE_SINGLELINE)) sCfgBlockName = sValue;
  sCFG = &apos;&apos;;
  if (GetWonkyObject(WONKY307, sCfgBlockName, WONKYOBJECT, FolderItem)) sCFG = whYamlParser(&apos;SaveToString&apos;, WONKYOBJECT)+&apos;\n\n&apos;;
  sLink = WONKY307.Values[sCfgBlockName+&apos;Local&apos;];
  if        (FileExists(sLink)) {
    sCFG += HmsStringFromFile(sLink)+&apos;\n\n&apos;;
    bExternalCfg = true;
  } else if (FileExists(HmsTempDirectory()+&apos;\\&apos;+sCfgBlockName+&apos;.yml&apos;)) {
    sCFG += HmsStringFromFile(HmsTempDirectory()+&apos;\\&apos;+sCfgBlockName+&apos;.yml&apos;)+&apos;\n\n&apos;;
    if (DBGFILE!=&apos;&apos;) LogMe("CFGBLOCK "+sCfgBlockName+":\n"+whYamlParser(&apos;SaveToString&apos;, WONKY307));
    bExternalCfg = true;
  } else {
    sLink = WONKY307.Values[sCfgBlockName+&apos;Remote&apos;];
    if (sLink!=&apos;&apos;) {
      sValue = LoadURL(sLink);
      bExternalCfg = (sValue!=&apos;&apos;);
      if (LeftCopy(sValue, 2)== #120#218) sValue=HmsUtf8Decode(HmsDecompressString(sValue));
      if (sValue!=&apos;&apos;) HmsStringToFile(sValue, HmsTempDirectory()+&apos;\\&apos;+sCfgBlockName+&apos;.yml&apos;);
      sCFG += sValue+&apos;\n\n&apos;;
    }
  }
  if (bExternalCfg) {
    LogMe(&apos;Загружен кофиг &apos;+sLink);
    sCFG = QuickYamlLoad(sCFG);
    whYamlParser(&apos;LoadFromString&apos;, WONKY307, sCFG);
    i = WONKY307.IndexOf(&apos;Podcast&apos;);
    if (i&gt;=0) {
      WONKYOBJECT = WONKY307.Objects[i];
      WONKY307 = WONKYOBJECT;
    }
    gsUrlBase = WONKY307.Values[&apos;UrlBase&apos;];
    sValue = WONKY307.Values[&apos;mpiPodcastOptions&apos;];
    if (sValue!=&apos;&apos;) ROOTPODCAST[529] = StrToIntDef(sValue, ROOTPODCAST[529]);
  } else {
    if ((W_MODE==0) &amp;&amp; (COLLECTING==1)) if (GetWonkyObject(WONKY307, &apos;CollectionRules&apos;, WCOLLECT, FolderItem)) {
      COLLECTOR = ROOTPODCAST.AddFolder(WCOLLECT.Values[&apos;Title&apos;], true);
      COLLECTOR[mpiCreateDate] = &apos;31.12.1013 23:59&apos;;
      COLLECTOR[532] = 0; // Отключаем скрипт обновления
      if (!GetWonkyObject(WCOLLECT, &apos;CollectorFolders&apos;, WCOLLECT, FolderItem)) COLLECTOR = 0;
    }
    if (!GetWonkyObject(WONKY307, sCfgBlockName, WONKY307, FolderItem)) {
      HmsLogMessage(2, mpTitle+&apos;: Не найден блок конфигурации &apos;+sCfgBlockName);
    } else {
      sCFG = &apos;-&apos;;
    }
  }
  if (gsUrlBase!=&apos;&apos;) gsHeaders = ReplaceStr(gsHeaders, &apos;http://www.google.com/\r\n&apos;, gsUrlBase+&apos;\r\n&apos;);
  if (DBGFILE!=&apos;&apos;) LogMe("CFGBLOCK "+sCfgBlockName+":\n"+whYamlParser(&apos;SaveToString&apos;, WONKY307));
  return (sCFG!=&apos;&apos;);
}
// ---------------------------------------------------------------------------------------
// Инициализация глобальных переменных и прочие подготовительные действия
void WonkyInit() {
  if (LOG==1) HmsLogMessage(1, mpTitle);
  // Присваиваем переменным текущие значения для возможного использования в шаблонах
  VARS.Values[&apos;&lt;FILEPATH&gt;&apos;]     = FolderItem[mpiFilePath];
  VARS.Values[&apos;&lt;TITLE&gt;&apos;]        = FolderItem[mpiTitle];
  VARS.Values[&apos;&lt;TITLE4SEARCH&gt;&apos;] = GetTitle4Search(FolderItem);
  VARS.Values[&apos;&lt;PARAMS&gt;&apos;]       = mpPodcastParameters;
}
// ---------------------------------------------------------------------------------------
// Main program Wonky307
void WONKY307Start() {
  char sHtml, sValue, sCfgBlock; TStrings WONKYOBJECT; int nAnsw;
  if (mpFilePath==&apos;-SearchCommands&apos;) return;
  CheckParameters(); // Проверка переданных параметров в поле "Комментарий"
  if (W_MODE==1) {
    if (FolderItem.HasChildItems) {
      nAnsw = MessageDlg(&apos;Пересоздание структуры подкаста.\nУдалить существующую структуру - очистить ссылки???&apos;, 0, 3+8, 0);
      if (nAnsw == mrCancel) return;
      if (nAnsw == mrYes   ) FolderItem.DeleteChildItems();
    }
  }
  try {
    ExceptionMessage=&apos;&apos;;
    // Создаём робота WONKY307.
    if (!BuildWonkyRobot()) RaiseException(&apos;Невозможно создать WONKY 307 из конфигурационного файла!&apos;);
    //ShowMessage(whYamlParser(&apos;SaveToString&apos;, WONKY307));
    WonkyInit();
    LogMe(&apos;---- Обновление подкаста &apos;+mpTitle+&apos; ----&apos;);
    bWasShownProgress = (SHOWPROGRESS==1);
    if (NODELITEMS!=1) FolderItem.DeleteChildItems(); // Удаляем старый список подкастов
    LoadPages(WONKY307, FolderItem);                  // Запуск загрузки и всего-такого
  } finally {
    HmsHideProgress();
    if (ExceptionMessage!=&apos;&apos;) HmsLogMessage(1, ExceptionMessage);
    LogMe(&apos;---- Конец обновления подкаста &apos;+mpTitle+&apos; ----\n&apos;);
    WONKY307.Free(); PARAM.Free(); VARS.Free(); COOKIES.Free();
    if (WCOLLECT!=nil) WCOLLECT.Free();
    FolderItem[mpiTitle]      = mpTitle;      // Восстанавливаем параметры
    FolderItem[mpiFilePath]   = mpFilePath;
    FolderItem[mpiCreateDate] = mpCreateDate;
    HmsRegExMatch(&apos;--group=(\\w+)&apos;, mpPodcastParameters, sValue);
    if (sValue==&apos;alph&apos;) FolderItem.Sort(&apos;mpTitle&apos;);
    if (sValue==&apos;year&apos;) FolderItem.Sort(&apos;-mpTitle&apos;);
  }
  if (LOG==1) HmsLogMessage(1, mpTitle+&apos; готов! Найдено элементов: &apos;+IntToStr(gnTotalItems));
}

///////////////////////////////////////////////////////////////////////////////
// Проверка актуальности версии функции GetLink_Moonwalk в скриптах
void CheckMoonwalkFunction() {
  string sData, sFuncOld, sFuncNew; THmsScriptMediaItem PodcastFolder=FolderItem; int nTimePrev, nTimeNow;
  int    mpiMoonwalkUpdateTime    = 100602;
  string sPatternMoonwalkFunction = "(// Получение ссылки с moonwalk.cc.*?// Конец функции поулчения ссылки с moonwalk.cc)";
  // Ищем скрипт получения ссылки на поток
  if ((Trim(PodcastFolder[550])==&apos;&apos;) &amp;&amp; (PodcastFolder.ItemParent!=nil)) PodcastFolder = PodcastFolder.ItemParent;
  if (PodcastFolder.ItemParent==nil) return;              // Если не нашли - выходим
  // Если проверяемая функция присутствует в скрипте - получаем текст функции в переменную sFuncOld
  if (HmsRegExMatch(sPatternMoonwalkFunction, PodcastFolder[550], sFuncOld, 1, PCRE_SINGLELINE)) {
    nTimePrev = StrToIntDef(PodcastFolder[mpiMoonwalkUpdateTime], 0);
    nTimeNow  = DateTimeToTimeStamp1970(Now, false);
    if (nTimeNow-nTimePrev &lt; 1800) return;                // Если после последней проверки прошло меньше получаса - выходим
    PodcastFolder[mpiMoonwalkUpdateTime] = Str(nTimeNow); // Запоминаем время проверки
    sData = HmsUtf8Decode(HmsDownloadURL("https://gist.githubusercontent.com/WendyH/3092dc755ad4a6c412e2fcd17c28d096/raw/GetLink_Moonwalk.cpp?_="+Str(nTimeNow)));
    if (HmsRegExMatch(sPatternMoonwalkFunction, sData, sFuncNew, 1, PCRE_SINGLELINE)) { 
      if (HmsMD5SumOfString(sFuncOld)==HmsMD5SumOfString(sFuncNew)) return;    // Если версия скрипта не отличается - выходим
      PodcastFolder[550] = ReplaceStr(PodcastFolder[550], sFuncOld, sFuncNew); // Заменяем старую функцию на новую
      HmsLogMessage(2, PodcastFolder[mpiTitle]+": Обновлена функция получения ссылки с moonwalk.cc!");
    }
  }
  //Вызов в главной процедуре: if (Pos(&apos;--noupdatemoonwalk&apos;, mpPodcastParameters)&lt;1) CheckMoonwalkFunction();
}

// ---------------------------------------------------------------------------------------
// Main program
{
  // if (Pos(&apos;--noupdatemoonwalk&apos;, mpPodcastParameters)&lt;1) CheckMoonwalkFunction();
  if (Pos(&apos;Wonky Config&apos;, FolderItem[510])&gt;0) {GetCFG(); ShowParametersForm();} else WONKY307Start();
//  WONKY307Start();
}</Value>
    </Property>
    <Property>
      <ID>572</ID>
      <Value>C++Script</Value>
    </Property>
    <Property>
      <ID>510</ID>
      <Value># http://www.hdkinoteatr.ru/engine/ajax/celebs.php?q=%C4
# Wonky Config 307.46 [13.12.2015]
# Author: "WendyH"
# About: "Hello flys 2:|isko|tarzann5|slawa321|linkey|mch|Leshiy71|Eugene|...|&amp;&amp; all who created"

MinVerHMS: 1.99
UrlBase: http://www.hdkinoteatr.com
mpiPodcastOptions: 1 # Включить "Скрипт формирует несколько ссылок"

# Объект обработки функции "Создать ленты подкастов" или "Пересоздания структуры подкста" в визуальной форме
CreatePodcast:
  # Запрос категорий с сайта и создание структуры "как там"
  CutBlock: (&lt;div[^&gt;]+class="sidetitle".*?&lt;/ul&gt;)
  SearchItems:
    SearchBlock: &lt;li.*?&gt;(.*?)&lt;/li&gt;
    mpiFilePath: &lt;a[^&gt;]+href="(.*?)"
    mpiTitle   : &lt;a.*?&gt;(.*?)&lt;/a&gt;
    AddParam1  : {ConditionField: mpiFilePath, ConditionExp: /tv/,       mpiPodcastParameters: --group=none,  mpiFolderSortOrder: -35}
    AddParam2  : {ConditionField: mpiFilePath, ConditionExp: /year/2017, mpiPodcastParameters: --group=none,  mpiFolderSortOrder: -35}
    AddParam2  : {ConditionField: mpiFilePath, ConditionExp: /year/2016, mpiPodcastParameters: --group=none,  mpiFolderSortOrder: -35}
    AddParam3  : {ConditionField: mpiFilePath, ConditionExp: /year/2015, mpiPodcastParameters: --group=none,  mpiFolderSortOrder: -35}
    AddParam4  : {ConditionField: mpiFilePath, ConditionExp: /year/2014, mpiPodcastParameters: --group=none,  mpiFolderSortOrder: -35}
    AddParam5  : {ConditionField: mpiFilePath, ConditionExp: /year/2013, mpiPodcastParameters: --group=alph}
    AddParam6  : {ConditionField: mpiFilePath, ConditionExp: /year/2012, mpiPodcastParameters: --group=alph}
    AddParam7  : {ConditionField: mpiFilePath, ConditionExp: /year/2011, mpiPodcastParameters: --group=alph}
    AddParam8  : {ConditionField: mpiFilePath, ConditionExp: /series/,   mpiPodcastParameters: --group=alph,  mpiFolderSortOrder: 4}

  CreateItems:
    # Создание каталога настроек для навигации с медиа плеера
    - Type: SettingsFolder
      mpiTitle   : &apos;00. Настройки подкаста&apos;
      CreateItems:
        - mpiTitle   : Выбор качества
          mpiFilePath: SettingName="--quality"
          CreateItems:
            - {mpiTitle: &apos;Качество - 720&apos;, mpiFilePath: -SetParam=720}
            - {mpiTitle: &apos;Качество - 640&apos;, mpiFilePath: -SetParam=640}
            - {mpiTitle: &apos;Качество - 480&apos;, mpiFilePath: -SetParam=480}
            - {mpiTitle: &apos;Качество - 360&apos;, mpiFilePath: -SetParam=360}
            - {mpiTitle: &apos;Использовать настройки мадиа-сервера&apos;, mpiFilePath: -OffParam}
        - mpiTitle   : Лимит загрузки страниц для обновления
          mpiFilePath: SettingName="--pages"
          CreateItems:
            - {mpiTitle: &apos;Максимум  5 страниц для загрузки&apos;, mpiFilePath: -SetParam=5 }
            - {mpiTitle: &apos;Максимум 10 страниц для загрузки&apos;, mpiFilePath: -SetParam=10}
            - {mpiTitle: &apos;Максимум 20 страниц для загрузки&apos;, mpiFilePath: -SetParam=20}
            - {mpiTitle: &apos;Максимум 50 страниц для загрузки&apos;, mpiFilePath: -SetParam=50}
            - {mpiTitle: &apos;Не ограничивать количество загружаемых страниц&apos;, mpiFilePath: -OffParam}
        - mpiTitle   : Год в названии
          mpiFilePath: SettingName="--yearintitle"
          CreateItems:
            - {mpiTitle: &apos;Добавлять год к названию&apos;,   mpiFilePath: -SetParam}
            - {mpiTitle: &apos;Не добавлять год к назвнию&apos;, mpiFilePath: -OffParam}
        - mpiTitle   : Заглавые буквы названий
          mpiFilePath: SettingName="--titlecase"
          CreateItems:
            - {mpiTitle: &apos;Все названия заглавными буквами&apos;,       mpiFilePath: -SetParam=upper}
            - {mpiTitle: &apos;Не делать названия заглавными буквами&apos;, mpiFilePath: -OffParam}
        - mpiTitle   : Рейтинг IMDb в названии
          mpiFilePath: SettingName="--ratingimdb"
          CreateItems:
            - {mpiTitle: &apos;Включить рейтинг IMDb&apos;,          mpiFilePath: -SetParam=1}
            - {mpiTitle: &apos;Включить рейтинг IMDb (полный)&apos;, mpiFilePath: -SetParam=2}
            - {mpiTitle: &apos;Выключить рейтинг IMDb&apos;,         mpiFilePath: -OffParam}
        - mpiTitle   : Рейтинг КиноПоиск в названии
          mpiFilePath: SettingName="--ratingkp"
          CreateItems:
            - {mpiTitle: &apos;Включить рейтинг КиноПоиск&apos;,          mpiFilePath: -SetParam=1}
            - {mpiTitle: &apos;Включить рейтинг КиноПоиск (полный)&apos;, mpiFilePath: -SetParam=2}
            - {mpiTitle: &apos;Выключить рейтинг КиноПоиск&apos;,         mpiFilePath: -OffParam}
        - mpiTitle   : Удаление ссылок при обновлении
          mpiFilePath: SettingName="--nodelitems"
          CreateItems:
            - {mpiTitle: &apos;Не удалять старые ссылки при обновлении&apos;, mpiFilePath: -SetParam}
            - {mpiTitle: &apos;Удалять старые ссылки при обновлении&apos;,    mpiFilePath: -OffParam}
        - mpiTitle   : Показ прогресса обновления на компьютере
          mpiFilePath: SettingName="--noprogress"
          CreateItems:
            - {mpiTitle: &apos;Не показывать прогресс обновления на компьютере&apos;, mpiFilePath: -SetParam}
            - {mpiTitle: &apos;Показывать прогресс обновления на компьютере&apos;,    mpiFilePath: -OffParam}
        - mpiTitle   : Cсылка на просмотр информации о видео
          mpiFilePath: SettingName="--vinfo"
          CreateItems:
            - {mpiTitle: &apos;Размер шрифта информации - мелкий&apos;,  mpiFilePath: -SetParam=0}
            - {mpiTitle: &apos;Размер шрифта информации - средний&apos;, mpiFilePath: -SetParam=1}
            - {mpiTitle: &apos;Размер шрифта информации - крупный&apos;, mpiFilePath: -SetParam=2}
            - {mpiTitle: &apos;Не добавлять ссылки "Информация о видео"&apos;, mpiFilePath: -OffParam}
        - mpiTitle   : Добавлять элементы с информацией о видео
          mpiFilePath: SettingName="--videoinfoitems"
          CreateItems:
            - {mpiTitle: &apos;Добавлять элементы с информацией о видео&apos;,    mpiFilePath: -SetParam}
            - {mpiTitle: &apos;Не добавлять элементы с информацией о видео&apos;, mpiFilePath: -OffParam}
        - mpiTitle   : Режим HDS
          mpiFilePath: SettingName="--hdsdump"
          CreateItems:
            - {mpiTitle: &apos;Режим HDS включен&apos;, mpiFilePath: -SetParam}
            - {mpiTitle: &apos;Режим HDS выключен&apos;,mpiFilePath: -OffParam}
        - mpiTitle   : Считывать свойства файла перед включением
          mpiFilePath: SettingName="--retrieve"
          CreateItems:
            - {mpiTitle: &apos;Считывать свойства перед включением, mpiFilePath: -SetParam}
            - {mpiTitle: &apos;Не считывать свойства перед включением&apos;,mpiFilePath: -OffParam}

    # Добавление папки поиска
    - Type: Search
      mpiTitle: &apos;01. Поиск&apos;
      CmdTitle: &apos;"Набрать текст"&apos;
      gsSuggestQuery    : &apos;http://www.hdkinoteatr.com/index.php?do=search&amp;subaction=search&amp;full_search=1&amp;titleonly=3&amp;story=&apos;
      gsSuggestResultCut: &apos;&apos;
      gsSuggestRegExpr  : &apos;(&lt;h3.*?&lt;/h3&gt;)&apos;
      gsSuggestMethod   : &apos;POST&apos;

   # Создание дополнительных подкастов (вне категорий)
    - Type: Folder
      mpiTitle   : 02. Топ 250
      mpiPodcastParameters: --group=none --maxingroup=300 --numbering
      CreateItems:
        - {Type: Podcast, mpiTitle: &apos;По рейтингу КиноПоиска&apos;, mpiFilePath: /top/?dlenewssortby=kp_rating&amp;dledirection=desc&amp;set_new_sort=dle_sort_top&amp;set_direction_sort=dle_direction_top,   mpiPodcastParameters: -WonkyBlock:TOP250}
        - {Type: Podcast, mpiTitle: &apos;По рейтингу IMDB&apos;,       mpiFilePath: /top/?dlenewssortby=imdb_rating&amp;dledirection=desc&amp;set_new_sort=dle_sort_top&amp;set_direction_sort=dle_direction_top, mpiPodcastParameters: -WonkyBlock:TOP250}
        - {Type: Podcast, mpiTitle: &apos;По посещаемости&apos;,        mpiFilePath: /top/?dlenewssortby=news_read&amp;dledirection=desc&amp;set_new_sort=dle_sort_top&amp;set_direction_sort=dle_direction_top,  mpiPodcastParameters: -WonkyBlock:TOP250}
        - {Type: Podcast, mpiTitle: &apos;По комментариям&apos;,        mpiFilePath: /top/?dlenewssortby=comm_num&amp;dledirection=desc&amp;set_new_sort=dle_sort_top&amp;set_direction_sort=dle_direction_top,   mpiPodcastParameters: -WonkyBlock:TOP250}
    - {Type: Podcast,  mpiTitle: &apos;03. Последние поступления&apos;, mpiFilePath: /&lt;PAGEPARAM&gt;?rnd=&lt;RND&gt;, mpiPodcastParameters: --pages=10 --group=none --delitems}

# Дополнительный объект для обработки ТОП 250 (указан в комментариях подкастов как -WonkyBlock:&lt;ИМЯ&gt;, где &lt;ИМЯ&gt; - наименование дополнительного блока)
TOP250:
  PagesInfo: {Pages: 1, Method: POST}
  CutBlock: dle-content(.*?)&lt;/table&gt;
  SearchItems:
    SearchBlock  : &lt;tr&gt;(.*?)&lt;/tr&gt;
    mpiFilePath  : &lt;a[^&gt;]+href=["&apos;](.*?)["&apos;]
    mpiTitle     : (&lt;a.*&lt;/a&gt;)
    mpiYear      : &lt;a.*?&gt;.*?(\d{4})
    ForceFolder  : 1

# Объект поиска и обработки ссылок на видео
GetList:
  ChangeValues:
    - {ConditionField: mpiFilePath, ConditionExp: ^(?!http:/), mpiFilePath: &apos;/index.php?do=search&amp;subaction=search&amp;full_search=0&amp;result_from=1&amp;result_from=1&amp;titleonly=3&amp;story=&lt;TITLE4SEARCH&gt;&apos;, PAGEPARAM: &amp;search_start=&lt;PN&gt;, METHOD: POST}

  GetPagesFromPageNavi:  {Pages: &lt;div[^&gt;]+class="navigation"&gt;.*/page/\d+/"&gt;(\d+)&lt;/a&gt;, StartPage: 1, PageMul: 1, PageParam: /page/&lt;PN&gt;/, Pages2: &lt;div[^&gt;]+class="navigation"&gt;.*href=#&gt;(\d+)&lt;/a&gt;}
  SearchItems:
    SearchBlock  : class="base shortstory"&gt;(.*?argcat".*?)&lt;/div&gt;\s*?&lt;/div&gt;\s*?&lt;/div&gt;
    mpiFilePath  : &lt;h\d.*?&lt;a href="(.*?)"
    mpiTitle     : alt="(.*?)"
    mpiThumbnail : &lt;img[^&gt;]+src=["&apos;](.*?)["&apos;]
    mpiGenre     : &lt;p[^&gt;]+class="argcat"&gt;.*?(&lt;a.*?)&lt;/p&gt;
    mpiYear      : &lt;h\d.*?&lt;a.*?&gt;.*?\((\d{4}).*?&lt;/h\d&gt;
    Exclude1     : {IfKey: --skipserials, ConditionField: &lt;TEXTITEM&gt;, ConditionExp: &apos;argcat"&gt;.*?&lt;a[^&gt;]+/series/&apos;}
    id3070       : class="imdb"&gt;IMDb&lt;/span&gt;(.*?)&lt;
    id3071       : class="imdb"&gt;.*?class="rating-num".*?([\s\d]+)
    id3072       : class="kp"&gt;.*?&lt;/span&gt;(.*?)&lt;
    id3073       : class="kp"&gt;.*?class="rating-num".*?([\s\d]+)
    AddParam1: {ConditionField: &lt;PARAMS&gt;, ConditionExp: --ratingimdb=1, mpiTitle: "Format(&apos;IMDb %s&apos;,      [id3070])       "}
    AddParam2: {ConditionField: &lt;PARAMS&gt;, ConditionExp: --ratingimdb=2, mpiTitle: "Format(&apos;IMDb %s [%s]&apos;, [id3070,id3071])"}
    AddParam3: {ConditionField: &lt;PARAMS&gt;, ConditionExp: --ratingkp=1,   mpiTitle: "Format(&apos;КП %s&apos;,        [id3072])       "}
    AddParam4: {ConditionField: &lt;PARAMS&gt;, ConditionExp: --ratingkp=2,   mpiTitle: "Format(&apos;КП %s [%s]&apos;,   [id3072,id3073])"}
    ForceFolder  : 1

# Правила для коллектора
CollectionRules:
  Title: Коллектор
  CollectorFolders:
    - {ConditionField: &lt;TEXTITEM&gt;, ConditionExp: argcat.*?/animation/, Title: &apos;Мультфильмы&apos;}
    - {ConditionField: &lt;TEXTITEM&gt;, ConditionExp: argcat.*?/series/,    Title: &apos;Фильмы&apos;, Negative: 1}

# Объект добавления выбора настроек в визуальную форму к встренным стандартным
AddVisualParameters:
  - Class: ComboBox
    Caption: Выбор качества (высота кадра)
    caWidth: 250
    Hint   : Установка принудительного выбора качества видео (если таковое есть по ссылке)
    coWidth: 135
    Param0 : Качество - 720|--quality=720
    Param1 : Качество - 640|--quality=640
    Param2 : Качество - 480|--quality=480
    Param3 : Качество - 360|--quality=360

  - Class: CheckBox
    Caption: Режим HDS
    Hint   : Режим испольования транскодера hdsdump.exe
    Param  : --hdsdump

  - Class: CheckBox
    Caption: Считывать свойства файла перед включением
    Hint   : Перед включением видео на просмотр, если ещё не прочитаны свойства - прочитать.
    Param  : --retrieve

  - Class: ComboBox
    Caption: Рейтинг IMDb
    caWidth: 150
    Hint   : Добавлять к названию информацию о рейтинге IMDb
    coWidth: 235
    Param0 : Показывать только рейтинг    |--ratingimdb=1
    Param1 : Подробно (количество голосов)|--ratingimdb=2

  - Class: ComboBox
    Caption: Рейтинг КиноПоиск
    caWidth: 150
    Hint   : Добавлять к названию информацию о рейтинге КиноПоиск
    coWidth: 235
    Param0 : Показывать только рейтинг    |--ratingkp=1
    Param1 : Подробно (количество голосов)|--ratingkp=2

  - Class: CheckBox
    Caption: Windows XP ie6 fix
    Hint   : Решение проблемы не обновляемых подкастов c установленным ie6 (нет распаковки ответа при gzip,deflate)  
    Param  : --winxpfix

  - Class: CheckBox
    Caption: Лог выбора качества видео
    Hint   : Показывать информацию о доступном и выбранном качестве видео при получении ссылки
    Param  : --qualitylog

  - Class: CheckBox
    Caption: Пропускать сериалы
    Hint   : Пропускать фильмы категории "Cериалы"
    Param  : --skipserials

  - Class: ComboBox
    Caption: Ссылка на информацию о видео
    caWidth: 255
    Hint   : Добавляет ссылку на информацию о видео (мельче шрифт - больше текста)
    coWidth: 130
    Param0 : Мелкий шрифт |--vinfo=0
    Param1 : Средний шрифт|--vinfo=1
    Param2 : Крупный шрифт|--vinfo=2</Value>
    </Property>
    <Property>
      <ID>511</ID>
      <Value>Нет скрипта</Value>
    </Property>
    <Property>
      <ID>550</ID>
      <Value>int  DEBUG        = 0;
int  LOG          = 0;
int  UPPER        = 0;
int  YEARINTITLE  = 0;
int  REMSERIEWORD = 0;
bool gbDebug      = false;
bool gbQualityLog = false, gbQual, gbIE6Fix=false; 
int  gnTotalItems = 0; string gsFrmtSeries = &apos;%.2d&apos;;
TDateTime gStart  = Now; TStrings COOKIES = TStringList.Create();
string
    gsUrlBase       = &apos;http://www.hdkinoteatr.com&apos;,
    gsCacheDir      = IncludeTrailingBackslash(HmsTempDirectory)+&apos;hdkinoteatr.com/&apos;,
    gsPreviewPrefix = "hdkinoteatr",
    gsPodcastName   = "HDKinoTeatr",
    gsHeaders = &apos;http://www.hdkinoteatr.com/\r\n&apos;+
                &apos;Accept-Encoding: identity\r\n&apos;+
                &apos;User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0\r\n&apos;+
                &apos;Origin: http://moonwalk.cc\r\n&apos;+
                &apos;X-Requested-With: XMLHttpRequest\r\n&apos;+
                &apos;X-Data-Pool: Stream\r\n&apos;+
                &apos;Accept: */*\r\n&apos;+
                &apos;Accept-Language: ru-RU,ru;q=0.9,en;q=0.8\r\n&apos;+
                &apos;Cookie: clcktest=1;\r\n&apos;;
    
///////////////////////////////////////////////////////////////////////////////
// Создание ссылки на видео
THmsScriptMediaItem CreateMediaItem(THmsScriptMediaItem Folder, string sTitle, string sLink, string sImg=&apos;&apos;, string sTime=&apos;&apos;) {
  if (sTime==&apos;&apos;) sTime = &apos;01:40:00.000&apos;;
  THmsScriptMediaItem Item = HmsCreateMediaItem(sLink, Folder.ItemID);
  Item[mpiTitle     ] = sTitle;
  Item[mpiThumbnail ] = sImg;
  Item[mpiCreateDate] = VarToStr(IncTime(gStart,0,-gnTotalItems,0,0));
  Item[mpiTimeLength] = sTime;
  gnTotalItems++;
  return Item;
}

// ----------------------------------------------- Получение свойств видео ----
void RetrieveVideoProperties() { 
    if ((Trim(PodcastItem[4444])==&apos;&apos;) &amp;&amp; (Trim(PodcastItem[mpiAudioStreamList])==&apos;&apos;)) {
      PodcastItem[4444] = &apos;-&apos;;
      PodcastItem.RetrieveProperties();
    }
}

  ///////////////////////////////////////////////////////////////////////////////
  // Формирование ссылки для воспроизведения через HDSDump.exe
  void HDSLink(string sLink, string sQual = &apos;&apos;) {
    string sData, sExePath, sVal;
    sExePath = ProgramPath+&apos;\\Transcoders\\hdsdump.exe&apos;;
    MediaResourceLink = Format(&apos;cmd://"%s" --manifest "%s" --outfile "&lt;OUTPUT FILE&gt;" --threads 2&apos;, [sExePath, sLink]);
    if (sQual       != &apos;&apos;) MediaResourceLink += &apos; --quality &apos; + sQual;
    if (mpTimeStart != &apos;&apos;) MediaResourceLink += &apos; --skip &apos;    + mpTimeStart;
    PodcastItem[mpiTimeSeekDisabled] = true;
    // Получение длительности видео, если она не установлена
    if ((Trim(PodcastItem[mpiTimeLength])==&apos;&apos;) || (RightCopy(PodcastItem[mpiTimeLength], 6)==&apos;00.000&apos;)) {
      sData = HmsDownloadUrl(sLink, &apos;Referer: &apos;+sLink, true);
      if (HmsRegExMatch(&apos;&lt;duration&gt;(\\d+)&apos;, sData, sVal))
        PodcastItem.Properties[mpiTimeLength] = StrToInt(sVal);
    }
  }
  
  ///////////////////////////////////////////////////////////////////////////////
  // Получение ссылки с moonwalk.cc
  void GetLink_Moonwalk(string sLink) {
    string sHtml, sData, sPage, sPost, sManifest, sVer, sSec, sQual, sVal, sServ, sRet, sCookie, sVar;
    int i; float f; TRegExpr RE; bool bHdsDump, bQualLog;
    
    string sHeaders = sLink+&apos;\r\n&apos;+
                      &apos;Accept-Encoding: identity\r\n&apos;+
                      &apos;User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0\r\n&apos;;
    
    // Проверка установленных дополнительных параметров
    HmsRegExMatch(&apos;--quality=(\\w+)&apos;, mpPodcastParameters, sQual);
    bHdsDump = Pos(&apos;--hdsdump&apos;      , mpPodcastParameters) &gt; 0;
    bQualLog = Pos(&apos;--qualitylog&apos;   , mpPodcastParameters) &gt; 0;
    
    sLink = ReplaceStr(sLink, &apos;moonwalk.co&apos;, &apos;moonwalk.cc&apos;);
    sLink = ReplaceStr(sLink, &apos;moonwalk.pw&apos;, &apos;moonwalk.cc&apos;);
    HmsRegExMatch2(&apos;//(.*?)(/.*)&apos;, sLink, sServ, sPage);
    sHtml = HmsSendRequestEx(sServ, sPage, &apos;GET&apos;, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, sHeaders, &apos;&apos;, 80, 0, sRet, true);
    if (HmsRegExMatch(&apos;&lt;iframe[^&gt;]+src="(http.*?)"&apos;, sHtml, sLink)) {
      sLink = ReplaceStr(sLink, &apos;moonwalk.co&apos;, &apos;moonwalk.cc&apos;);
      sLink = ReplaceStr(sLink, &apos;moonwalk.pw&apos;, &apos;moonwalk.cc&apos;);
      HmsRegExMatch2(&apos;//(.*?)(/.*)&apos;, sLink, sServ, sPage);
      sHtml = HmsSendRequestEx(sServ, sPage, &apos;GET&apos;, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, sHeaders, &apos;&apos;, 80, 0, sRet, true);
    }
    if (HmsRegExMatch(&apos;"csrf-token"\\s+content="(.*?)"&apos;, sHtml, sVal)) sHeaders += &apos;X-CSRF-Token:&apos;+sVal+&apos;\r\n&apos;;
    sCookie = "";
    if (HmsRegExMatch(&apos;Set-Cookie:&apos;, sRet, &apos;&apos;)) {
      while(HmsRegExMatch2(&apos;Set-Cookie:\\s*([^;]+)(.*)&apos;, sRet, sVal, sRet, PCRE_SINGLELINE)) sCookie += " "+sVal+";";
    }
    if (!HmsRegExMatch(&apos;(https?://.*?)/&apos;, sLink, sVal)) sVal = &apos;http://moonwalk.cc&apos;;
    sHeaders += &apos;Cookie:&apos;+sCookie+&apos;\r\n&apos;+
                &apos;Origin: &apos;+sVal+&apos;\r\n&apos;+
                &apos;X-Requested-With: XMLHttpRequest\r\n&apos;;
    // Поиск дополнительных HTTP заголовков, которые нужно установить
    if (HmsRegExMatch(&apos;ajaxSetup\\([^)]+headers:(.*?)}&apos;, sHtml, sPage)) {
      while(HmsRegExMatch3(&apos;["\&apos;]([\\w-_]+)["\&apos;]\\s*?:\\s*?["\&apos;](\\w+)["\&apos;](.*)&apos;, sPage, sVal, sVer, sPage, PCRE_SINGLELINE)) sHeaders += sVal+&apos;: &apos;+sVer+&apos;\r\n&apos;;
    }
    
    if (!HmsRegExMatch2(&apos;/new_session.*?(\\w+)\\s*?=\\s*?\\{(.*?)\\}&apos;, sHtml, sVal, sPost)) {
      HmsLogMessage(2, mpTitle+&apos;: Не найдены параметры new_session на странице.&apos;);
    }
    sPost = ReplaceStr(sPost, &apos;:&apos;, &apos;=&apos;);
    sPost = ReplaceStr(sPost, &apos; &apos;, &apos;&apos; );
    sPost = ReplaceStr(sPost, "&apos;", &apos;&apos; );
    sPost = ReplaceStr(sPost, &apos;,&apos;, &apos;&amp;&apos;);
    sPost = ReplaceStr(sPost, &apos;condition_detected?1=&apos;, &apos;&apos;);
    sPost = HmsRemoveLineBreaks(sPost);
    // Замена имён переменных их значениями в параметрах запроса
    sData = sPost;
    while(HmsRegExMatch2(&apos;.(=(\\w+).*)&apos;, sData, sData, sVar)) {
      if (HmsRegExMatch(&apos;var\\s&apos;+sVar+&apos;\\s*=\\s*[\&apos;"](.*?)[\&apos;"]&apos;, sHtml, sVal))
        sPost = ReplaceStr(sPost, &apos;=&apos;+sVar, &apos;=&apos;+sVal);
    }
    // Замена имён переменных их значениями в параметрах запроса, установленных после
    sData = sHtml;
    while(HmsRegExMatch3(&apos;.(post_method\\.(\\w+)\\s*=\\s*(\\w+).*)&apos;, sData, sData, sVar, sVal)) {
      if (HmsRegExMatch(&apos;var\\s&apos;+sVal+&apos;\\s*=\\s*[\&apos;"](.*?)[\&apos;"]&apos;, sHtml, sVal))
        sPost += &apos;&amp;&apos;+sVar+&apos;=&apos;+sVal;
    }
    HmsRegExMatch(&apos;//(.*?)/&apos;, sLink, sServ);
    sData = HmsSendRequest(sServ, &apos;/sessions/new_session&apos;, &apos;POST&apos;, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, sHeaders, sPost, 80, true);
    sData = HmsJsonDecode(sData);
    
    if (bHdsDump &amp;&amp; HmsRegExMatch(&apos;"manifest_f4m"\\s*?:\\s*?"(.*?)"&apos;, sData, sLink)) {
      
      HDSLink(sLink, sQual);
      
    } else if (HmsRegExMatch(&apos;"manifest_m3u8"\\s*?:\\s*?"(.*?)"&apos;, sData, sLink)) {
      MediaResourceLink = &apos; &apos; + sLink;
      // Получение длительности видео, если она не установлена
      // ------------------------------------------------------------------------
      sData = HmsDownloadUrl(sLink, &apos;Referer: &apos;+sHeaders, true);
      sVal  = Trim(PodcastItem[mpiTimeLength]);
      if ((sVal==&apos;&apos;) || (RightCopy(sVal, 6)==&apos;00.000&apos;)) {
        if (HmsRegExMatch(&apos;(http.*?)[\r\n$]&apos;, sData, sLink)) {
          sHtml = HmsDownloadUrl(sLink, &apos;Referer: &apos;+sHeaders, true);
          RE = TRegExpr.Create(&apos;#EXTINF:(\\d+.\\d+)&apos;, PCRE_SINGLELINE);
          if (RE.Search(sHtml)) do f += StrToFloatDef(RE.Match(1), 0); while (RE.SearchAgain());
          RE.Free;
          PodcastItem.Properties[mpiTimeLength] = Round(f);
        }
      }
      // ------------------------------------------------------------------------
      
      // Если установлен ключ --quality или в настройках подкаста выставлен приоритет выбора качества
      // ------------------------------------------------------------------------
      string sSelectedQual = &apos;&apos;, sMsg, sHeight; int iMinPriority = 99, iPriority; 
      if ((sQual!=&apos;&apos;) || (mpPodcastMediaFormats!=&apos;&apos;)) {
        TStringList QLIST = TStringList.Create();
        // Собираем список ссылок разного качества
        RE = TRegExpr.Create(&apos;#EXT-X-STREAM-INF:RESOLUTION=\\d+x(\\d+).*?[\r\n](http.+)$&apos;, PCRE_MULTILINE);
        if (RE.Search(sData)) do {
          sHeight = Format(&apos;%.5d&apos;, [StrToInt(RE.Match(1))]);
          sLink   = RE.Match(2);
          QLIST.Values[sHeight] = sLink;
          iPriority = HmsMediaFormatPriority(StrToInt(sHeight), mpPodcastMediaFormats);
          if ((iPriority &gt;= 0) &amp;&amp; (iPriority &lt; iMinPriority)) {
            iMinPriority  = iPriority;
            sSelectedQual = sHeight;
          }
        } while (RE.SearchAgain());
        RE.Free;
        QLIST.Sort();
        if (QLIST.Count &gt; 0) {
          if      (sQual==&apos;low&apos;   ) sSelectedQual = QLIST.Names[0];
          else if (sQual==&apos;medium&apos;) sSelectedQual = QLIST.Names[Round((QLIST.Count-1) / 2)];
          else if (sQual==&apos;high&apos;  ) sSelectedQual = QLIST.Names[QLIST.Count - 1];
        }
        if (sSelectedQual != &apos;&apos;) MediaResourceLink = &apos; &apos; + QLIST.Values[sSelectedQual];
        if (bQualLog) {
          sMsg = &apos;Доступное качество: &apos;;
          for (i = 0; i &lt; QLIST.Count; i++) {
            if (i&gt;0) sMsg += &apos;, &apos;;
            sMsg += IntToStr(StrToInt(QLIST.Names[i])); // Обрезаем лидирующие нули
          }
          if (sSelectedQual != &apos;&apos;) sSelectedQual = IntToStr(StrToInt(sSelectedQual));
          else sSelectedQual = &apos;Auto&apos;;
          sMsg += &apos;. Выбрано: &apos; + sSelectedQual;
          HmsLogMessage(1, mpTitle+&apos;. &apos;+sMsg);
        }
        QLIST.Free;
      }
      // ------------------------------------------------------------------------
      
    } else if (HmsRegExMatch(&apos;"manifest_mp4"\\s*?:\\s*?"(.*?)"&apos;, sData, sLink)) {
      sData = HmsDownloadURL(sLink, &apos;Referer: &apos;+sHeaders);
      // Поддержка установленных приоритетов качества в настройках подкаста
      TJsonObject JSON = TJsonObject.Create();
      int height, selHeight=0, minPriority=99, priority, maxHeight;
      if (sQual==&apos;medium&apos;) sQual=&apos;480&apos;; if (sQual==&apos;low&apos;) sQual=&apos;360&apos;;
      maxHeight = StrToIntDef(sQual, 4320);
      try {
        JSON.LoadFromString(sData);
        for (i=0; i&lt;JSON.Count; i++) {
          sVer  = JSON.Names[i];
          sLink = JSON.S[sVer];
          height = StrToIntDef(sVer, 0);
          if ((sQual!=&apos;&apos;) &amp;&amp; (sQual==sVer)) { MediaResourceLink = sLink; selHeight = height; break; }
          if (mpPodcastMediaFormats!=&apos;&apos;) {
            priority = HmsMediaFormatPriority(height, mpPodcastMediaFormats);
            if ((priority&gt;=0) &amp;&amp; (priority&lt;minPriority)) {
              MediaResourceLink = sLink; minPriority = priority;
            }
          } else if ((height &gt; selHeight) &amp;&amp; (height &lt;= maxHeight)) {
            MediaResourceLink = sLink; selHeight = height;
          }
        }
      } finally { JSON.Free(); }
      
    } else {
      HmsLogMessage(2, mpTitle+&apos;: Ошибка получения данных от new_session.&apos;);
      if (DEBUG==1) {
        if (ServiceMode) sVal = SpecialFolderPath(0x37); // Общая папака "Видео"
          else           sVal = SpecialFolderPath(0);    // Рабочий стол
          sVal = IncludeTrailingBackslash(sVal)+&apos;Moonwalk.log&apos;;
        HmsStringToFile(sHeaders+&apos;\r\nsHtml:\r\n&apos;+sHtml+&apos;\r\nsPost:\r\n&apos;+sPost+&apos;\r\nsData:\r\n&apos;+sData, sVal);
        HmsLogMessage(1, mpTitle+&apos;: Создан лог файл &apos;+sVal);
      }
    }
  } // Конец функции поулчения ссылки с moonwalk.cc

///////////////////////////////////////////////////////////////////////////////
// Создание серий из плейлиста
void CreateSeriesFromPlaylist(THmsScriptMediaItem Folder, string sLink, string sName=&apos;&apos;) {
  string sData, s1, s2, s3; int i; TJsonObject JSON, PLITEM; TJsonArray PLAYLIST; // Объявляем переменные
  
  // Если передано имя плейлиста, то создаём папку, в которой будем создавать элементы
  if (Trim(sName)!=&apos;&apos;) Folder = Folder.AddFolder(sName);
  
  // Если в переменной sLink сожержится знак &apos;{&apos;, то там не ссылка, а сами данные Json
  if (Pos(&apos;{&apos;, sLink)&gt;0) {
    sData = sLink;
  } else {
    sData = HmsDownloadURL(sLink, "Referer: "+mpFilePath, true);  // Загружаем плейлист
    sData = HmsUtf8Decode(sData);
    //sData = DecodeUppodTextHash(sData);                           // Дешифруем
  }
  
  JSON  = TJsonObject.Create();                 // Создаём объект для работы с Json
  try {
    JSON.LoadFromString(sData);                 // Загружаем json данные в объект
    PLAYLIST = JSON.A[&apos;playlist&apos;];              // Пытаемся получить array с именем &apos;playlist&apos;
    if (PLAYLIST==nil) PLAYLIST = JSON.AsArray; // Если массив &apos;playlist&apos; получить не получилось, то представляем все наши данные как массив
    if (PLAYLIST!=nil) {                        // Если получили массив, то запускаем обход всех элементов в цикле
      for (i=0; i&lt;PLAYLIST.Length; i++) {
        PLITEM = PLAYLIST[i];                   // Получаем текущий элемент массива
        sName = PLITEM.S[&apos;comment&apos;];            // Название - значение поля comment
        sLink = PLITEM.S[&apos;file&apos;   ];            // Получаем значение ссылки на файл
        sName = ReplaceStr(ReplaceStr(HmsHtmlToText(sName, 65001), "\n", &apos; &apos;), "\r", &apos;&apos;);
        // Форматируем числовое представление серий в названии
        // Если в названии есть число, то будет в s1 - то, что стояло перед ним, s2 - само число, s3 - то, что было после числа
        if (HmsRegExMatch3(&apos;^(.*?)(\\d+)(.*)$&apos;, sName, s1, s2, s3))
          sName = Trim(Format(&apos;%s %.2d %s&apos;, [s1, StrToInt(s2), s3])); // Форматируем имя - делаем число двухцифровое (01, 02...)
        if (LeftCopy(sLink, 4)==&apos;oid=&apos;) sLink = &apos;http://vk.com/video_ext.php?&apos;+Trim(sLink);
        
        // Проверяем, если это вложенный плейлист - запускаем создание элементов из этого плейлиста рекурсивно
        if (PLITEM.B[&apos;playlist&apos;])
          CreateSeriesFromPlaylist(Folder, PLITEM.S[&apos;playlist&apos;], sName);
        else
          CreateMediaItem(Folder, sName, sLink); // Иначе просто создаём ссылки на видео
      }
    } // end if (PLAYLIST!=nil)
    
  } finally { JSON.Free; }                      // Какие бы ошибки не случились, освобождаем объект из памяти
}

// ----------------------------------------------------------------------------
void CreateVideoInfoItem(char sName, TStrings ADDINFO) {
  THmsScriptMediaItem Item;
  Item = HmsCreateMediaItem(&apos;-VideoPreview&apos;+IntToStr(gnTotalItems), PodcastItem.ItemID);
  Item[mpiTitle     ] = HmsHtmlToText(sName);
  Item[mpiThumbnail ] = &apos;http://wonky.lostcut.net/vids/info.jpg&apos;;
  Item[mpiCreateDate] = VarToStr(IncTime(gStart,0,-gnTotalItems,0,0)); gnTotalItems++;
  Item[mpiTimeLength] = &apos;00:00:20.000&apos;;
  
  string sInfo = &apos;&apos;;
  if (ADDINFO.Values[&apos;Year&apos;    ]) sInfo += "&lt;c:#FFC3BD&gt;Год: &lt;/c&gt;"     +ADDINFO.Values["Year"    ]+" ";
  if (ADDINFO.Values[&apos;Country&apos; ]) sInfo += "&lt;c:#FFC3BD&gt;Страна: &lt;/c&gt;"  +ADDINFO.Values["Country" ] + "|";
  if (ADDINFO.Values[&apos;Director&apos;]) sInfo += "&lt;c:#FFC3BD&gt;Режиссёр: &lt;/c&gt;"+ADDINFO.Values["Director"] + "|";
  if (ADDINFO.Values[&apos;Producer&apos;]) sInfo += "&lt;c:#FFC3BD&gt;Продюсер: &lt;/c&gt;"+ADDINFO.Values["Producer"] + "|";
  if (ADDINFO.Values[&apos;Author&apos;  ]) sInfo += "&lt;c:#FFC3BD&gt;Сценарий: &lt;/c&gt;"+ADDINFO.Values["Author"  ] + "|";
  if (ADDINFO.Values[&apos;Composer&apos;]) sInfo += "&lt;c:#FFC3BD&gt;Композитор: &lt;/c&gt;"+ADDINFO.Values["Composer"]+"|";
  if (ADDINFO.Values[&apos;Time&apos;    ]) sInfo += "&lt;c:#FFC3BD&gt;Длительность: &lt;/c&gt;"+ADDINFO.Values["Time"] + "|";
  if (ADDINFO.Values[&apos;Actors&apos;  ]) sInfo += "&lt;c:#FFC3BD&gt;В ролях: &lt;/c&gt;" +ADDINFO.Values["Actors"  ] + "|";
  if (ADDINFO.Values[&apos;Translate&apos;])sInfo += "&lt;c:#FFC3BD&gt;Перевод: &lt;/c&gt;" +ADDINFO.Values["Translate"]+ "|";
  if (ADDINFO.Values[&apos;Rating&apos;  ]) sInfo += "&lt;c:#FFC3BD&gt;Рейтинг: &lt;/c&gt;" +ADDINFO.Values["Rating"  ] + "|";
  sInfo = Copy(sInfo, 1, Length(sInfo)-1);
  TStrings INFO = TStringList.Create();  
  INFO.Values[&apos;Poster&apos;] = ADDINFO.Values[&apos;Poster&apos;];
  INFO.Values[&apos;Title&apos; ] = ADDINFO.Values[&apos;Title&apos; ];
  INFO.Values[&apos;Info&apos;  ] = Trim(sInfo);
  INFO.Values[&apos;Categ&apos; ] = ADDINFO.Values[&apos;Genre&apos; ];
  INFO.Values[&apos;Descr&apos; ] = ADDINFO.Values[&apos;Descr&apos; ];
  Item[1001001] = INFO.Text;
  INFO.Free();
}
// ----------------------------------------------------------------------------
void AddVideoInfoItems(TStrings ADDINFO) {
  if (ADDINFO.Values[&apos;Director&apos;]) CreateVideoInfoItem(&apos;Режиссёр: &apos;+ADDINFO.Values[&apos;Director&apos;], ADDINFO); 
  if (ADDINFO.Values[&apos;Country&apos; ]) CreateVideoInfoItem(&apos;Страна: &apos;  +ADDINFO.Values[&apos;Country&apos; ], ADDINFO); 
  if (ADDINFO.Values[&apos;Budget&apos;  ]) CreateVideoInfoItem(&apos;Бюджет: &apos;  +ADDINFO.Values[&apos;Budget&apos;  ], ADDINFO); 
  if (ADDINFO.Values[&apos;Genre&apos;   ]) CreateVideoInfoItem(&apos;Жанр: &apos;    +ADDINFO.Values[&apos;Genre&apos;   ], ADDINFO); 
  string sRating = ADDINFO.Values[&apos;Rating&apos;];
  HmsRegExMatch(&apos;(КП.*)&apos;, sRating, sRating);
  if (sRating) CreateVideoInfoItem(&apos;Рейтинг: &apos; +sRating, ADDINFO); 
}

// -------------------------------------------- Получение ссылки на vk.com ----
bool GetLink_VK2(char sLink) {
  char sHtml, sVal, host, uid, vkid, vtag, max_hd, no_flv, res;
  char ResolutionList=&apos;0:240, 1:360, 2:480, 3:720&apos;, sQAval, sQSel;
  int i, iPriority=0, iMinPriority=99; int nFlag=0; 
  string sRet=&apos;&apos;, sPost=&apos;&apos;, sOid, sID, sLnk2=&apos;&apos;;
  
  sHtml = HmsDownloadUrl(sLink, &apos;Referer: &apos;+gsHeaders, true);    
  sHtml = ReplaceStr(sHtml, &apos;\\&apos;, &apos;&apos;);
  host = &apos;&apos;; max_hd = &apos;2&apos;;
  
  if (!HmsRegExMatch(&apos;vtag["\&apos;:=\\s]+([0-9a-z]+)&apos;, sHtml, vtag)) {
    if (HmsRegExMatch(&apos;&lt;div style="position:absolute; top:50%; text-align:center; right:0pt; left:0pt;.*?&gt;(.*?)&lt;/div&gt;&apos;, sHtml, sLink)) {
      HmsLogMessage(2, PodcastItem.ItemOrigin.ItemParent[mpiTitle]+&apos;: vk.com сообщает - &apos;+HmsHtmlToText(sLink));
      if (random &gt; 0.5) MediaResourceLink = &apos;http://wonky.lostcut.net/vids/enotallow.avi&apos;;
      else VideoMessage(&apos;&apos;, &apos;VK.COM СООБЩАЕТ:\n\n&apos;+HmsHtmlToText(sLink));
    } else {
      HmsLogMessage(2, mpTitle+&apos;: не удалось обработать ссылку на vk.com&apos;);
      MediaResourceLink = &apos;http://wonky.lostcut.net/vids/error_getlink.avi&apos;;
    }
    return true;
  }
  HmsRegExMatch(&apos;[^a-z]host[=:"\&apos;\\s]+(.*?)["\&apos;&amp;;,]&apos;, sHtml, host  );
  HmsRegExMatch(&apos;[^a-z]uid[=:"\&apos;\\s]+([0-9]+)&apos;,       sHtml, uid   );
  HmsRegExMatch(&apos;no_flv.*?(\\d)&apos;       ,              sHtml, no_flv);
  HmsRegExMatch(&apos;(?&gt;hd":"|hd=|video_max_hd.*?)(\\d)&apos;, sHtml, max_hd);
  HmsRegExMatch(&apos;[^a-z]vkid[=:"\&apos;\\s]+([0-9]+)&apos;,      sHtml, vkid  );
  HmsRegExMatch(max_hd+&apos;:(\\d+)&apos;,            ResolutionList, res   );
  
  sQAval = &apos;Доступное качество: &apos;; sQSel = &apos;&apos;;
  HmsRegExMatch(&apos;--quality=(\\d+)&apos;, mpPodcastParameters, sQSel);
  
  // Если включен приоритет форматов, то ищем ссылку на более приоритетное качество
  if (gbQualityLog || (mpPodcastMediaFormats!=&apos;&apos;)) for (i=StrToIntDef(max_hd, 3); i&gt;=0; i--) {
    HmsRegExMatch(IntToStr(i)+&apos;:(\\d+)&apos;, ResolutionList, sVal);
    sQAval += sVal + &apos;  &apos;;
    if (sQSel != &apos;&apos;) {
      if (StrToIntDef(res, 0)&gt;StrToIntDef(sQSel, 0)) res = sVal;
    } else if (mpPodcastMediaFormats != &apos;&apos;) {
      iPriority = HmsMediaFormatPriority(StrToIntDef(sVal, 0), mpPodcastMediaFormats);
      if ((iPriority&gt;=0)&amp;&amp;(iPriority&lt;iMinPriority)) {iMinPriority = iPriority; res=sVal;}
    }
  }
  if (gbQualityLog) HmsLogMessage(1, mpTitle+&apos;: &apos;+sQAval+&apos;Выбрано: &apos;+res);
  
  if (LeftCopy(uid, 1)!=&apos;u&apos;) uid = &apos;u&apos; + Trim(uid);
  if (Trim(host)==&apos;&apos;) HmsRegExMatch(&apos;ajax.preload.*?&lt;img[^&gt;]+src="(http://.*?/)&apos;, sHtml, host);
  
  if (uid==&apos;0&apos;) MediaResourceLink = host+&apos;assets/videos/&apos;+vtag+&apos;&apos;+vkid+&apos;.vk.flv&apos;;
  else          MediaResourceLink = host + uid+&apos;/videos/&apos;+vtag+&apos;.&apos;+res+&apos;.mp4&apos;;
  HmsRegExMatch(";url"+res+"=(.*?)&amp;", sHtml, MediaResourceLink);
  return true;
}

// --------------------------------------------------- Вход на сайт vk.com ----
bool LogInSiteVK() {
  string sHtml, sData, sName, sVal, sPost, sServ, sRet; int nFlag;
  bool success = true;
  TRegExpr RE = TRegExpr.Create(&apos;&lt;input[^&gt;]+name="(.*?)"[^&gt;]+value="(.*?)"&apos;, PCRE_SINGLELINE);
  
  sHtml = HmsDownloadURL("https://vk.com", "Referer: "+gsHeaders, true);
  sHtml = HmsRemoveLineBreaks(HmsUtf8Decode(sHtml));
  sPost = "";
  if (HmsRegExMatch(&apos;&lt;form[^&gt;]+quick_login(.*?)&lt;/form&gt;&apos;, sHtml, sData)) {
    if (RE.Search(sData)) do {
      sName = RE.Match(1);
      sVal  = RE.Match(2);
      if ((sName=="email") || (sName=="pass")) continue;
      sPost += Format("%s=%s&amp;", [sName, sVal]);
    } while (RE.SearchAgain());
    sPost += Format("email=%s&amp;pass=%s", [HmsHttpEncode(mpPodcastProxyUserName), HmsHttpEncode(mpPodcastProxyPassword)]);
    nFlag = StrToInt(&apos;$80000000&apos;); // INTERNET_FLAG_RELOAD;                                                                             
    sHtml = HmsSendRequestEx(&apos;login.vk.com&apos;, &apos;/?act=login&apos;, &apos;POST&apos;, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, gsHeaders, sPost, 443, nFlag, sRet, true);
    sHtml = sRet + Trim(sHtml);
    success = HmsRegExMatch("onLoginDone", sHtml, &apos;&apos;);
  }
  RE.Free();
  if (!success) {
    HmsLogMessage(2, "Неверно введён логин или пароль от vk.com в поля Использования прокси-сервера подкаста.");
  }
  return success;
}

// -------------------------------------------- Получение ссылки на vk.com ----
bool GetLink_VK(string sLink) {
  string sHtml, sVal, host, uid, vkid, vtag, max_hd, no_flv, res, extra, cat;
  string ResolutionList=&apos;0:240, 1:360, 2:480, 3:720&apos;, sQAval, sQSel, sID;
  int i, iPriority=0, iMinPriority=99; int nFlag=0; 
  
  sHtml = HmsDownloadURL(sLink, &apos;Referer: &apos;+sLink, true);

  if ((sHtml=="") || !HmsRegExMatch(&apos;vtag["\&apos;:=\\s]+([0-9a-z]+)&apos;, sHtml, vtag)) {
    LogInSiteVK();
    if (HmsRegExMatch2("oid=(.*?)&amp;.*?id=(.*?)&amp;", sLink, sVal, sID))
      sLink = "https://vk.com/video"+sVal+"_"+sID;
    sHtml = HmsDownloadUrl(sLink, &apos;Referer: &apos;+gsHeaders, true);
  }
  
  sHtml = ReplaceStr(sHtml, &apos;\\&apos;, &apos;&apos;);
  host = &apos;&apos;; max_hd = &apos;2&apos;;
  
  sLink = &apos;&apos;;
  HmsRegExMatch(&apos;--quality=(\\d+)&apos;, mpPodcastParameters, sQSel);
  if (sQSel!=&apos;&apos;) HmsRegExMatch(&apos;"url&apos;+sQSel+&apos;":"(.*?)"&apos;, sHtml, sLink);
  if (sLink==&apos;&apos;) HmsRegExMatch(&apos;"url720":"(.*?)"&apos;, sHtml, sLink);
  if (sLink==&apos;&apos;) HmsRegExMatch(&apos;"url480":"(.*?)"&apos;, sHtml, sLink);
  if (sLink==&apos;&apos;) HmsRegExMatch(&apos;"url360":"(.*?)"&apos;, sHtml, sLink);
  if (sLink==&apos;&apos;) HmsRegExMatch(&apos;"url240":"(.*?)"&apos;, sHtml, sLink);
  if (sLink!=&apos;&apos;) {
    MediaResourceLink = HmsJsonDecode(sLink);
    return;
  }
  
  if (!HmsRegExMatch(&apos;vtag["\&apos;:=\\s]+([0-9a-z]+)&apos;, sHtml, vtag)) {
    if (HmsRegExMatch(&apos;(&lt;div[^&gt;]+video_ext_msg.*?&lt;/div&gt;)&apos;, sHtml, sLink) ||
    HmsRegExMatch(&apos;&lt;div style="position:absolute; top:50%; text-align:center; right:0pt; left:0pt;.*?&gt;(.*?)&lt;/div&gt;&apos;, sHtml, sLink)) {
      HmsLogMessage(2, PodcastItem.ItemOrigin.ItemParent[mpiTitle]+&apos;: vk.com сообщает - &apos;+HmsHtmlToText(sLink));
      if (random &gt; 0.5) MediaResourceLink = &apos;http://wonky.lostcut.net/vids/enotallow.avi&apos;;
      else VideoMessage(&apos;&apos;, &apos;VK.COM СООБЩАЕТ:\n\n&apos;+HmsHtmlToText(sLink));
    } else {
      HmsLogMessage(2, mpTitle+&apos;: не удалось обработать ссылку на vk.com&apos;);
      MediaResourceLink = &apos;http://wonky.lostcut.net/vids/error_getlink.avi&apos;;
    }
    return true;
  }
  HmsRegExMatch(&apos;[^a-z]host[=:"\&apos;\\s]+(.*?)["\&apos;&amp;;,]&apos;, sHtml, host  );
  HmsRegExMatch(&apos;[^a-z]uid[=:"\&apos;\\s]+([0-9]+)&apos;      , sHtml, uid   );
  HmsRegExMatch(&apos;no_flv.*?(\\d)&apos;                    , sHtml, no_flv);
  HmsRegExMatch(&apos;(?&gt;hd":"|hd=|video_max_hd.*?)(\\d)&apos;, sHtml, max_hd);
  HmsRegExMatch(&apos;[^a-z]vkid[=:"\&apos;\\s]+([0-9]+)&apos;     , sHtml, vkid  );
  HmsRegExMatch(&apos;extra=([\\w-]+)&apos;                   , sHtml, extra );
  HmsRegExMatch(&apos;/(\\d+)/u\\d+/&apos;                    , sHtml, cat   );
  
  HmsRegExMatch(max_hd+&apos;:(\\d+)&apos;,            ResolutionList, res   );
  
  sQAval = &apos;Доступное качество: &apos;; sQSel = &apos;&apos;;
  
  // Если включен приоритет форматов, то ищем ссылку на более приоритетное качество
  if (gbQualityLog || (mpPodcastMediaFormats!=&apos;&apos;)) for (i=StrToIntDef(max_hd, 3); i&gt;=0; i--) {
    HmsRegExMatch(IntToStr(i)+&apos;:(\\d+)&apos;, ResolutionList, sVal);
    sQAval += sVal + &apos;  &apos;;
    if (sQSel != &apos;&apos;) {
      if (StrToIntDef(res, 0)&gt;StrToIntDef(sQSel, 0)) res = sVal;
    } else if (mpPodcastMediaFormats != &apos;&apos;) {
      iPriority = HmsMediaFormatPriority(StrToIntDef(sVal, 0), mpPodcastMediaFormats);
      if ((iPriority&gt;=0)&amp;&amp;(iPriority&lt;iMinPriority)) {iMinPriority = iPriority; res=sVal;}
    }
  }
  if (gbQualityLog) HmsLogMessage(1, mpTitle+&apos;: &apos;+sQAval+&apos;Выбрано: &apos;+res);
  
  if (LeftCopy(uid, 1)!=&apos;u&apos;) uid = &apos;u&apos; + Trim(uid);
  if (Trim(host)==&apos;&apos;) HmsRegExMatch(&apos;ajax.preload.*?&lt;img[^&gt;]+src="(http://.*?/)&apos;, sHtml, host);
  
  if (uid==&apos;0&apos;) MediaResourceLink = host+&apos;assets/videos/&apos;+vtag+&apos;&apos;+vkid+&apos;.vk.flv&apos;;
  else          MediaResourceLink = host + uid+&apos;/videos/&apos;+vtag+&apos;.&apos;+res+&apos;.mp4&apos;;
  if (Trim(extra)!=&apos;&apos;) MediaResourceLink += &apos;?extra=&apos;+extra;
  if (Trim(cat  )!=&apos;&apos;) MediaResourceLink = ReplaceStr(MediaResourceLink, &apos;/&apos;+uid, &apos;/&apos;+cat+&apos;/&apos;+uid);
  
  HmsRegExMatch(";url"+res+"=(.*?)&amp;", sHtml, MediaResourceLink);
  return true;
}

// ----------------------------------------- Получение ссылки на kodik.biz ----
bool GetLink_KodikBiz(char sLink) {
  char sHtml, sVal, sOID, sVideoID, sHash, sQSel = &apos;720&apos;; Variant objScript;
  sHtml = HmsRemoveLineBreaks(HmsDownloadUrl(sLink, &apos;Referer: &apos;+mpFilePath, true));
  if (!HmsRegExMatch(&apos;eval(\\(function\\(p,a,c,k,e,d\\).*?\\)\\))&lt;&apos;, sHtml, sVal)) return false;
  try {objScript = CreateOleObject(&apos;MSScriptControl.ScriptControl&apos;);} except {};
  if (VarType(objScript) != varDispatch) return true;
  objScript.Language = &apos;JavaScript&apos;;
  sVal = objScript.Eval(sVal);
  HmsRegExMatch(&apos;s1="(.*?)"&apos;, sVal, sOID    );
  HmsRegExMatch(&apos;s2="(.*?)"&apos;, sVal, sVideoID);
  HmsRegExMatch(&apos;s3="(.*?)"&apos;, sVal, sHash   );
  sHtml = HmsDownloadUrl(&apos;http://api.vk.com/method/video.getEmbed?oid=&apos;+sOID+&apos;&amp;video_id=&apos;+sVideoID+&apos;&amp;embed_hash=&apos;+sHash+&apos;&amp;callback=responseWork&apos;, &apos;Referer: &apos;+sLink, true);
  sHtml = HmsRemoveLineBreaks(HmsUtf8Decode(HmsJsonDecode(sHtml)));
  HmsRegExMatch(&apos;--quality=(\\d+)&apos;, mpPodcastParameters, sQSel);
  if (!HmsRegExMatch(&apos;url&apos;+sQSel+&apos;":"(.*?)"&apos;, sHtml, MediaResourceLink))
       HmsRegExMatch(&apos;.*url\\d+":"(.*?)"&apos;   , sHtml, MediaResourceLink);
  return true;
}

// ------------------------------------------- Получение ссылки на Youtube ----
bool GetLink_Youtube3(string sLink) {
  string 
    sData, sVideoID=&apos;&apos;, sMaxHeight=&apos;&apos;, sAudio=&apos;&apos;, 
    sSubtitlesLanguage=&apos;ru&apos;, sSubtitlesUrl, sFile, sVal, sMsg; 
  TJsonObject JSON; 

  HmsRegExMatch(&apos;--maxheight=(\\d+)&apos;    , mpPodcastParameters, sMaxHeight);
  HmsRegExMatch(&apos;--sublanguage=(\\w{2})&apos;, mpPodcastParameters, sSubtitlesLanguage);
  bool bSubtitles = (Pos(&apos;--subtitles&apos;  , mpPodcastParameters)&gt;0);  
  bool bAdaptive  = (Pos(&apos;--adaptive&apos;   , mpPodcastParameters)&gt;0);  
  bool bNotDE     = (Pos(&apos;notde=1&apos;      , sLink)&gt;0);  

  if (!HmsRegExMatch(&apos;[\\?&amp;]v=([^&amp;]+)&apos;       , sLink, sVideoID))
       HmsRegExMatch(&apos;/(?:embed|v)/([^\\?]+)&apos;, sLink, sVideoID);

  if (sVideoID==&apos;&apos;) { VideoMessage(&apos;[Подкаст hdkinoteatr.ru]&apos;, &apos;Невозможно получить Video ID в ссылке Youtube&apos;); return true; }

  sLink = &apos;http://hms.lostcut.net/youtube/g.php?v=&apos;+sVideoID;
  if (sMaxHeight!=&apos;&apos;                  ) sLink += &apos;&amp;max_height=&apos;+sMaxHeight;
  if (Trim(mpPodcastMediaFormats )!=&apos;&apos;) sLink += &apos;&amp;media_formats=&apos;+mpPodcastMediaFormats;
//if (Trim(goRoot[mpiAccessToken])!=&apos;&apos;) sLink += &apos;&amp;auth=&apos;+goRoot[mpiAccessToken];
  if (bAdaptive                       ) sLink += &apos;&amp;adaptive=1&apos;;
  if (bNotDE                          ) sLink += &apos;&amp;notde=1&apos;;
    
  sData = HmsUtf8Decode(HmsDownloadUrl(sLink));
  // if error - exists reason
  if (HmsRegExMatch(&apos;"reason":"(.*?)"&apos; , sData, sMsg)) { VideoMessage(&apos;[Подкаст hdkinoteatr.ru]&apos;, sMsg); return true; }

  JSON  = TJsonObject.Create(); 
  try {
    JSON.LoadFromString(sData);
    MediaResourceLink = JSON.S[&apos;url&apos;   ];
    sSubtitlesUrl     = JSON.S[&apos;ttsUrl&apos;];
    sAudio            = JSON.S[&apos;audio&apos; ];
    if (sAudio!=&apos;&apos;) MediaResourceLink = Format(&apos;-i "%s" -i "%s"&apos;, [MediaResourceLink, sAudio]); 
  } finally { JSON.Free(); }
  
  if (Pos(&apos;m3u8&apos;, MediaResourceLink)&gt;0) MediaResourceLink = &apos; &apos;+Trim(MediaResourceLink);

  // Если есть субтитры и в дополнительных параметрах еуказано их показывать - загружаем 
  if (bSubtitles &amp;&amp; (sSubtitlesUrl!=&apos;&apos;)) {
    sFile = HmsSubtitlesDirectory+&apos;\\Youtube\\&apos;+PodcastItem.ItemID+&apos;.&apos;+sSubtitlesLanguage+&apos;.srt&apos;;
    sLink = sSubtitlesUrl+&apos;&amp;format=srt&amp;lang=&apos;; 
    if (!HmsDownloadURLToFile(sLink+sSubtitlesLanguage, sFile, &apos;Accept-Encoding: gzip, deflate&apos;)) {
      HmsDownloadURLToFile(sLink+&apos;en&apos;                 , sFile, &apos;Accept-Encoding: gzip, deflate&apos;);
    }
    PodcastItem[mpiSubtitleLanguage] = sFile;
  }
}

// ----------------------------------------------------------------------------
// Расшифровка данных myhit.ge (allinspace.com)
char DecrunchMyHitGeCode(char sData) {
  int i, nIndx, nCharCode, n=1;
  char sCh1, sCh2, sPart1, sPart2, sChars="", sArrayPositions = "", sResult = "";
  char sKey1 = "76P5NC75";
  char sKey2 = "hdF6icSAV1gK5QPNuqLwIko9ftXlGzDjsa2EYvn0W4bZry7RT3pO8eHxmJUBCM";

  sPart1 = LeftCopy(sData, Length(sKey1));
  sPart2 = Copy(sData, Length(sKey1)+1, Length(sData));
  for (i=1; i&lt;256; i++) sChars+=Chr(i);
  for (i=1; i&lt;=Length(sPart1); i++) sArrayPositions += IntToStr(Pos(Copy(sPart1, i, 1), sKey2))+"|";
  for (i=1; i&lt;=Length(sPart2); i+=2) {
    sCh1 = Copy(sPart2, i,   1);
    sCh2 = Copy(sPart2, i+1, 1);
    nCharCode  = (Pos(sCh1, sKey2)-1) * Length(sKey2) + (Pos(sCh2, sKey2)-1);
    nIndx      = StrToInt(ExtractWord(n, sArrayPositions, "|"));
    nCharCode -= Pos(Copy(sKey1, nIndx, 1), sChars);
    n++; if (n&gt;Length(sKey1)) n=1;
    sResult   += Chr(nCharCode);
  }
  return sResult;
}

// ----------------------------------------------------------------------------
// Получение ссылки на видео с myhit.ge (allinspace.com)
char GetLink_MyHitGe(char sLink) {
  char sHtml, sVideoId, sHeaders;

  sHeaders = &apos;http://myhit.ge/\r\n&apos;;
  sHeaders+= &apos;Accept-Encoding: gzip, deflate\r\n&apos;;
  sHeaders+= &apos;User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0\r\n&apos;;
  sHeaders+= &apos;Connection: Keep-Alive\r\n&apos;;
  sHeaders+= &apos;Accept: application/json, text/javascript, */*; q=0.01\r\n&apos;;
  sHeaders+= &apos;Accept-Language: ru-RU,ru;q=0.9,en;q=0.8\r\n&apos;;

  sHtml = LoadUrl(sLink, &apos;GET&apos;, sHeaders);

  if        (HmsRegExMatch(&apos;flashvars="(vid=\\d+.*?)"&apos;, sHtml, sVideoId)) {
    sLink = sVideoId+&apos;&amp;rnd=&apos;+FloatToStr(Random);
  } else if (HmsRegExMatch(&apos;GetPlayer\\((\\d+)&apos;, sHtml, sVideoId)) {
    sLink = &apos;vid=&apos;+sVideoId+&apos;&amp;vid_quality=1&amp;run_domain=&amp;rnd=&apos;+FloatToStr(Random);
  } else if (HmsRegExMatch(&apos;StartSeries\\((\\d+)&apos;, sHtml, sVideoId)) {
    sLink = &apos;vid=&apos;+sVideoId+&apos;&amp;vid_quality=1&amp;run_domain=&amp;jsf_name=StartSeries&amp;rnd=&apos;+FloatToStr(Random);
  } else {
    MediaResourceLink = &apos;http://wonky.lostcut.net/vids/podcasterror_hd.mp4&apos;;
    HmsLogMessage(2, mpTitle+&apos;: Неудалось найти код видео по ссылке.&apos;);
    return;
  }
  sHtml = LoadUrl(&apos;http://myhit.ge/get_movie_params1.php?&apos;+sLink, &apos;GET&apos;, sHeaders);
  if (!HmsRegExMatch(&apos;&lt;path&gt;(.*?)&lt;/path&gt;&apos;, sHtml, sLink)) {
    MediaResourceLink = &apos;&apos;;
    HmsLogMessage(2, mpTitle+&apos;: Неудалось найти ссылку на видео в ответе сервера.&apos;);
    MediaResourceLink = &apos;http://wonky.lostcut.net/vids/podcasterror_hd.mp4&apos;;
    return;
  }
  MediaResourceLink = DecrunchMyHitGeCode(sLink);
  if (!HmsRegExMatch(&apos;http://&apos;, MediaResourceLink, &apos;&apos;)) {
    HmsLogMessage(2, mpTitle+&apos;: невозможно расшифровать ссылку на видео. :/&apos;);
    MediaResourceLink = &apos;http://wonky.lostcut.net/vids/error.avi&apos;;
    return;
  }
}

// ----------------------------------------------------------------------------
// String.fromCharCode
char fromCharCode(char sData) {
  char sVal, s = &apos;&apos;; int i, iCount;
  
  iCount = WordCount(sData, &apos;,&apos;);
  for (i=1; i&lt;=iCount; i++) s += &apos;\\u&apos;+RightCopy(Format(&apos;0000%x&apos;, [StrToIntDef(ExtractWord(i, sData, &apos;,&apos;), 32)]), 4);
  sVal = HmsJsonDecode(s);
  return sVal;
}

// ----------------------------------------------------------------------------
THmsScriptMediaItem ErrorItem(string sMsg) {
  TStrings INFO = TStringList.Create(); // Создаём объект TStrings для информации
  INFO.Values[&apos;Poster&apos;] = &apos;http://news.bbcimg.co.uk/media/images/77808000/jpg/_77808957_81l12shy.jpg&apos;;
  INFO.Values[&apos;Title&apos; ] = &apos;&lt;c:#d33&gt;ОШИБКА! &lt;c:#e22&gt;ОШИБКА! &lt;c:#f11&gt;ОШИБКА!&apos;;
  INFO.Values[&apos;Info&apos;  ] = &apos;&apos;;
  INFO.Values[&apos;Descr&apos; ] = &apos;&lt;s:&apos;+IntToStr(Round(cfgTranscodingScreenHeight/13))+&apos;&gt;&apos;+sMsg;
    
  THmsScriptMediaItem Item = HmsCreateMediaItem(&apos;InfoError&apos;+IntToStr(gnTotalItems), PodcastItem.ItemID);
  Item[mpiTitle     ] = sMsg;
  Item[1001001      ] = INFO.Text;
  Item[mpiThumbnail ] = &apos;http://wonky.lostcut.net/icons/symbol-error.png&apos;;
  Item[mpiTimeLength] = &apos;00:00:10.000&apos;;
  Item[mpiCreateDate] = VarToStr(IncTime(gStart,0,-gnTotalItems,0,0));
  gnTotalItems++;
  INFO.Free();
  return Item;
}

// ------------------------------------------ Формирование видео сообщения ----
void ShowVideoMessage(string sMsg, string sTitle=&apos;&apos;, int nErr=0, string sDescr=&apos;&apos;) {
  if (nErr==1) sMsg = &apos;&lt;c:#e22&gt;&apos;+Trim(sMsg); 
  TStrings INFO = TStringList.Create();
  INFO.Values[&apos;Title&apos; ] = sTitle;
  INFO.Values[&apos;Info&apos;  ] = sMsg;
  INFO.Values[&apos;Descr&apos; ] = sDescr;
  PodcastItem[1001001] = INFO.Text;
  INFO.Free();
  VideoPreview();
}

///////////////////////////////////////////////////////////////////////////////
// Формирование видео с картинкой с информацией о фильме
bool VideoPreview() {
  string sVal, sFileImage, sPoster, sTitle, sDescr, sCateg, sInfo, sLink, sData;
  int xMargin=7, yMargin=10, nSeconds=10, n; 
  float nH=cfgTranscodingScreenHeight, nW=cfgTranscodingScreenWidth;
  // Проверяем и, если указаны в параметрах подкаста, выставляем значения смещения от краёв
  if (HmsRegExMatch(&apos;--xmargin=(\\d+)&apos;, mpPodcastParameters, sVal)) xMargin=StrToInt(sVal);
  if (HmsRegExMatch(&apos;--ymargin=(\\d+)&apos;, mpPodcastParameters, sVal)) yMargin=StrToInt(sVal);

  if (Trim(PodcastItem[1001001])==&apos;&apos;) return; // Если нет инфы - выходим быстро!
  TStrings INFO = TStringList.Create();       // Создаём объект TStrings
  INFO.Text  = PodcastItem[1001001];          // И загружаем туда информацию
  sPoster = INFO.Values[&apos;Poster&apos;];            // Постер
  sTitle  = INFO.Values[&apos;Title&apos; ];            // Самая верхняя надпись - Название
  sCateg  = INFO.Values[&apos;Genre&apos; ];            // Жанр
  sInfo   = INFO.Values[&apos;Info&apos;  ];            // Блок информации
  sDescr  = INFO.Values[&apos;Descr&apos; ];
  if (sTitle==&apos;&apos;) sTitle = &apos; &apos;;
  ForceDirectories(gsCacheDir);
  sFileImage = ExtractShortPathName(gsCacheDir)+&apos;videopreview_&apos;; // Файл-заготовка для сохранения картинки
  sDescr = Copy(sDescr, 1, 3000); // Если блок описания получился слишком большой - обрезаем

  INFO.Text = ""; // Очищаем объект TStrings для формирования параметров запроса
  INFO.Values[&apos;prfx&apos; ] = gsPreviewPrefix;  // Префикс кеша сформированных картинок на сервере
  INFO.Values[&apos;title&apos;] = sTitle;           // Блок - Название
  INFO.Values[&apos;info&apos; ] = sInfo;            // Блок - Информация
  INFO.Values[&apos;categ&apos;] = sCateg;           // Блок - Жанр/категории
  INFO.Values[&apos;descr&apos;] = sDescr;           // Блок - Описание фильма
  INFO.Values[&apos;mlinfo&apos;] = &apos;20&apos;;            // Максимальное число срок блока Info
  INFO.Values[&apos;w&apos; ] = IntToStr(Round(nW)); // Ширина кадра
  INFO.Values[&apos;h&apos; ] = IntToStr(Round(nH)); // Высота кадра
  INFO.Values[&apos;xm&apos;] = IntToStr(xMargin);   // Отступ от краёв слева/справа
  INFO.Values[&apos;ym&apos;] = IntToStr(yMargin);   // Отступ от краёв сверху/снизу
  INFO.Values[&apos;bg&apos;] = &apos;http://www.pageresource.com/wallpapers/wallpaper/noir-blue-dark_3512158.jpg&apos;; // Катринка фона (кэшируется на сервере) 
  INFO.Values[&apos;fx&apos;] = &apos;3&apos;; // Номер эффекта для фона: 0-нет, 1-Blur, 2-more Blur, 3-motion Blur, 4-radial Blur
  INFO.Values[&apos;fztitle&apos;] = IntToStr(Round(nH/14)); // Размер шрифта блока названия (тут относительно высоты кадра)
  INFO.Values[&apos;fzinfo&apos; ] = IntToStr(Round(nH/22)); // Размер шрифта блока информации
  INFO.Values[&apos;fzcateg&apos;] = IntToStr(Round(nH/26)); // Размер шрифта блока жанра/категории
  INFO.Values[&apos;fzdescr&apos;] = IntToStr(Round(nH/18)); // Размер шрифта блока описания
  // Если текста описания больше чем нужно - немного уменьшаем шрифт блока
  if (Length(sDescr)&gt;890) INFO.Values[&apos;fzdescr&apos;] = IntToStr(Round(nH/20));
  // Если есть постер, задаём его параметры отображения (где, каким размером)
  if (sPoster!=&apos;&apos;) {
    INFO.Values[&apos;wpic&apos;  ] = IntToStr(Round(nW/4)); // Ширина постера (1/4 ширины кадра)
    INFO.Values[&apos;xpic&apos;  ] = &apos;10&apos;;    // x-координата постера
    INFO.Values[&apos;ypic&apos;  ] = &apos;10&apos;;    // y-координата постера
    if (mpFilePath==&apos;InfoUpdate&apos;) {
      INFO.Values[&apos;wpic&apos;  ] = IntToStr(Round(nW/6)); // Ширина постера (1/6 ширины кадра)
      INFO.Values[&apos;xpic&apos;  ] = IntToStr(Round(nW/2 - nW/12)); // центрируем
    }
    INFO.Values[&apos;urlpic&apos;] = sPoster; // Адрес изображения постера
  }
  sData = &apos;&apos;;  // Из установленных параметров формируем строку POST запроса
  for (n=0; n&lt;INFO.Count; n++) sData += &apos;&amp;&apos;+Trim(INFO.Names[n])+&apos;=&apos;+HmsHttpEncode(INFO.Values[INFO.Names[n]]);
  INFO.Free(); // Освобождаем объект из памяти, теперь он нам не нужен
  // Делаем POST запрос не сервер формирования картинки с информацией
  sLink = HmsSendRequestEx(&apos;wonky.lostcut.net&apos;, &apos;/videopreview.php?p=&apos;+gsPreviewPrefix, &apos;POST&apos;, 
               &apos;application/x-www-form-urlencoded&apos;, &apos;&apos;, sData, 80, 0, &apos;&apos;, true);
  // В ответе должна быть ссылка на сформированную картинку
  if (LeftCopy(sLink, 4)!=&apos;http&apos;) {HmsLogMessage(2, &apos;Ошибка получения файла информации videopreview.&apos;); return;}
  // Сохраняем сформированную картинку с информацией в файл на диске
  HmsDownloadURLToFile(sLink, sFileImage);
  // Копируем и нумеруем файл картики столько раз, сколько секунд мы будем её показывать
  for (n=1; n&lt;=nSeconds; n++) CopyFile(sFileImage, sFileImage+Format(&apos;%.3d.jpg&apos;, [n]), false);
  // Для некоторых телевизоров (Samsung) видео без звука отказывается проигрывать, поэтому скачиваем звук тишины
  char sFileMP3 = ExtractShortPathName(HmsTempDirectory)+&apos;\\silent.mp3&apos;;
  try {
    if (!FileExists(sFileMP3)) HmsDownloadURLToFile(&apos;http://wonky.lostcut.net/mp3/silent.mp3&apos;, sFileMP3);
    sFileMP3 = &apos;-i "&apos;+sFileMP3+&apos;"&apos;;
  } except { sFileMP3=&apos;&apos;; }
  // Формируем из файлов пронумерованных картинок и звукового команду для формирования видео
  MediaResourceLink = Format(&apos;%s -f image2 -r 1 -i "%s" -c:v libx264 -pix_fmt yuv420p &apos;, [sFileMP3, sFileImage+&apos;%03d.jpg&apos;]);
}


///////////////////////////////////////////////////////////////////////////////
// Вывод вместо видео заданного сообщения
bool VideoMessage(char sCaption, char sMessage, int nTime=30) {
  char sFileImage = HmsTempDirectory+&apos;\\videomessage.jpg&apos;; char sCmd;
  sCaption = HmsHttpEncode(ReplaceStr(sCaption, &apos;\n&apos;, &apos;|&apos;));
  sMessage = HmsHttpEncode(ReplaceStr(sMessage, &apos;\n&apos;, &apos;|&apos;));
  HmsDownloadURLToFile(&apos;http://wonky.lostcut.net/videomessage.php?testpic=1&amp;caption=&apos;+sCaption+&apos;&amp;msg=&apos;+sMessage, sFileImage);
  char sFileMP3 = HmsTempDirectory+&apos;\\silent.mp3&apos;;
  try {
    if (!FileExists(sFileMP3)) HmsDownloadURLToFile(&apos;http://wonky.lostcut.net/mp3/silent.mp3&apos;, sFileMP3);
    sFileMP3 = &apos;-i "&apos;+sFileMP3+&apos;"&apos;;
  } except {
    sFileMP3 = &apos;&apos;;
  }
  sCmd = Format(&apos;%s -loop 1 -f image2 -i "%s" -t %d -r 25 &apos;, [ExtractShortPathName(sFileMP3), ExtractShortPathName(sFileImage), 7]);
  MediaResourceLink = sCmd;
}

///////////////////////////////////////////////////////////////////////////////
void SetCookies(char sHeaders=&apos;&apos;) {
  char sCookies=&apos;&apos;, sName, sVal; TRegExpr re;
  re = TRegExpr.Create(&apos;(?:Set-cookie|Cookie):(.*?)=(.*?)(?:;|\n|$)&apos;, PCRE_SINGLELINE);
  if (re.Search(sHeaders)) do {
    sName = Trim(re.Match(1));
    sVal  = Trim(re.Match(2));
    if ((sVal==&apos;&apos;) || (sName==&apos;&apos;)) continue;
    COOKIES.Values[sName] = sVal;
  } while (re.SearchAgain());
  re.Free();
}

///////////////////////////////////////////////////////////////////////////////
char GetCookies() {
  int i; char sNam, sVal, sCookies=&apos;&apos;;
  for (i=0; i&lt;COOKIES.Count; i++) {
    sNam = COOKIES.Names(i);     if (Trim(sNam)==&apos;&apos;) continue;
    sVal = COOKIES.Values[sNam]; if (Trim(sVal)==&apos;&apos;) continue;
    sCookies += Format(&apos;%s=%s; &apos;, [sNam, sVal]);
  }
  sCookies = &apos;Cookie: &apos;+Trim(sCookies)+&apos;\r\n&apos;;
  return sCookies;
}

///////////////////////////////////////////////////////////////////////////////
string LoadUrl(char sLink, char sMethod=&apos;GET&apos;, char sHeaders=&apos;&apos;, bool NoCache=false, bool NoRdrct=false) {
  int INTERNET_FLAG_NO_AUTO_REDIRECT = 0x00200000;
  string sHtml, sUrlServer, sRequestPage=&apos;/&apos;, sPostData=&apos;&apos;, sAnsw=&apos;&apos;; int iFlags = 0, nPort=80;
  if (LeftCopy(sLink, 5)==&apos;https&apos;) nPort = 443;
  if (!HmsRegExMatch(&apos;//(.*)&apos;, sLink, sUrlServer)) return &apos;&apos;;
  HmsRegExMatch2(&apos;^(.*?)(/.*)&apos;, sUrlServer, sUrlServer, sRequestPage);
  if (sMethod==&apos;POST&apos;) {
    HmsRegExMatch(&apos;^.*?\\?(.*)&apos;, sRequestPage, sPostData   );
    HmsRegExMatch(&apos;^(.*?)\\?&apos;  , sRequestPage, sRequestPage);
  }
  if (HmsRegExMatch(&apos;--nocache&apos;, mpPodcastParameters, &apos;&apos;)) NoCache = true;
  if (sHeaders==&apos;&apos;) sHeaders = gsHeaders; if (NoCache) iFlags = StrToInt(&apos;$80000000&apos;);
  sHeaders += GetCookies(); iFlags = (iFlags || INTERNET_FLAG_NO_AUTO_REDIRECT);
  sHtml = HmsSendRequestEx(sUrlServer, sRequestPage, sMethod, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, sHeaders, sPostData, nPort, iFlags, sAnsw, true);
  if (IsWine || gbIE6Fix) sHtml = HmsDecompressString(sHtml); // Для Linux Wine и ie6
  SetCookies(sAnsw);
  if (!NoRdrct &amp;&amp; HmsRegExMatch(&apos;Location: (.*?)[\r\n]&apos;, sAnsw, sLink)) {
    if (LeftCopy(sLink, 2)==&apos;//&apos;) sLink = &apos;http:&apos; + Trim(sLink);
    if (LeftCopy(sLink, 1)==&apos;/&apos; ) sLink = &apos;http://&apos; + sUrlServer + Trim(sLink);
    sHtml = LoadUrl(sLink);
  }
  sHtml = HmsUtf8Decode(sHtml);
  return sHtml;
}

///////////////////////////////////////////////////////////////////////////////
// Получить длительность в формате HMS.
char GetTimeLength(char sDura) {
  int nH, nM, nS, nSecs, nMins; char sH, sM, sS;
  if (Pos(&apos;:&apos;, sDura)&gt;0) {
    // Если там есть двоеточие, то думаем что там минуты:секунды или даже ещё и часы
    sDura=HmsHtmlToText(sDura);
    if (WordCount(sDura, &apos;:&apos;)==3) {
      HmsRegExMatch(&apos;(\\d*:\\d*:\\d\\d?)&apos;, sDura, sDura); // Убираем левые символы (не цифры). Бывает такое.
      nH = StrToIntDef(ExtractWord(1, sDura, &apos;:&apos;), 0);
      nM = StrToIntDef(ExtractWord(2, sDura, &apos;:&apos;), 0);
      nS = StrToIntDef(ExtractWord(3, sDura, &apos;:&apos;), 0);
    } else if (WordCount(sDura, &apos;:&apos;)==2) {
      HmsRegExMatch(&apos;(\\d*:\\d\\d?)&apos;, sDura, sDura);
      nM = StrToIntDef(ExtractWord(1, sDura, &apos;:&apos;), 0);
      nS = StrToIntDef(ExtractWord(2, sDura, &apos;:&apos;), 0);
      nH = Trunc(nM/60);
      nM = nM-(nH*60);
    } else return sDura;
  } else if ((Pos(&apos;мин&apos;, sDura)&gt;0)||(Pos(&apos;min&apos;, sDura)&gt;0)) {
    HmsRegExMatch(&apos;([\\d]+)&apos;, sDura, sDura);
    nMins = StrToIntDef(sDura, 0);
    nH = Trunc(nMins/60);
    nM = nMins-(nH*60);
    nS = 0;
  } else if (HmsRegExMatch2(&apos;(\\d+)m(\\d+)s&apos;, sDura, sM, sS)) {
      nM = StrToIntDef(sM, 0);
      nS = StrToIntDef(sS, 0);
      nH = Trunc(nM/60);
      nM = nM-(nH*60);
  } else {
    // Иначе будем думать, что в переданном параметре - количество секунд.
    HmsRegExMatch(&apos;([\\d]+)&apos;, sDura, sDura); // Убираем левые символы (не цифры)
    nSecs = StrToIntDef(sDura, 0);
    nH = Trunc(nSecs/60/60);
    nM = Trunc(nSecs/60)-(nH*60);
    nS = nSecs-(nM*60)-(nH*60*60);
  }
  return format("%.2d:%.2d:%.2d.000", [nH, nM, nS]);
}

///////////////////////////////////////////////////////////////////////////////
// Расстановка правильно цифр в ссылке hdkinoteatr
char DecrunchHDserialsLink(char sHtml, char sLink) {
  char sValue, s1, s2, sRe1=&apos;&apos;, sRe2=&apos;&apos;; TRegExpr RE; int i, n;

  HmsRegExMatch2(&apos;code.search\\(/\\^oid=.*?code.replace\\(/(.*?)/g,\&apos;(.*?)\&apos;&apos;, sHtml, sRe1, s1);
  HmsRegExMatch2( &apos;code.search\\(/\\^oid=.*?\\).replace\\(/(.*?)/g,\&apos;(.*?)\&apos;&apos;, sHtml, sRe2, s2);
  if (sRe1!=&apos;&apos;) {
    RE = TRegExpr.Create(&apos;^(.*?)&apos;+sRe1+&apos;(.*)$&apos;, PCRE_SINGLELINE);
    n = Int((Length(s1)/2))+2; s1 = &apos;$0&apos;+s1+&apos;$&apos;+IntToStr(n-1);
    sValue = &apos;&apos;;
    if (RE.Search(sLink)) for (i=1; i&lt;=n; i++) {
      sValue += RE.Match(StrToIntDef(Copy(s1, i*2, 1), 0)+1);
    }
    sLink = sValue;
  }
  if (sRe2!=&apos;&apos;) {
    RE = TRegExpr.Create(&apos;^(.*?)&apos;+sRe2+&apos;(.*)$&apos;, PCRE_SINGLELINE);
    n = Int((Length(s2)/2))+2; s2 = &apos;$0&apos;+s2+&apos;$&apos;+IntToStr(n-1);
    sValue = &apos;&apos;;
    if (RE.Search(sLink)) for (i=1; i&lt;=n; i++) {
      sValue += RE.Match(StrToIntDef(Copy(s2, i*2, 1), 0)+1);
    }
    sLink = sValue;
  }
  return &apos;http://vk.com/video_ext.php?&apos;+sLink+&apos;&amp;rnd=1&apos;;
}

///////////////////////////////////////////////////////////////////////////////
// Проверка переданных параметров в поле "Комментарий" подкаста
void CheckParameters() {
  char sValue;
  gbIE6Fix = (Pos(&apos;--winxpfix&apos;, mpPodcastParameters)&gt;0);
  if (Pos(&apos;--log&apos;,          mpPodcastParameters)&gt;0) LOG = 1;
  if (Pos(&apos;--qualitylog&apos;,   mpPodcastParameters)&gt;0) gbQualityLog = true;
}

///////////////////////////////////////////////////////////////////////////////
// Парсер JSON строки в дерево объектов и значений TStrings. Proudly presents by WendyH.
TStrings JSON2Tree(char sJSON) {
  Variant CUROBJ; int i, n; char s, sKey, sValue; bool bIsPair = false, bSt=true;
  TStrings TREE = TStringList.Create(), ObjList = TStringList.Create();
  CUROBJ = TREE;
  for (n=1; n&lt;Length(sJSON); n++) {
    s = Copy(sJSON, n, 1);
    if (!bIsPair) sKey = IntToStr(CUROBJ.Count);
    if (s == &apos; &apos;) { continue;
    } else if ((s == &apos;]&apos;) || (s == &apos;}&apos;)) { // return to parent object
      i = ObjList.Count-1; if (i&lt;0) continue;
      CUROBJ = ObjList.Objects(i);
      ObjList.Delete(i);
    } else if ((s == &apos;[&apos;) || (s == &apos;{&apos;)) { // Object (Array)
      ObjList.AddObject(IntToStr(ObjList.Count), CUROBJ);
      if (bSt) {bSt=false; continue;}
      i = CUROBJ.AddObject(sKey, TStringList.Create());
      CUROBJ = CUROBJ.Objects[i];
    } else if (s == &apos;"&apos;) { // String
      bIsPair = HmsRegExMatch2(&apos;^("([^"]*?)"\\s*?:)&apos;, Copy(sJSON, n, 10000), sValue, sKey, PCRE_DOTALL);
      if (bIsPair) { n += Length(sValue)-1; continue; }
      if (HmsRegExMatch(&apos;^"(.*?)"&apos;, Copy(sJSON, n, 10000), sValue, 1, PCRE_DOTALL)) {
        CUROBJ.Values[sKey] = sValue;
        n += Length(sValue) + 1;
      }
    } else if ((s == &apos;-&apos;) || ((s &gt;= &apos;0&apos;) &amp;&amp; (s &lt;= &apos;9&apos;))) { // Number
      if (HmsRegExMatch(&apos;^([-\\d\\.e]+)&apos;, Copy(sJSON, n, 10000), sValue)) {
        CUROBJ.Values[sKey] = sValue; n += Length(sValue);
      }
    } else if (s == &apos;/&apos;) { // Comment?
      if (HmsRegExMatch(&apos;^(/\\*.*?\\*/)&apos;, Copy(sJSON, n, 10000), sValue, 1, PCRE_DOTALL)) n += Length(sValue);
    } else if (HmsRegExMatch(&apos;^((?:true|false|null))&apos;,  Copy(sJSON, n, 5), sValue, 1, PCRE_DOTALL)) {
      CUROBJ.Values[sKey] = sValue;  n += Length(sValue);
    } else continue;
    bIsPair = false;
  }
  ObjList.Free();
  return TREE;
}

///////////////////////////////////////////////////////////////////////////////
// Обработка названия
char NormalizeTitle(char sTitle, char sYear=&apos;&apos;, char sParentTitle=&apos;&apos;, char sParentParentTitle=&apos;&apos;) {
  char sValue1, sValue2, sValue3=&apos;&apos;; bool bDontAddYear=false, bDontShort=false;

  sTitle = HmsHtmlToText(sTitle);
  if (HmsRegExMatch(&apos;(?:[Сс]ерия|[Сс]езон|[Вв]ыпуск)&apos;, sTitle, sValue1)) {
    bDontAddYear = true;
//    bDontShort   = true;
    HmsRegExMatch(&apos;^(.*?)[-/|\\(]&apos;, sTitle, sValue1);
    if (Pos(sValue1, sParentTitle+sParentParentTitle)&gt;0) {
      HmsRegExMatch(&apos;([Сс]ерия\\s+\\d+)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;(\\s+\\d+[Сс]ерия)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;([Вв]ыпуск\\s+\\d+)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;(\\s+\\d+[Вв]ыпуск)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;(\\d+\\s+[Сс]езон)&apos;, sTitle, sTitle);
      HmsRegExMatch(&apos;([Сс]езон\\d+\\s+)&apos;, sTitle, sTitle);
    }
  }
  if (HmsRegExMatch(&apos;\\|(.*)&apos;, sTitle, sValue2)) {
    HmsRegExMatch(&apos;^(.*?)[-|\\(]&apos;, sTitle, sValue1);
    sTitle = sValue1 + &apos; &apos; + sValue2;
  }

  if (REMSERIEWORD==1) if (HmsRegExMatch (&apos;([Сс]ерия\\s)&apos;, sTitle, sValue1)) sTitle = ReplaceStr(sTitle, sValue1+&apos; &apos;, &apos;&apos;);
  if (HmsRegExMatch2(&apos;^(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Сс]ерия\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Серия &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Сс]ерия\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Серия &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Сс]езон\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Сезон &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  else if (HmsRegExMatch2(&apos;^[Вв]ыпуск\\s+(\\d+)(.*)&apos;, sTitle, sValue1, sValue2)) sTitle = Format(&apos;Выпуск &apos;+gsFrmtSeries+&apos; %s&apos;, [StrToInt(sValue1), sValue2]);
  if (UPPER==1) sTitle = Uppercase(sTitle);
  // Если есть указание добавлять год к названию фильма, то проверяем есть этот год и не есть ли он уже там
  if ((YEARINTITLE==1) &amp;&amp; !bDontAddYear) if ((sYear!=&apos;&apos;) &amp;&amp; (Pos(sYear, sTitle)&lt;1)) sTitle += &apos; (&apos;+sYear+&apos;)&apos;;
  sTitle = ReplaceStr(sTitle, &apos;/&apos;, &apos;-&apos;);
  return sTitle;
}

///////////////////////////////////////////////////////////////////////////////
// Создание ссылок рекурсивно из дерева TStrings
void RecursiveCreateLinks(char &amp;sHtml, Variant Node, Variant ItemPrnt, Variant ADDINFO=null) {
  int n, nParamId; Variant Object; THmsScriptMediaItem Item = ItemPrnt; char sLink, sTitle, sTime, sParam, sValue;
  bool bHaveChilds = false; char sSeasonNum, sSerNum;
  sTitle = Node.Values["comment"];
  sLink  = Node.Values["file"];
  sTime  = Node.Values["time"];
  if (sTime==&apos;&apos;) sTime = ADDINFO.Values[&apos;Time&apos;];
  if (sTime==&apos;&apos;) sTime = &apos;6000&apos;;
  sTitle = NormalizeTitle(sTitle);
  for (n=0; n&lt;Node.Count; n++) if (Node.Objects(n)!=nil) bHaveChilds=true;
  if ((sTitle!=&apos;&apos;) &amp;&amp; (sLink!=&apos;&apos;) || (bHaveChilds &amp;&amp; (sTitle!=&apos;&apos;))) {
    if (LeftCopy(sLink, 4)==&apos;oid=&apos;) sLink = DecrunchHDserialsLink(sHtml, sLink);
    // Создаём элемент подкаста - ссылку и устанавливаем ему значения
    if (bHaveChilds || HmsRegExMatch(&apos;/serial/.*?/iframe&apos;, sLink, &apos;&apos;)) {
      Item = ItemPrnt.AddFolder(sLink);
    } else {
      Item = HmsCreateMediaItem(sLink, ItemPrnt.ItemID);
      if (!HmsRegExMatch(&apos;[Сс]езон\\s*?(\\d+)&apos;, ItemPrnt[mpiTitle], sSeasonNum))
           HmsRegExMatch(&apos;(\\d+)\\s*?[Сс]езон&apos;, ItemPrnt[mpiTitle], sSeasonNum);
      if (!HmsRegExMatch(&apos;^(\\d+)&apos;, sTitle, sSerNum)) sSerNum = &apos;&apos;;
      Item[mpiSeriesEpisodeNo]    = sSerNum;
      Item[mpiSeriesSeasonNo]     = sSeasonNum;
      Item[mpiSeriesEpisodeTitle] = sTitle;
      if (Trim(sSeasonNum)!=&apos;&apos;) Item[mpiSeriesTitle] = mpTitle;
    }
    Item[mpiTitle]      = sTitle;    // Название
    Item[mpiTimeLength] = sTime;     // Длительность
    Item[mpiThumbnail]  = ItemPrnt[mpiThumbnail]; // Картинка
    Item[mpiYear]       = ItemPrnt[mpiYear];      // Год
    Item[mpiGenre]      = ItemPrnt[mpiGenre];     // Жанр
    Item[mpiCreateDate] = DateTimeToStr(IncTime(gStart, 0, -gnTotalItems, 0, 0)); gnTotalItems++;
    Item[mpiFolderSortOrder] = -mpiCreateDate;

  }
  if (bHaveChilds) for (n=0; n&lt;Node.Count; n++) {
    Object = Node.Objects(n);
    if (Object != nil) RecursiveCreateLinks(sHtml, Object, Item, ADDINFO);
  }
}

///////////////////////////////////////////////////////////////////////////////
// Создание ссылок на сезоны/серии/фильм
void CreateLinks() {
  char sHtml, sVal, sVal2, sItemBlock, sLink, sTitle, sTime, sDescr, sAuth, sImg, sGenre, sYear, sData, sID;
  THmsScriptMediaItem Item; int i, n; Variant Object;  TStrings LINK, ADDINFO;
  if (LeftCopy(mpFilePath, 5)!=&apos;http:&apos;) return;
  PodcastItem.DeleteChildItems(); // Удаляем старый список ссылок
  sHtml = HmsRemoveLinebreaks(LoadUrl(mpFilePath));
  if (sHtml==&apos;&apos;) {
    ErrorItem(&apos;Невозможно получить страницу фильма. (Сайт доступен?)&apos;);
    return;
  }
  // Если не установлена картинка, пытаемся получить её 
  if (mpThumbnail==&apos;&apos;) {
    if (HmsRegExMatch(&apos;&lt;div[^&gt;]+maincont.*?&lt;img[^&gt;]+src="(.*?)"&apos;, sHtml, mpThumbnail)) {
      mpThumbnail = HmsExpandLink(mpThumbnail, gsUrlBase);
      PodcastItem[mpiThumbnail] = mpThumbnail;
    }
  }

  ADDINFO = TstringList.Create();
  if (HmsRegExMatch(&apos;id="video_length"&gt;(.*?)&lt;/div&gt;&apos;,          sHtml, sVal)) ADDINFO.Values[&apos;Time&apos;    ] = GetTimeLength(sVal);
  if (HmsRegExMatch(&apos;class="lbl"&gt;Год.*?(\\d{4})&apos;   ,          sHtml, sVal)) ADDINFO.Values[&apos;Year&apos;    ] = HmsHtmlToText(sVal);
  if (HmsRegExMatch(&apos;class="lbl"&gt;Режиссёр.*?(&lt;a.*?)&lt;/div&gt;&apos;,   sHtml, sVal)) ADDINFO.Values[&apos;Director&apos;] = HmsHtmlToText(sVal);
  if (HmsRegExMatch(&apos;class="lbl"&gt;В ролях.*?(&lt;a.*?)&lt;/div&gt;&apos;,    sHtml, sVal)) ADDINFO.Values[&apos;Actors&apos;  ] = HmsHtmlToText(sVal);
  if (HmsRegExMatch(&apos;class="lbl"&gt;Продюсер.*?(&lt;a.*?)&lt;/div&gt;&apos;,   sHtml, sVal)) ADDINFO.Values[&apos;Producer&apos;] = HmsHtmlToText(sVal);
  if (HmsRegExMatch(&apos;class="lbl"&gt;Композитор.*?(&lt;a.*?)&lt;/div&gt;&apos;, sHtml, sVal)) ADDINFO.Values[&apos;Composer&apos;] = HmsHtmlToText(sVal);
  if (HmsRegExMatch(&apos;class="lbl"&gt;Страна.*?(&lt;a.*?)&lt;/div&gt;&apos;    , sHtml, sVal)) ADDINFO.Values[&apos;Country&apos; ] = HmsHtmlToText(sVal);
  if (HmsRegExMatch(&apos;class="lbl"&gt;Рейтинг.*?&gt;(.*?)&lt;/div&gt;&apos;    , sHtml, sVal)) ADDINFO.Values[&apos;Rating&apos;  ] = ReplaceStr(ReplaceStr(ReplaceStr(HmsHtmlToText(sVal), chr(160), &apos;&apos;), &apos;votes:&apos;, &apos;&apos;), &apos;  &apos;, &apos; &apos;);  if (HmsRegExMatch(&apos;class="lbl"&gt;Перевод.*?&gt;(.*?)&lt;/div&gt;&apos;    , sHtml, sVal)) ADDINFO.Values[&apos;Translate&apos;]= HmsHtmlToText(sVal);
  if (HmsRegExMatch(&apos;class="lbl"&gt;Сценарий.*?(&lt;a.*?)&lt;/div&gt;&apos;  , sHtml, sVal)) ADDINFO.Values[&apos;Author&apos;  ] = HmsHtmlToText(sVal);
  if (HmsRegExMatch(&apos;&gt;Категория:.*?(&lt;a.*?)(&lt;/div&gt;|&lt;/p&gt;)&apos;    , sHtml, sVal)) ADDINFO.Values[&apos;Genre&apos;   ] = HmsHtmlToText(sVal);
  if (HmsRegExMatch(&apos;class="maincont".*?&lt;img[^&gt;]+src=[\&apos;"](.*?)[\&apos;"]&apos;, sHtml, sVal)) ADDINFO.Values[&apos;Poster&apos;] = &apos;http://www.hdkinoteatr.ru&apos;+sVal;
  if (HmsRegExMatch(&apos;class="descr"&gt;(.*?)&lt;/div&gt;&apos;, sHtml, sVal)) ADDINFO.Values[&apos;Descr&apos;] = HmsHtmlToText(sVal);
  if (ADDINFO.Values[&apos;Poster&apos;]==&apos;&apos;) ADDINFO.Values[&apos;Poster&apos;] = mpThumbnail;
  if (ADDINFO.Values[&apos;Title&apos; ]==&apos;&apos;) ADDINFO.Values[&apos;Title&apos; ] = mpTitle;

  if (HmsRegExMatch(&apos;/series/&apos;, mpFilePath, &apos;&apos;) &amp;&amp; HmsRegExMatch2(&apos;/getMoonList.php.*?id:(\\d+),id2:(\\d+)&apos;, sHtml, sVal, sVal2)) {
    sData = HmsDownloadURL(gsUrlBase+&apos;/getMoonList.php?id=&apos;+sVal+&apos;&amp;id2=&apos;+sVal2, &apos;Referer: &apos;+gsHeaders, true);
  }
  if (Trim(sData)!=&apos;&apos;) {
    HmsRegExMatch(&apos;{"videos":(.*)}&apos;, sData, sData);
    CreateSeriesFromPlaylist(PodcastItem, sData);
  } else {
    if (HmsRegExMatch(&apos;vkArr\\s*?=\\s*?(\\[.*?\\])\\s*?;&apos;, sHtml, sVal, 1, PCRE_DOTALL)) {
      TStrings Playlists = JSON2Tree(sVal);
      RecursiveCreateLinks(sHtml, Playlists, PodcastItem, ADDINFO);
      //HmsLogMessage(2, mpTitle+Format(&apos;: Найдено %d видео.&apos;, [gnItemsAdded]));
    } else if (HmsRegExMatch("vkArr\\s*?=\\s*?&apos;(.*?)&apos;", sHtml, sLink, 1, PCRE_DOTALL)) {
      if (HmsRegExMatch(&apos;/serial/.*?/iframe&apos;, sLink, &apos;&apos;)) {
        HmsRegExMatch(&apos;AddComplaint.*?(\\d+)&apos;, sHtml, sID);
        HmsRegExMatch(&apos;news-id-(\\d+)&apos;       , sHtml, sID);
        mpFilePath = sLink;
        GetMoonSeason(sID);
        
      } else {
        LINK = TStringList.Create();
        LINK.Values["file"   ] = sLink;
        LINK.Values["comment"] = mpTitle;
        LINK.Values["time"   ] = ADDINFO.Values[&apos;Time&apos;];
        if (HmsRegExMatch(&apos;class="trailer"&apos;, sHtml, sVal)) LINK.Values["comment"] = &apos;(Трейлер) &apos;+Trim(LINK.Values["comment"]);
        RecursiveCreateLinks(sHtml, LINK, PodcastItem, ADDINFO);
      }
      
    } else if (HmsRegExMatch(&apos;makePlayer\\(["\&apos;](.*?)["\&apos;]\\)&apos;, sHtml, sLink)) {
      LINK = TStringList.Create();
      LINK.Values["file"   ] = sLink;
      LINK.Values["comment"] = mpTitle;
      LINK.Values["time"   ] = ADDINFO.Values[&apos;Time&apos;];
      if (HmsRegExMatch(&apos;class="trailer"&apos;, sHtml, sVal)) LINK.Values["comment"] = &apos;(Трейлер) &apos;+Trim(LINK.Values["comment"]);
      RecursiveCreateLinks(sHtml, LINK, PodcastItem, ADDINFO);
    } else {
      HmsLogMessage(2, mpTitle+&apos;: Не могу найти makePlayer на странице по сслыке.&apos;);
      MediaResourceLink = &apos;http://wonky.lostcut.net/vids/podcasterror_hd.mp4&apos;;
    }
  }

  if (Trim(PodcastItem[mpiFolderSortOrder])==&apos;&apos;) PodcastItem[mpiFolderSortOrder] = -mpiCreateDate;
  if (HmsRegExMatch(&apos;--vinfo&apos;, mpPodcastParameters, sVal)) {
    if (Pos(&apos;--videoinfoitems&apos;, mpPodcastParameters)&gt;0) AddVideoInfoItems(ADDINFO);
    else CreateVideoInfoItem(&apos;Информация о видео&apos;, ADDINFO);
  }
  ADDINFO.Free(); LINK.Free();
}

///////////////////////////////////////////////////////////////////////////////
// Выполнение команд настроек
void SettingOFF(char &amp;gsParams, char gsSetName) {
  char s;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos; , gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}

///////////////////////////////////////////////////////////////////////////////
// Выполнение команд настроек
bool SettingsCmd(char sLink) {
  char s=&apos;&apos;, gsSetName=&apos;&apos;, sValue, gsParams; int i;
  Variant ROOTPODCAST, Folder = PodcastItem.ItemOrigin, Item, aItemInfo; 
  if (!HmsRegExMatch(&apos;ROOTITEM="(.*?)"&apos;, mpFilePath, sValue)) return;
  ROOTPODCAST = HmsFindMediaFolder(sValue);
  gsParams = ROOTPODCAST[mpiPodcastParameters];
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, Folder[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=([^\\s]+)&apos;,  Folder[mpiFilePath], sValue)) {
      SettingOFF(gsParams, gsSetName);
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
      MediaResourceLink = &apos;http://wonky.lostcut.net/vids/isset_hd.avi&apos;;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, Folder[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
      MediaResourceLink = &apos;http://wonky.lostcut.net/vids/isset_hd.avi&apos;;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, Folder[mpiFilePath], sValue)) {
      SettingOFF(gsParams, gsSetName);
      MediaResourceLink = &apos;http://wonky.lostcut.net/vids/isoff_hd.avi&apos;;
    }
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
}

  ///////////////////////////////////////////////////////////////////////////////
// Проверка ссылки на известные нам команды (установка параметров)
bool CheckLink4Cmd(char sLink) {
  if (LeftCopy(sLink, 13)==&apos;-VideoPreview&apos;) {
    VideoPreview();
  } else if (HmsRegExMatch(&apos;-(?:Set|Off)Param&apos;, sLink, &apos;&apos;)) {
    SettingsCmd(sLink);
  } else if (LeftCopy(sLink, 1)==&apos;-&apos;) {
    // Хоть и неизвестная, но команда
    MediaResourceLink = ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;;
  } else return false;
  return true;
}

///////////////////////////////////////////////////////////////////////////////
// Получение ссылки на медиа-поток для конкретного эпизода
bool GetLink_MoonSerie() {
  string sLink = HmsExpandLink(mpFilePath, gsUrlBase);
  string sData = HmsDownloadURL(sLink, &apos;Referer: &apos;+gsHeaders, true);
  GetLink_Moonwalk(sData);
}

///////////////////////////////////////////////////////////////////////////////
// Проверка ссылки на известные нам ресурсы видео
bool CheckKnownLinks(char sLink) {
  string sVal;

  if (Pos(&apos;vk.com&apos;, sLink)&gt;0) {
    return GetLink_VK(sLink);
  } else if (HmsRegExMatch(&apos;getMoonSerie.php&apos;, sLink, &apos;&apos;)) {
    return GetLink_MoonSerie();
  } else if (HmsFileMediaType(sLink)==mtVideo) {
    MediaResourceLink = sLink;
    return true;
  } else if (HmsRegExMatch(&apos;kodik.biz/video&apos;, sLink, sVal)) {
    return GetLink_KodikBiz(sLink);
  } else if (HmsRegExMatch(&apos;(?=myhit.ge|allinspace.com)&apos;, sLink, sVal)) {
    GetLink_MyHitGe(sLink);
  } else if (HmsRegExMatch(&apos;/(serial|video)/(.*?)/iframe&apos;, sLink, sVal)) {
    GetLink_Moonwalk(sLink); 
    if (Pos(&apos;--replacemoon&apos;, mpPodcastParameters)&gt;0)
      MediaResourceLink = ReplaceStr(MediaResourceLink, &apos;moon.hdkinoteatr.com&apos;, &apos;moonwalk.cc&apos;);
    return true;
  } else if (HmsRegExMatch(&apos;video\.rutube\.ru&apos;, sLink, sVal)) {
//    HmsRegExMatch(&apos;^.*?(http:[^"]+).*?$&apos;, sLink, sLink);
//    return GetLink_RuTube(sLink);
    HmsLogMessage(2, mpTitle+&apos;: Всё-таки она существует, ссылка на RUTUBE видео!! Обратитесь к разработчику подкаста.&apos;);
    MediaResourceLink = &apos;http://wonky.lostcut.net/vids/error.avi&apos;;
    return true;
  } else if (HmsRegExMatch(&apos;youtube\.com/&apos;, sLink, sVal)) {
    return GetLink_YouTube3(sLink);
  }
  return false;
}

///////////////////////////////////////////////////////////////////////////////
// Создание ссылок на серии
void GetMoonSeason(string sID=&apos;&apos;) {
  string sData;

  if (Trim(sID)==&apos;&apos;) {
    sData = HmsDownloadURL(mpFilePath, &apos;Referer: &apos;+gsHeaders);
    HmsRegExMatch(&apos;AddComplaint.*?(\\d+)&apos;, sData, sID);
    HmsRegExMatch(&apos;news-id-(\\d+)&apos;       , sData, sID);
  }
  sData = HmsDownloadURL(gsUrlBase+&apos;/getMoonSeason.php?id=&apos;+sID+&apos;&amp;url=&apos;+HmsHttpEncode(mpFilePath)+&apos;&amp;btn=&amp;lvl=0&apos;, &apos;Referer: &apos;+gsHeaders);
  HmsRegExMatch(&apos;{"videos":(.*)}&apos;, sData, sData);
  CreateSeriesFromPlaylist(PodcastItem, sData);
}

///////////////////////////////////////////////////////////////////////////////
//                                Main program                               //
// ----------------------------------------------------------------------------
{
  CheckParameters(); // Проверка доп. параметров и установка согласно им глобальных переменных
  if (CheckLink4Cmd  (mpFilePath)) return;
  if (PodcastItem.IsFolder) {
    if (HmsRegExMatch(&apos;/serial/.*?/iframe&apos;, mpFilePath, &apos;&apos;))
      GetMoonSeason();
    else
      CreateLinks(); 
    return;
  }

  if (CheckKnownLinks(mpFilePath)) return;
  if (MediaResourceLink == &apos;&apos;) {
    HmsLogMessage(2, mpTitle+&apos;: Не удалось получить ссылку на видео.&apos;);
    MediaResourceLink = &apos;http://wonky.lostcut.net/vids/error_getlink.avi&apos;;
  }
  
}</Value>
    </Property>
    <Property>
      <ID>551</ID>
      <Value>C++Script</Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>215</ID>
      <Value>4</Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>35</ID>
      <Value>41297,9416666667</Value>
    </Property>
    <Property>
      <ID>3</ID>
      <Value>01:40:00.000</Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>55</ID>
      <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>-1</ID>
      <Value></Value>
    </Property>
    <Property>
      <ID>245</ID>
      <Value>6cd3a1881211e40da08349eda280a03b</Value>
    </Property>
    <Property>
      <ID>527</ID>
      <Value>--qualitylog --group=year --vinfo=0 --videoinfoitems --collect --yearintitle --pages=20</Value>
    </Property>
    <Property>
      <ID>100602</ID>
      <Value>1490788538</Value>
    </Property>
    <Property>
      <ID>100601</ID>
      <Value>2488824e605e3ce420996926ef23ecf2</Value>
    </Property>
  </Properties>
  <ChildItems>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>4f1d5e298cbff80eaa173546708f9dea</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/fantasy/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Фэнтези</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8743518519</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-4</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42823,6220901273</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>e85251ea00e77786647a0577c9cbd089</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/sci-fi/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Фантастика</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8750462963</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-4</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42784,6765113426</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>44f96552974503e5d22a987a622d8c35</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/horror/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Ужасы</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8757407407</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>8ee2043d0e1aea3b8b6e5eb006ab7628</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/thriller/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Триллеры</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8764351852</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>25afabd92d6b88dcb37c627fa1f55292</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/tv/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>ТВ-Передачи</Value>
        </Property>
        <Property>
          <ID>527</ID>
          <Value> --group=none</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value> -35</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8771296296</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>6670220cf37c6a70def985b91fad12db</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/sport/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Спорт</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8778240741</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-4</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42800,9267860417</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>a98aa143364fba1caa76921142c39186</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/series/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Сериалы</Value>
        </Property>
        <Property>
          <ID>527</ID>
          <Value> --group=alph</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>4</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8785185185</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42809,8835620602</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>8369b71744e902e4726153586da78dda</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/family/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Семейные</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,879212963</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-4</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42571,8359360417</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>7e53bfa4abf08c9aafe11c8b5d9f497c</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/adventure/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Приключения</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8799074074</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>14e0770edbd2787bcd98150fcef7f3aa</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/russian/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Отечественные</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8806018519</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>e7d0adf2dfdc57c8fa2f8cf3ff01a8ed</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/musical/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Мюзиклы</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8812962963</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>8e24647d491635c43ef0b11f1a85d8b3</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/animation/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Мультфильмы</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8819907407</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-4</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42750,679707581</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>5de9d39b49f3bba4a13c0ac1ddaf05f2</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/music/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Музыкальные</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8826851852</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>1f7e1ca0aa57dcaf4bb8a3a1b92e5f6a</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/mystery/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Мистика</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8833796296</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>b4bfdea67121e5cb88b30d8995deb6ef</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/romance/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Мелодрамы</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8840740741</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>e924e4669ad39bbf7de8ce8685c1dee3</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/crime/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Криминалы</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8847685185</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>ed5fc0eddc7a3cbb56fea8583a2cf117</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/short/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Короткометражные</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,885462963</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>ef9ccd25ec0f1ee79803ea694f5b8480</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/concert/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Концерты</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8861574074</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>0077505b135beeb8eca9bc0e2c68c3e5</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/comedy/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Комедии</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8868518519</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-4</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42756,9848634375</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>63198b81d0c7f54de0af128b6979544b</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/history/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Исторические</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8875462963</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>0fcc56f58d7d50d94c85593192cafaf2</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/drama/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Драмы</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8882407407</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>780572e9fa7e5b83f856c3c84a42a8a0</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/documentary/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Документальные</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8889351852</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>ac9ea15ad1ec46ebeaa8f37c0c4ad7d2</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/childrens/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Детские</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8896296296</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>5c625d2a370e1ae4a9f015f45459d841</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/detective/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Детективы</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8903240741</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-4</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42761,0066942824</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>dbc156b87ff6b3a350206e15f77881e1</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/war/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Военные</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8910185185</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>edc617e217d3dac50a866aeeb39ad82b</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/western/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Вестерны</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,891712963</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>7ecfd8091fc99e6899f3b94dbe80e9fb</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/action/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Боевики</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8924074074</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>6126195335ab50ed6957d69e1662583b</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/biography/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Биография</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8931018518</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>0bf19872a118cc87f5d1c0479a6fd324</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/anime/</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Аниме</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8937962963</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-4</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42568,6472169907</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>d98eb9a3-8186-44bd-aa4c-97789ff404a1</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/year/2017</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>2017</Value>
        </Property>
        <Property>
          <ID>701</ID>
          <Value>-1</Value>
        </Property>
        <Property>
          <ID>702</ID>
          <Value>-1</Value>
        </Property>
        <Property>
          <ID>517</ID>
          <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
        </Property>
        <Property>
          <ID>518</ID>
          <Value>0</Value>
        </Property>
        <Property>
          <ID>522</ID>
          <Value>0</Value>
        </Property>
        <Property>
          <ID>245</ID>
          <Value>d98eb9a3-8186-44bd-aa4c-97789ff404a1</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42745,7701516782</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-4</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42752,9878096991</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42814,9516391319</Value>
        </Property>
        <Property>
          <ID>527</ID>
          <Value> --group=none</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>21dcc3b0790c592a8dd9f8a3bc7bb283</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/year/2016</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>2016 </Value>
        </Property>
        <Property>
          <ID>527</ID>
          <Value> --group=none</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value> -35</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8958796296</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42612,7102058218</Value>
        </Property>
        <Property>
          <ID>701</ID>
          <Value>-1</Value>
        </Property>
        <Property>
          <ID>702</ID>
          <Value>-1</Value>
        </Property>
        <Property>
          <ID>517</ID>
          <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
        </Property>
        <Property>
          <ID>518</ID>
          <Value>0</Value>
        </Property>
        <Property>
          <ID>522</ID>
          <Value>0</Value>
        </Property>
        <Property>
          <ID>245</ID>
          <Value>21dcc3b0790c592a8dd9f8a3bc7bb283</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>b28d6bf2c6adeca2c40a8bb53fe1e7fd</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/year/2015</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>2015 </Value>
        </Property>
        <Property>
          <ID>527</ID>
          <Value> --group=none</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value> -35</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8951851852</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42654,6251134954</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>df8872ddea6075745094bcf7e34ef672</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/year/2014</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>2014 </Value>
        </Property>
        <Property>
          <ID>527</ID>
          <Value> --group=none</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value> -35</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8944907407</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://www.hdkinoteatr.ru/templates/HD-kino-dark/img/hd-kinoteatr-logo.png</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>72e1d405ba3a00035503bd422eac9d12</ItemID>
      <ItemPath>http://www.hdkinoteatr.com/&lt;PAGEPARAM&gt;?rnd=&lt;RND&gt;</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>527</ID>
          <Value>--pages=10 --group=none --delitems</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>03. Последние поступления</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,8972685185</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-35</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>01:40:00.000</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42784,6226168056</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>51</ClassID>
      <ItemID>9986164a5e4772f4d95d9f10ae2effac</ItemID>
      <ItemPath>02. Топ 250</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>527</ID>
          <Value>--group=none --maxingroup=300 --numbering</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,9007407407</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-35</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
      <ChildItems>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>68b7a7dbb6f4b01f3792f195491bbfa6</ItemID>
          <ItemPath>http://www.hdkinoteatr.com/top/?dlenewssortby=kp_rating&amp;dledirection=desc&amp;set_new_sort=dle_sort_top&amp;set_direction_sort=dle_direction_top</ItemPath>
          <ParentID>9986164a5e4772f4d95d9f10ae2effac</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>527</ID>
              <Value>-WonkyBlock:TOP250</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>По рейтингу КиноПоиска</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9000462963</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
            <Property>
              <ID>3</ID>
              <Value>01:40:00.000</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42672,0339284838</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>68b7a7dbb6f4b01f3792f195491bbfa6</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>5e85cd4ce67ae5a33bbbb73a29a0bc78</ItemID>
          <ItemPath>http://www.hdkinoteatr.com/top/?dlenewssortby=imdb_rating&amp;dledirection=desc&amp;set_new_sort=dle_sort_top&amp;set_direction_sort=dle_direction_top</ItemPath>
          <ParentID>9986164a5e4772f4d95d9f10ae2effac</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>527</ID>
              <Value>-WonkyBlock:TOP250</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>По рейтингу IMDB</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,8993518519</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
            <Property>
              <ID>3</ID>
              <Value>01:40:00.000</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42777,995814294</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>8b2a796adb1989dab1b2a8c2fdce10ca</ItemID>
          <ItemPath>http://www.hdkinoteatr.com/top/?dlenewssortby=news_read&amp;dledirection=desc&amp;set_new_sort=dle_sort_top&amp;set_direction_sort=dle_direction_top</ItemPath>
          <ParentID>9986164a5e4772f4d95d9f10ae2effac</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>527</ID>
              <Value>-WonkyBlock:TOP250</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>По посещаемости</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,8986574074</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>aff1e8d01ff0ec0aafd0546cfc4096a6</ItemID>
          <ItemPath>http://www.hdkinoteatr.com/top/?dlenewssortby=comm_num&amp;dledirection=desc&amp;set_new_sort=dle_sort_top&amp;set_direction_sort=dle_direction_top</ItemPath>
          <ParentID>9986164a5e4772f4d95d9f10ae2effac</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>527</ID>
              <Value>-WonkyBlock:TOP250</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>По комментариям</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,897962963</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
      </ChildItems>
    </Item>
    <Item>
      <ClassID>51</ClassID>
      <ItemID>b84fdc7daa7b5864c4bc4a7f5d7a609a</ItemID>
      <ItemPath>-SearchFolder</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>01. Поиск</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>mpTitle</Value>
        </Property>
        <Property>
          <ID>527</ID>
          <Value> --group=none</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42432,9014351852</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
        <Property>
          <ID>200104</ID>
          <Value>c7ecc0ed3702fab56206c4528d012684</Value>
        </Property>
      </Properties>
      <ChildItems>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>c7ecc0ed3702fab56206c4528d012684</ItemID>
          <ItemPath>-SearchCommands</ItemPath>
          <ParentID>b84fdc7daa7b5864c4bc4a7f5d7a609a</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>1137366,99930556</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>"Набрать текст"</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>int mpiFolderType        = 200;
int mpiDynamicScript     = 500;
int mpiDynamicSyntaxType = 501;
int mpiPreviousItemID    = 200104;
int mpiDoNothing         = 201100;

char gsSpace           = &apos;Пробел&apos;;
char gsDelLastChar     = &apos;Удалить последний символ&apos;;
char gsClearSearch     = &apos;Очистить текст поиска&apos;;
char gsClearHystoryIn  = &apos;Очистить историю поиска в папке "%s"&apos;;
char gsMsgClearHistory = &apos;История поиска в папке "%s" очищена&apos;;
char gsMsgTextSaved    = &apos;Подкаст "%s" добавлен в "%s"&apos;;
char gsMsgNothingSaved = &apos;Текст поиска не набран! Добавлять нечего.&apos;;
char gsMsgSearchText   = &apos;Текст поиска: %s&apos;;
char gsAddSearchTo     = &apos;Добавить в папку "%s"&apos;;

char gsSuggestQuery    = &apos;http://www.hdkinoteatr.com/index.php?do=search&amp;subaction=search&amp;full_search=1&amp;titleonly=3&amp;story=&apos;;
char gsSuggestResultCut= &apos;&apos;;
char gsSuggestRegExpr  = &apos;(&lt;h3.*?&lt;/h3&gt;)&apos;;
char gsSuggestMethod   = &apos;POST&apos;;
int  gnSuggestNoUTFEnc = 0;
char gsSuggestMessage  = &apos;Вариант: &apos;;

int gnTotalItems=0; TDateTime gTimeStart = Now; char gsTextSearch, gsMsg=&apos;&apos;;
THmsScriptMediaItem goRootItem, goCmdItem;
// ------------------------------------------ Создание папок команд поиска ----
void CreateSearchCommands() {
  int i; char sText; THmsScriptMediaItem Item;
  CreateDynamicItem(FolderItem, &apos;#&apos;,   &apos;-SearchCreateChars=From:32To:58&apos;);
  CreateDynamicItem(FolderItem, &apos;A-Z&apos;, &apos;-SearchCreateChars=From:65To:91&apos;);
  CreateDynamicItem(FolderItem, &apos;А-Я&apos;, &apos;-SearchCreateChars=From:192To:224&apos;);
  CreateDynamicItem(FolderItem, gsClearSearch, &apos;-SearchCmd=ClearSearchText&apos;);
  // Создание команды добавления в корневую папку поиска
  CreateDynamicItem(FolderItem, Format(gsAddSearchTo, [goRootItem[mpiTitle]]), &apos;-SearchCmd=SaveSearchText&apos;);
  // Создание команд добавления в папки, находящиеся в корневой, если поле "Файл" (mpiFilePath) у них пустое
  for (i=0; i&lt;goRootItem.ChildCount; i++) {
    Item = goRootItem.ChildItems[i];
    if (!Item.IsFolder || (Item[mpiFilePath]!=&apos;&apos;)) continue;
    CreateDynamicItem(FolderItem, Format(gsAddSearchTo, [Item[mpiTitle]]), &apos;-SaveSearchTextTo=&apos;+Item.ItemID);
  }
  // Создание команды очистки истории в корневой папке поиска
  CreateDynamicItem(FolderItem, Format(gsClearHystoryIn, [goRootItem[mpiTitle]]), &apos;-SearchCmd=ClearSearchHistory&apos;);
  // Создание команд очистки истории в папках, которые наодятся в корневой
  for (i=0; i&lt;goRootItem.ChildCount; i++) {
    Item = goRootItem.ChildItems[i];
    if (!Item.IsFolder || (Item[mpiFilePath]!=&apos;&apos;)) continue;
    CreateDynamicItem(FolderItem, Format(gsClearHystoryIn, [Item[mpiTitle]]), &apos;-ClearSearchHistoryIn=&apos;+Item.ItemID);
  }
  // Создание ссылки, информирующей о текущем набранном тексте поиска
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, goCmdItem.ItemID);
  Item[mpiTitle] = Format(gsMsgSearchText, [gsTextSearch]);
  Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;
}
// ---------------------------- Добавление подкаста с именем текста поиска ----
void AddPodcastSearch(THmsScriptMediaItem prntItem) {
  THmsScriptMediaItem Item;
  if (Trim(gsTextSearch)==&apos;&apos;) {gsMsg = gsMsgNothingSaved; return;}
  if (LowerCase(gsTextSearch)==gsTextSearch) gsTextSearch = NameCase(gsTextSearch);
  Item = prntItem.AddFolder(gsTextSearch, false);
  Item[mpiFilePath ] = Format(&apos;search="%s"&apos;, [gsTextSearch]);
  Item[mpiTitle    ] = gsTextSearch;
  HmsDatabaseAutoSave(false);
  gsMsg = Format(gsMsgTextSaved, [gsTextSearch, prntItem[mpiTitle]]);
  //gsTextSearch = &apos;&apos;;
}
// --------- Функция создания динамической папки с унаследованным скриптом ----
void CreateDynamicItem(THmsScriptMediaItem prntItem, char sTitle, char sLink) {
char s; THmsScriptMediaItem Folder;
  if (Trim(sTitle)==&apos;&apos;) sTitle = gsSpace;
  Folder = prntItem.AddFolder(sLink, true);
  Folder[mpiTitle            ] = sTitle;
  Folder[mpiCreateDate       ] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
  Folder[mpiFolderType       ] = prntItem[mpiFolderType];
  Folder[mpiDynamicScript    ] = prntItem[mpiDynamicScript];
  Folder[mpiDynamicSyntaxType] = prntItem[mpiDynamicSyntaxType];
  Folder[mpiFolderSortOrder  ] = prntItem[mpiFolderSortOrder];
}
// ----------------------------  MAIN PROCEDURE  ------------------------------
{
  int i, nCnt; char sCh, sCh1, sCh2, sText; THmsScriptMediaItem Item;
  char s, sUrlServer = &apos;&apos;, sRequestPage = &apos;/&apos;, sPostData = &apos;&apos;, sHeaders = &apos;&apos;;
  if (LeftCopy(mpFilePath, 1) != &apos;-&apos;) return; // Если это не команда - то и не обрабатываем
  // Поиск корневого каталога поиска (папки, которая содержит динамическую папку с путем "-SearchCommands")
  goRootItem = FolderItem; goCmdItem = FolderItem;
  while ((goRootItem.ItemParent != HmsDatabaseRootItem) &amp;&amp; (goRootItem.ItemParent != nil)) {
    if (goRootItem[mpiFilePath] == &apos;-SearchCommands&apos;) {goCmdItem=goRootItem; goRootItem=goCmdItem.ItemParent; break;}
    goRootItem = goRootItem.ItemParent;
  }
  // Если это повторный вызов, смены папки не произошло - ничего не делаем
  if ((FolderItem.ItemID==goRootItem[mpiPreviousItemID]) &amp;&amp; !DebugMode &amp;&amp; (FolderItem!=goCmdItem)) return;
  FolderItem.DeleteChildItems(); goRootItem[mpiPreviousItemID] = FolderItem.ItemID;
  gsTextSearch = HmsGetUserSearchText(); // Получаем текущее значение текста поиска
  // ---- Проверяем команды - по значению в mpFilePath ----
  if (goRootItem[mpiDoNothing]==&apos;1&apos;) {   // Флаг "Ничего не делать" - например, при возврате
    goRootItem[mpiDoNothing] = &apos;&apos;;       //   в команду набирания буквы из подпапки варианта
  } else if (HmsRegExMatch(&apos;-SearchCommands&apos;, mpFilePath, sCh1)) {              // Создание корневых команд поиска
    CreateSearchCommands(); return;
  } else if (HmsRegExMatch(&apos;-SearchChar=(\\d+)&apos;, mpFilePath, sCh1)) {           // Добавление буквы (символа) к набираемому тексту поиска
    gsTextSearch += Chr(StrToInt(sCh1));
  } else if (HmsRegExMatch(&apos;-SetSearchText=(.*)&apos;, mpFilePath, gsTextSearch)) {  // Назначить текст поиска значением варианта подсказки
    goRootItem[mpiDoNothing] = &apos;1&apos;; gsSuggestQuery = &apos;&apos;; // включаем флаг не выполнять команду при возврате из этой папки
  } else if (HmsRegExMatch(&apos;-SaveSearchTextTo=(.*)&apos;, mpFilePath, sCh1)) {       // Добавление в папку Х. Поиск этой папки по ItemID.
    Item = goRootItem; // Ищем папку с ItemID равному идентификатору, переданному в mpFilePath
    for (i=0; i&lt;goRootItem.ChildCount; i++) {
      if (goRootItem.ChildItems[i].ItemID==sCh1) {Item = goRootItem.ChildItems[i]; break;}
    }
    AddPodcastSearch(Item); // и добавляем в найденную папку подкаст текстом поиска
  } else if (HmsRegExMatch(&apos;-ClearSearchHistoryIn=(.*)&apos;, mpFilePath, sCh1)) {   // Очистка истории (добавленных ранее) поисковых значений
    Item = goRootItem; // Ищем папку с ItemID равному идентификатору, переданному в mpFilePath
    for (i=0; i&lt;goRootItem.ChildCount; i++) {
      if (goRootItem.ChildItems[i].ItemID==sCh1) {Item = goRootItem.ChildItems[i]; break;}
    }
    for(i=0; i&lt;Item.ChildCount; i++) { // Удаляем все элементы с начинающимся словом &apos;search&apos; в поле mpiFilePath
      if (LeftCopy(Item.ChildItems[i].Properties[mpiFilePath], 6)==&apos;search&apos;) {Item.ChildItems[i].Delete();i--;}
    }
    gsMsg = Format(gsMsgClearHistory, [Item[mpiTitle]]); // вывод сообщения, что история очищена
  } else if (HmsRegExMatch(&apos;-SearchCmd=(\\w+)&apos;,   mpFilePath, sCh1)) {
    if      (sCh1==&apos;DeleteLastChar&apos; ) gsTextSearch = LeftCopy(gsTextSearch, Length(gsTextSearch)-1); // Удаление последнего символа
    else if (sCh1==&apos;SaveSearchText&apos; ) AddPodcastSearch(goRootItem);             // Добавить текст поиска в корневую папку
    else if (sCh1==&apos;ClearSearchText&apos;) gsTextSearch = &apos;&apos;;                        // Очистка текста поиска
    else if (sCh1==&apos;ClearSearchHistory&apos;) {                                      // Очистка истории (добавленных значений поиска)
      for(i=0; i&lt;goRootItem.ChildCount; i++) {
        Item = goRootItem.ChildItems[i]; // Ищем все элементы, у которых значение mpiFilePath начиначется с &apos;search&apos;
        if (LeftCopy(Item[mpiFilePath], 6)==&apos;search&apos;) {goRootItem.ChildItems[i].Delete();i--;}
      }
      gsMsg = Format(gsMsgClearHistory, [goRootItem[mpiTitle]]);
    }
  } else if (HmsRegExMatch2(&apos;-SearchCreateChars=From:(\\d+)To:(\\d+)&apos;, mpFilePath, sCh1, sCh2)) { // Создание списка букв/символов
    CreateDynamicItem(FolderItem, gsDelLastChar, &apos;-SearchCmd=DeleteLastChar Suggestions&apos;); // В начало - команда удаления символа
    CreateDynamicItem(FolderItem, &apos; &apos;, &apos;-SearchChar=32 Suggestions&apos;); // Пробел
    for (i= StrToInt(sCh1); i&lt;StrToInt(sCh2); i++) CreateDynamicItem(FolderItem, Chr(i), &apos;-SearchChar=&apos;+IntToStr(i)+&apos; Suggestions&apos;);
    // слово "Suggestions" добавлено к значению mpiFilePath тек команд, в которых возможно использование подсказок
  }
  else return; // Если неизвестная нам команда - просто выходим

  HmsSetUserSearchText(gsTextSearch); // Устанавливаем значение текста поиска
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, FolderItem.ItemID);
  if (gsMsg==&apos;&apos;) { // Если сообщения небыло - просто выводим ссылку с текущим значением набранного текста
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;
    Item[mpiTitle    ] = Format(gsMsgSearchText, [gsTextSearch]);
  } else {         // Выводим сообщение
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    Item[mpiTitle    ] = gsMsg;
  }
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, FolderItem.ItemParent.ItemID);     // В родительской папке (выше) обновляем информацию о текущем значении текста
  Item[mpiTitle]     = Format(gsMsgSearchText, [gsTextSearch]);
  Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;
  Item = HmsCreateMediaItem(&apos;-command=none&apos;, goCmdItem.ItemID);                 // Также в папке, содержащую главные команды поиска
  Item[mpiTitle]     = Format(gsMsgSearchText, [gsTextSearch]);
  Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/search-icon1.jpg&apos;;

  // Suggestions ------ Блок работы с подсказками -------
  if ((gsSuggestQuery!=&apos;&apos;) &amp;&amp; (Pos(&apos;Suggestions&apos;, mpFilePath)&gt;0) &amp;&amp; (Length(gsTextSearch)&gt;1)) {
    sText = gsTextSearch; if (gnSuggestNoUTFEnc==0) sText = HmsUtf8Encode(sText); // Если не указано не кодировать в UTF - кодируем
    sText = HmsHttpEncode(sText);
    // Если есть ключ &lt;TEXT&gt; в запросе - заменяем его на значение набранного текста, иначе просто добавляем в конец
    if (Pos(&apos;&lt;TEXT&gt;&apos;, gsSuggestQuery)&gt;0) gsSuggestQuery = ReplaceStr(gsSuggestQuery, &apos;&lt;TEXT&gt;&apos;, sText);
    else gsSuggestQuery = gsSuggestQuery + sText;
    HmsRegExMatch2(&apos;http://(.*?)(/.*)&apos;, gsSuggestQuery, sUrlServer, sRequestPage);
    if (gsSuggestMethod==&apos;POST&apos;) HmsRegExMatch2(&apos;^(.*?)\\?(.*)&apos;, sRequestPage, sRequestPage, sPostData);
    sHeaders = &apos;http://&apos;+sUrlServer+&apos;/\r\n&apos;+
               &apos;Accept-Encoding: gzip, deflate\r\n&apos;+
               &apos;User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0\r\n&apos;+
               &apos;Connection: Keep-Alive\r\n&apos;+
               &apos;Accept: application/json, text/javascript, */*; q=0.01\r\n&apos;;    // Для включения возможности gzip в запросах
    sText = HmsSendRequestEx(sUrlServer, sRequestPage, gsSuggestMethod, &apos;application/x-www-form-urlencoded; Charset=UTF-8&apos;, sHeaders, sPostData, 80, 0, &apos;&apos;, true);
    sText = HmsUtf8Decode(sText);
    if (gsSuggestResultCut!=&apos;&apos;) HmsRegExMatch(gsSuggestResultCut, sText, sText);// Если есть выражение обрезки - обрезаем
    sText = HmsJsonDecode(sText); TRegExpr t = TRegExpr.Create(&apos;(&lt;[^&gt;]+&gt;)&apos;);    // Избавляемся от тегов в середине слов подсказки
    TRegExpr reSearch = TRegExpr.Create(gsSuggestRegExpr, PCRE_SINGLELINE);
    if (reSearch.Search(sText)) do {
      s = reSearch.Match;
      if (t.Search(s)) do s=ReplaceStr(s, t.Match, &apos;&apos;); while (t.SearchAgain());// (функция HmsHtmlToText не подходит т.к. ставит пробел в середине слова)
      if (HmsRegExMatch(&apos;^(.*?)[/\\(\\|]&apos;, s, sCh)) {                           // Обрезаем подсказку до знаков /, ( или |
        if (Pos(LowerCase(gsTextSearch), LowerCase(sCh))&gt;0) s = sCh;            // Если после этого в подсказке встречается набранный текст - то так и оставляем
      }
      if (LowerCase(s)==s) s = NameCase(s);                                     // Если подсказки - все маленькие буквы, делаем NameCase
      // Если в подсказке больше одного слова - дополнительно создаём сначала подсказки из слов, которые содержат набранный текст (выделяем слова отдельно)
      if (WordCount(s, &apos; &apos;)&gt;1) {
        nCnt = WordCount(s, &apos; &apos;);
        for (i=1; i&lt;=nCnt; i++) {
          sCh=ExtractWord(i, s, &apos; &apos;); if (Trim(sCh)==&apos;&apos;) continue;
          if (Pos(LowerCase(gsTextSearch), LowerCase(sCh))&lt;1) continue;
          if (LowerCase(gsTextSearch)==LowerCase(sCh)) continue;
          sCh = ReplaceStr(sCh, &apos;:&apos;, &apos;&apos;); sCh=ReplaceStr(sCh, &apos;\\&apos;, &apos;&apos;);
          CreateDynamicItem(FolderItem, gsSuggestMessage+sCh, &apos;-SetSearchText=&apos;+sCh);
        }
      }
      // Создаём папку с предложением варианта (подсказку)
      if (LowerCase(s)!=LowerCase(gsTextSearch)) CreateDynamicItem(FolderItem, gsSuggestMessage+s, &apos;-SetSearchText=&apos;+s);
      if (gnTotalItems&gt;100) break; // Ограничиваем количество создаваемых элементов = 100
    } while (reSearch.SearchAgain());
  }
  HmsIncSystemUpdateID(); // Говорим устройству об обновлении содержания
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
      </ChildItems>
    </Item>
    <Item>
      <ClassID>32</ClassID>
      <ItemID>17639fc8062a6b654a87a617e37a5b64</ItemID>
      <ItemPath>-SettingsCommands</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>1137366,99930556</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>00. Настройки подкаста</Value>
        </Property>
        <Property>
          <ID>215</ID>
          <Value>-35</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42432,9334541319</Value>
        </Property>
      </Properties>
      <ChildItems>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>f49368b89df807518548943779057f5c</ItemID>
          <ItemPath>SettingName="--quality"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Выбор качества</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9333796296</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Качество - 720&apos;,&apos;-SetParam=720&apos;,&apos;&apos;],
[&apos;Качество - 640&apos;,&apos;-SetParam=640&apos;,&apos;&apos;],
[&apos;Качество - 480&apos;,&apos;-SetParam=480&apos;,&apos;&apos;],
[&apos;Качество - 360&apos;,&apos;-SetParam=360&apos;,&apos;&apos;],
[&apos;Использовать настройки мадиа-сервера&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>8230410b2c623d0f8ea851d2a1b8d95a</ItemID>
          <ItemPath>SettingName="--pages"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Лимит загрузки страниц для обновления</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,929212963</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Максимум  5 страниц для загрузки&apos;,&apos;-SetParam=5&apos;,&apos;&apos;],
[&apos;Максимум 10 страниц для загрузки&apos;,&apos;-SetParam=10&apos;,&apos;&apos;],
[&apos;Максимум 20 страниц для загрузки&apos;,&apos;-SetParam=20&apos;,&apos;&apos;],
[&apos;Максимум 50 страниц для загрузки&apos;,&apos;-SetParam=50&apos;,&apos;&apos;],
[&apos;Не ограничивать количество загружаемых страниц&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>633baab61f68ee2f67cd0a4149ac6134</ItemID>
          <ItemPath>SettingName="--yearintitle"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Год в названии</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9250462963</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Добавлять год к названию&apos;,&apos;-SetParam&apos;,&apos;&apos;],
[&apos;Не добавлять год к назвнию&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>977777a83fc99800c12ca1cafaecc701</ItemID>
          <ItemPath>SettingName="--titlecase"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Заглавые буквы названий</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,922962963</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Все названия заглавными буквами&apos;,&apos;-SetParam=upper&apos;,&apos;&apos;],
[&apos;Не делать названия заглавными буквами&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>cc8c629a1dcae48eb95b764f8e5fc507</ItemID>
          <ItemPath>SettingName="--ratingimdb"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Рейтинг IMDb в названии</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9208796296</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Включить рейтинг IMDb&apos;,&apos;-SetParam=1&apos;,&apos;&apos;],
[&apos;Включить рейтинг IMDb (полный)&apos;,&apos;-SetParam=2&apos;,&apos;&apos;],
[&apos;Выключить рейтинг IMDb&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>af80d99da6dd4f04d412a8607c8ab263</ItemID>
          <ItemPath>SettingName="--ratingkp"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Рейтинг КиноПоиск в названии</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9181018519</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Включить рейтинг КиноПоиск&apos;,&apos;-SetParam=1&apos;,&apos;&apos;],
[&apos;Включить рейтинг КиноПоиск (полный)&apos;,&apos;-SetParam=2&apos;,&apos;&apos;],
[&apos;Выключить рейтинг КиноПоиск&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>f8e7090b8ededac041cb25a951194c49</ItemID>
          <ItemPath>SettingName="--nodelitems"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Удаление ссылок при обновлении</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9153240741</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Не удалять старые ссылки при обновлении&apos;,&apos;-SetParam&apos;,&apos;&apos;],
[&apos;Удалять старые ссылки при обновлении&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>f083bad5faacdccca9eddb49a343042f</ItemID>
          <ItemPath>SettingName="--noprogress"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Показ прогресса обновления на компьютере</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9132407407</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Не показывать прогресс обновления на компьютере&apos;,&apos;-SetParam&apos;,&apos;&apos;],
[&apos;Показывать прогресс обновления на компьютере&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>4bd467c29f20f002c3ce127a828be267</ItemID>
          <ItemPath>SettingName="--vinfo"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Cсылка на просмотр информации о видео</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9111574074</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Размер шрифта информации - мелкий&apos;,&apos;-SetParam=0&apos;,&apos;&apos;],
[&apos;Размер шрифта информации - средний&apos;,&apos;-SetParam=1&apos;,&apos;&apos;],
[&apos;Размер шрифта информации - крупный&apos;,&apos;-SetParam=2&apos;,&apos;&apos;],
[&apos;Не добавлять ссылки "Информация о видео"&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>d3a62aef147818e6d927031289112ef7</ItemID>
          <ItemPath>SettingName="--videoinfoitems"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Добавлять элементы с информацией о видео</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9076851852</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Добавлять элементы с информацией о видео&apos;,&apos;-SetParam&apos;,&apos;&apos;],
[&apos;Не добавлять элементы с информацией о видео&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>57a446949f06a7954f10f2cb362178c8</ItemID>
          <ItemPath>SettingName="--hdsdump"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Режим HDS</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9056018519</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;Режим HDS включен&apos;,&apos;-SetParam&apos;,&apos;&apos;],
[&apos;Режим HDS выключен&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>32</ClassID>
          <ItemID>5e262c01d4c9414cbd511fcdf55ec9a4</ItemID>
          <ItemPath>SettingName="--retrieve"</ItemPath>
          <ParentID>17639fc8062a6b654a87a617e37a5b64</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Считывать свойства файла перед включением</Value>
            </Property>
            <Property>
              <ID>35</ID>
              <Value>42432,9035185185</Value>
            </Property>
            <Property>
              <ID>200</ID>
              <Value>5</Value>
            </Property>
            <Property>
              <ID>500</ID>
              <Value>char gsSelected = &apos;Выбрано:&apos;; char gsSetName=&apos;&apos;, gsParams;
int gnTotalItems=0; TDateTime gTimeStart = Now;
Variant ROOTPODCAST;
Variant aSubs = [
[&apos;&apos;Считывать свойства перед включением, mpiFilePath: -SetParam&apos;,&apos;&apos;Считывать свойства перед включением, mpiFilePath: -SetParam&apos;,&apos;&apos;],
[&apos;Не считывать свойства перед включением&apos;,&apos;-OffParam&apos;,&apos;&apos;],
];
// ----------------------------------- Поиск родителького подкаста (папки) ----
void GetRoot() {
  char sCFG=&apos;&apos;; ROOTPODCAST = FolderItem;
  while ((ROOTPODCAST.ItemParent != HmsDatabaseRootItem) &amp;&amp;
         (ROOTPODCAST.ItemParent != nil)) {
    if (Pos(&apos;Wonky Config&apos;, ROOTPODCAST[510])&gt;0) break;
    ROOTPODCAST = ROOTPODCAST.ItemParent;
  }
}
// ------------------------------------- Проверка на присутствие параметра ----
bool CheckParam(char sParam) {
  char sValue;
  if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;=&apos;+sValue+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-SetParam&apos;, sParam, sValue)) {
    return HmsRegExMatch(gsSetName+&apos;(?=\\s|$)&apos;, gsParams, sValue);
  }
  if (HmsRegExMatch(&apos;-OffParam&apos;, sParam, sValue)) {
    return !HmsRegExMatch(gsSetName+&apos;(?=\\s|=|$)&apos;, gsParams, sValue);
  }
  return false;
}
// -------------------------------------- Выключение параметра из настроек ----
void SettingOFF() {
  char s=&apos;&apos;;
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;=".*?")&apos;,   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=&apos;.*?&apos;)",   gsParams, s))
  if (!HmsRegExMatch(&apos;(&apos;+gsSetName+"=[^\\s]+)", gsParams, s))
       HmsRegExMatch(&apos;(&apos;+gsSetName+&apos;)\\s&apos;,  gsParams+&apos; &apos;, s);
  if (s != &apos;&apos;) {
    gsParams = ReplaceStr(gsParams, &apos; &apos;+s, &apos;&apos;);
    gsParams = Trim(ReplaceStr(gsParams, s+&apos; &apos;, &apos;&apos;));
  }
}
// ----------------------------------------------------------------------------
{
  int i; Variant Item, aItemInfo; char sValue, s;

  GetRoot(); gsParams = ROOTPODCAST[mpiPodcastParameters];
  HmsRegExMatch(&apos;\\[.\\](.*)&apos;, mpTitle, mpTitle);

  if (LeftCopy(mpFilePath, 1) == &apos;-&apos;) {;
    Item = HmsCreateMediaItem(ProgramPath()+&apos;\\Presentation\\Images\\videook.mp4&apos;, FolderItem.ItemID);
    Item[mpiTitle]     = gsSelected+&apos; &apos;+mpTitle;
    Item[mpiThumbnail] = &apos;http://wonky.lostcut.net/icons/ok.png&apos;;
    // Выполнение команды
    if (!HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, FolderItem.ItemParent[mpiFilePath], gsSetName)) return;
    if (HmsRegExMatch(&apos;-SetParam=(.*)&apos;,  FolderItem[mpiFilePath], sValue)) {
      SettingOFF();
      gsParams += &apos; &apos;+gsSetName+"="+sValue;
    } else if (HmsRegExMatch(&apos;-SetParam&apos;, FolderItem[mpiFilePath], sValue)) {
      if (Pos(gsSetName, gsParams)&lt;1) gsParams += &apos; &apos;+gsSetName;
    } else if (HmsRegExMatch(&apos;-OffParam&apos;, FolderItem[mpiFilePath], sValue)) SettingOFF();
    ROOTPODCAST[mpiPodcastParameters] = gsParams;
  } else if (Length(aSubs)&gt;0) {
    // Создание подкаталогов
    HmsRegExMatch(&apos;SettingName="(.*?)"&apos;, mpFilePath, gsSetName);
    for (i=0; i&lt;Length(aSubs); i++) {
      aItemInfo = aSubs[i];
      if (CheckParam(aItemInfo[1])) s = &apos;[v] &apos;; else s = &apos;[ ] &apos;;
      Item = FolderItem.AddFolder(aItemInfo[1], false, 32);
      Item[mpiTitle]      = s+aItemInfo[0];
      Item[mpiCreateDate] = VarToStr(IncTime(gTimeStart,0,-gnTotalItems,0,0)); gnTotalItems++;
      Item[200] = 5;               // mpiFolderType
      Item[500] = FolderItem[500]; // mpiDynamicScript
      Item[501] = &apos;C++Script&apos;;     // mpiDynamicSyntaxType
      Item[mpiFolderSortOrder] = -mpiCreateDate;
      if (aItemInfo[2]) Item[mpiThumbnail] = aItemInfo[2];
    }
  }
}</Value>
            </Property>
            <Property>
              <ID>501</ID>
              <Value>C++Script</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-35</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42432,9334541319</Value>
            </Property>
          </Properties>
        </Item>
      </ChildItems>
    </Item>
    <Item>
      <ClassID>5</ClassID>
      <ItemID>6b58530fc370840650339ddef25c4a42</ItemID>
      <ItemPath>-VideoPreview0</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>4</ID>
          <Value>Жанр: Фантастика, Триллер, Драма</Value>
        </Property>
        <Property>
          <ID>55</ID>
          <Value>http://wonky.lostcut.net/vids/info.jpg</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>42771,956412037</Value>
        </Property>
        <Property>
          <ID>3</ID>
          <Value>00:00:20.000</Value>
        </Property>
        <Property>
          <ID>1001001</ID>
          <Value>Poster=http://www.hdkinoteatr.ru/uploads/posts/2017-02/thumbs/im589708974ac70.jpg
Title=HDKinoTeatr.com [WH]
Categ=Фантастика, Триллер, Драма
Descr=Неожиданное появление неопознанных летающих объектов в разных точках планеты повергает мир в трепет. Намерения пришельцев не ясны — вооруженные силы всего мира приведены в полную боевую готовность, а лучшие умы человечества пытаются понять, как разговаривать с непрошенными гостями. Правительство обращается за помощью к лингвисту Луизе Бэнкс и физику Яну Доннели, чтобы предотвратить глобальную катастрофу и найти общий язык с пришельцами. Отныне судьба человечества находится в их руках.
</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42771,9565131944</Value>
        </Property>
      </Properties>
    </Item>
    <Item>
      <ClassID>51</ClassID>
      <ItemID>ab10a7f95ff8c1a6029a60d9e3f355b8</ItemID>
      <ItemPath>Коллектор</ItemPath>
      <ParentID>9bcd70df-0140-4c4e-82be-f7554b3a797e</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>0</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>35</ID>
          <Value>-323604,999305556</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42800,9267987037</Value>
        </Property>
      </Properties>
      <ChildItems>
        <Item>
          <ClassID>51</ClassID>
          <ItemID>03cec620ae92408ab2cb07f6c9112984</ItemID>
          <ItemPath>Фильмы - По алфавиту</ItemPath>
          <ParentID>ab10a7f95ff8c1a6029a60d9e3f355b8</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>4</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42800,9267987037</Value>
            </Property>
          </Properties>
          <ChildItems>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>e113b918234f644dfad72f150d6dcfca</ItemID>
              <ItemPath>Б</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>cd6ce0b671cadc2acf19da72add2ce4f</ItemID>
                  <ItemPath>БЫ</ItemPath>
                  <ParentID>e113b918234f644dfad72f150d6dcfca</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>4903f7311b3194befea6e6e49e7ba171</ItemID>
                  <ItemPath>БО</ItemPath>
                  <ParentID>e113b918234f644dfad72f150d6dcfca</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>9e1c4831613f0f4eef643ffa7fe168d5</ItemID>
                  <ItemPath>БА</ItemPath>
                  <ParentID>e113b918234f644dfad72f150d6dcfca</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>83939dd27f933a76f8831f78f8f096de</ItemID>
                  <ItemPath>БР</ItemPath>
                  <ParentID>e113b918234f644dfad72f150d6dcfca</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>fa866d62f135cc6e44932d0212e2aa07</ItemID>
                  <ItemPath>БЕ</ItemPath>
                  <ParentID>e113b918234f644dfad72f150d6dcfca</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>05f2a1885120259cd807409418d869b6</ItemID>
                  <ItemPath>БИ</ItemPath>
                  <ParentID>e113b918234f644dfad72f150d6dcfca</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>ffa978db032c8f9395b943b5e78e649d</ItemID>
                  <ItemPath>БЭ</ItemPath>
                  <ParentID>e113b918234f644dfad72f150d6dcfca</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>630cf91ce47df6e50b280ea427b15d0b</ItemID>
                  <ItemPath>БЛ</ItemPath>
                  <ParentID>e113b918234f644dfad72f150d6dcfca</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>7b7a687bed2752e7b61e622d2d04383b</ItemID>
              <ItemPath>С</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>a038faa4a2801edd06491c5a7fd5722d</ItemID>
                  <ItemPath>СА</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>c32a279dbbc0d42ea22e9892b4a432e7</ItemID>
                  <ItemPath>СП</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>375799cfe3bb91de25ab6763d8ba6abe</ItemID>
                  <ItemPath>СР</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>af214c744715a6f6409394aded4e8784</ItemID>
                  <ItemPath>СУ</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>9ae61452d1d56019b9df687ba044e507</ItemID>
                  <ItemPath>СИ</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>415b4d4dcc05dc3048e1b1a4acd9f06a</ItemID>
                  <ItemPath>СЕ</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>1e9967ac3a54207fdbb0a844fdb4fadd</ItemID>
                  <ItemPath>СМ</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>77f22e2a0f7d97ac487124e482deb14c</ItemID>
                  <ItemPath>СТ</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>8e8e9f5f13b3cec3da043ee105407fcc</ItemID>
                  <ItemPath>СО</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>16f902443d096d301632a21553618e90</ItemID>
                  <ItemPath>СК</ItemPath>
                  <ParentID>7b7a687bed2752e7b61e622d2d04383b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>e83b13d2e84bec14e2043c95e1ca465c</ItemID>
              <ItemPath>Г</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>144b56385947cf555b285c9d67ab3bc7</ItemID>
                  <ItemPath>ГР</ItemPath>
                  <ParentID>e83b13d2e84bec14e2043c95e1ca465c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>0d5ac2cbb7bb0338a8267b71af8b8cfb</ItemID>
                  <ItemPath>ГО</ItemPath>
                  <ParentID>e83b13d2e84bec14e2043c95e1ca465c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>3d03fc0cb7bed1b7be72ce8cc1fd2fc1</ItemID>
                  <ItemPath>ГА</ItemPath>
                  <ParentID>e83b13d2e84bec14e2043c95e1ca465c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>943f0889f043a152c80bc2ab2700ac4a</ItemID>
                  <ItemPath>ГЕ</ItemPath>
                  <ParentID>e83b13d2e84bec14e2043c95e1ca465c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>8cf99651f71d3e365f4989d2f9118051</ItemID>
              <ItemPath>О</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>a484775281a290ead908e0e6545f137b</ItemID>
                  <ItemPath>ОХ</ItemPath>
                  <ParentID>8cf99651f71d3e365f4989d2f9118051</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>9a6447168d9abd0a7553a028a7319b00</ItemID>
                  <ItemPath>ОС</ItemPath>
                  <ParentID>8cf99651f71d3e365f4989d2f9118051</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>fbcfcc8803be09506d4401ddda4fd0d6</ItemID>
                  <ItemPath>ОЛ</ItemPath>
                  <ParentID>8cf99651f71d3e365f4989d2f9118051</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>d07edb783437f80b645080fe0b312a0f</ItemID>
                  <ItemPath>ОД</ItemPath>
                  <ParentID>8cf99651f71d3e365f4989d2f9118051</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>8438a966607bd344d38ecad329a9612b</ItemID>
                  <ItemPath>ОГ</ItemPath>
                  <ParentID>8cf99651f71d3e365f4989d2f9118051</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>a74892d1d2c98422cdf4eb5fd147bb8e</ItemID>
                  <ItemPath>ОЗ</ItemPath>
                  <ParentID>8cf99651f71d3e365f4989d2f9118051</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>f672382a15f9f47480ba8a3924ee23be</ItemID>
                  <ItemPath>ОТ</ItemPath>
                  <ParentID>8cf99651f71d3e365f4989d2f9118051</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>71511265de54498ebf5842d20338fbda</ItemID>
              <ItemPath>Ф</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b5bf7c2fcfad711c6aa9808aadb67b8c</ItemID>
                  <ItemPath>ФЕ</ItemPath>
                  <ParentID>71511265de54498ebf5842d20338fbda</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>ffe52f7e80113e3475d3c539fe29f6aa</ItemID>
                  <ItemPath>ФУ</ItemPath>
                  <ParentID>71511265de54498ebf5842d20338fbda</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>91977bef02175ae2824adc23bf916ea6</ItemID>
                  <ItemPath>ФИ</ItemPath>
                  <ParentID>71511265de54498ebf5842d20338fbda</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>f57a15950f8723fd22833bb3c3553d00</ItemID>
                  <ItemPath>ФА</ItemPath>
                  <ParentID>71511265de54498ebf5842d20338fbda</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>83611788b384ad9be1635a23cc7f7430</ItemID>
              <ItemPath>А</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b02b1f99d908974f21d0d1eba6bab94e</ItemID>
                  <ItemPath>АН</ItemPath>
                  <ParentID>83611788b384ad9be1635a23cc7f7430</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>9837d8389774058c8c35bfc5b5468679</ItemID>
                  <ItemPath>АД</ItemPath>
                  <ParentID>83611788b384ad9be1635a23cc7f7430</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b51ad08ddc116335387ca96971f3092c</ItemID>
                  <ItemPath>АМ</ItemPath>
                  <ParentID>83611788b384ad9be1635a23cc7f7430</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>4766c80431b93ed0232c9c099419217f</ItemID>
                  <ItemPath>АР</ItemPath>
                  <ParentID>83611788b384ad9be1635a23cc7f7430</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>9f5a035f4d16b448aacf31880fd38047</ItemID>
                  <ItemPath>АЛ</ItemPath>
                  <ParentID>83611788b384ad9be1635a23cc7f7430</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>bd51da67bfc15da4a95fb9e57a79f4f2</ItemID>
              <ItemPath>К</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>093ea7fd4c344fa31f7fed1d574d5028</ItemID>
                  <ItemPath>КО</ItemPath>
                  <ParentID>bd51da67bfc15da4a95fb9e57a79f4f2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>6fafc6febfb299ccb36b2061cdf4c633</ItemID>
                  <ItemPath>КА</ItemPath>
                  <ParentID>bd51da67bfc15da4a95fb9e57a79f4f2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>5be01fd262078f7e5f47351fda1e3b72</ItemID>
                  <ItemPath>КР</ItemPath>
                  <ParentID>bd51da67bfc15da4a95fb9e57a79f4f2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>553229341a6216d08740b424282b3374</ItemID>
                  <ItemPath>КУ</ItemPath>
                  <ParentID>bd51da67bfc15da4a95fb9e57a79f4f2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>ebcc37a2e315dcbc5863fd55c5f1dab1</ItemID>
                  <ItemPath>КЕ</ItemPath>
                  <ParentID>bd51da67bfc15da4a95fb9e57a79f4f2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>c9e2ec98d8e6bb9aec1d0f78f458842d</ItemID>
                  <ItemPath>КЛ</ItemPath>
                  <ParentID>bd51da67bfc15da4a95fb9e57a79f4f2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>799a53ff16ffb9a63cc0e5724dec368c</ItemID>
                  <ItemPath>КИ</ItemPath>
                  <ParentID>bd51da67bfc15da4a95fb9e57a79f4f2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>598b7628394cb9ba1bc2cea51f2df025</ItemID>
                  <ItemPath>КН</ItemPath>
                  <ParentID>bd51da67bfc15da4a95fb9e57a79f4f2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>20f883e116c38c45cb0531c19fc3cafa</ItemID>
                  <ItemPath>КВ</ItemPath>
                  <ParentID>bd51da67bfc15da4a95fb9e57a79f4f2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>901108c340aea63f7294c208ee7fe655</ItemID>
              <ItemPath>З</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>43e631206a0bcae2555d604dd1194d92</ItemID>
                  <ItemPath>ЗА</ItemPath>
                  <ParentID>901108c340aea63f7294c208ee7fe655</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b8e5eddcbc5260a9438a76e4966bbb66</ItemID>
                  <ItemPath>ЗЛ</ItemPath>
                  <ParentID>901108c340aea63f7294c208ee7fe655</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>a8c3d9bfb15d504fe700e03ed990805c</ItemID>
                  <ItemPath>ЗМ</ItemPath>
                  <ParentID>901108c340aea63f7294c208ee7fe655</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>c962877e2bb2ccab43117dce857961eb</ItemID>
                  <ItemPath>ЗО</ItemPath>
                  <ParentID>901108c340aea63f7294c208ee7fe655</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>de4644d9b10302444fbb565170aeccb2</ItemID>
              <ItemPath>П</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>e122db94617d151e3de7243466157504</ItemID>
                  <ItemPath>ПО</ItemPath>
                  <ParentID>de4644d9b10302444fbb565170aeccb2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>fed6265f7dc20e84fd50bf075527c07d</ItemID>
                  <ItemPath>ПЕ</ItemPath>
                  <ParentID>de4644d9b10302444fbb565170aeccb2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b3361f52d186d5dc6dd9de74ccb9c6af</ItemID>
                  <ItemPath>ПР</ItemPath>
                  <ParentID>de4644d9b10302444fbb565170aeccb2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>fb5fcbcbf63efde3ba525a4f2a12b8e0</ItemID>
                  <ItemPath>ПЭ</ItemPath>
                  <ParentID>de4644d9b10302444fbb565170aeccb2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>9fd887b9262be06e8ad06fdeaf992484</ItemID>
                  <ItemPath>ПЛ</ItemPath>
                  <ParentID>de4644d9b10302444fbb565170aeccb2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>e95024c1db95f912de7025d6f7dcf7e5</ItemID>
                  <ItemPath>ПА</ItemPath>
                  <ParentID>de4644d9b10302444fbb565170aeccb2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>e43de0bb4d9ee31bf7eb1930afed9547</ItemID>
                  <ItemPath>ПИ</ItemPath>
                  <ParentID>de4644d9b10302444fbb565170aeccb2</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>237f16d9d4a2a6dfd4e01c36f00864a8</ItemID>
              <ItemPath>В</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>854c67b355238a75537f662b9d3dbca6</ItemID>
                  <ItemPath>ВО</ItemPath>
                  <ParentID>237f16d9d4a2a6dfd4e01c36f00864a8</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>a46586cdc434f993b6b64afa7f142a87</ItemID>
                  <ItemPath>ВС</ItemPath>
                  <ParentID>237f16d9d4a2a6dfd4e01c36f00864a8</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>ba588000a69d7ff9d05cc54248a9a283</ItemID>
                  <ItemPath>В </ItemPath>
                  <ParentID>237f16d9d4a2a6dfd4e01c36f00864a8</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>3656916017b907635bc6187a586435d7</ItemID>
                  <ItemPath>ВУ</ItemPath>
                  <ParentID>237f16d9d4a2a6dfd4e01c36f00864a8</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>e17cedc79651bbb78cf8b329bdd6dcb8</ItemID>
                  <ItemPath>ВЫ</ItemPath>
                  <ParentID>237f16d9d4a2a6dfd4e01c36f00864a8</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>f5aa5a74b85367a6b1cb604e994b10fd</ItemID>
                  <ItemPath>ВЗ</ItemPath>
                  <ParentID>237f16d9d4a2a6dfd4e01c36f00864a8</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>9d9f71e0abe1ad6ed77cf18585f33f4a</ItemID>
                  <ItemPath>ВН</ItemPath>
                  <ParentID>237f16d9d4a2a6dfd4e01c36f00864a8</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>1da4e4cec537006ef969b119e932cf88</ItemID>
                  <ItemPath>ВЕ</ItemPath>
                  <ParentID>237f16d9d4a2a6dfd4e01c36f00864a8</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>3945563621cd6a2fd5d76120853f6a35</ItemID>
                  <ItemPath>ВА</ItemPath>
                  <ParentID>237f16d9d4a2a6dfd4e01c36f00864a8</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>b65219d3bebb36fae96453d46705c8e7</ItemID>
              <ItemPath>Т</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>bf178c21fb8711dfbec11dfadbade154</ItemID>
                  <ItemPath>ТР</ItemPath>
                  <ParentID>b65219d3bebb36fae96453d46705c8e7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>bbb8eb172b92982a35d398c449481052</ItemID>
                  <ItemPath>ТО</ItemPath>
                  <ParentID>b65219d3bebb36fae96453d46705c8e7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>84a8f274430a605dbe10026ae05afd3b</ItemID>
                  <ItemPath>ТУ</ItemPath>
                  <ParentID>b65219d3bebb36fae96453d46705c8e7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>3b53c98c77c7de51cdb6f72c8cabe1cd</ItemID>
                  <ItemPath>ТА</ItemPath>
                  <ParentID>b65219d3bebb36fae96453d46705c8e7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>6da6421739e4d4c8b33d993fa00be9e5</ItemID>
              <ItemPath>Э</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b97717be22b76ef255e11119d7ff6627</ItemID>
                  <ItemPath>ЭЛ</ItemPath>
                  <ParentID>6da6421739e4d4c8b33d993fa00be9e5</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>0b93b1a8d52da7c22c98103fdf4b96bc</ItemID>
                  <ItemPath>ЭД</ItemPath>
                  <ParentID>6da6421739e4d4c8b33d993fa00be9e5</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>7683f80b7112ad9620c4777c1e2db47c</ItemID>
              <ItemPath>Д</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>55488041bccf8b8aee46d5db7b6a9507</ItemID>
                  <ItemPath>ДЯ</ItemPath>
                  <ParentID>7683f80b7112ad9620c4777c1e2db47c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>05b9e6f4f85d26e59a6021aba3dbb6bc</ItemID>
                  <ItemPath>ДЫ</ItemPath>
                  <ParentID>7683f80b7112ad9620c4777c1e2db47c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>c9975d651825db6e80a06fff56f67286</ItemID>
                  <ItemPath>ДО</ItemPath>
                  <ParentID>7683f80b7112ad9620c4777c1e2db47c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>63af66249e4dc8e862716d975f753b50</ItemID>
                  <ItemPath>ДР</ItemPath>
                  <ParentID>7683f80b7112ad9620c4777c1e2db47c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>96acb7ed28d3678da519bf23077add17</ItemID>
                  <ItemPath>ДА</ItemPath>
                  <ParentID>7683f80b7112ad9620c4777c1e2db47c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>6c04831d1a00eeab4a4633da44c52448</ItemID>
                  <ItemPath>ДЕ</ItemPath>
                  <ParentID>7683f80b7112ad9620c4777c1e2db47c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>1e7795e3ab7f18b360351744b5fd0f00</ItemID>
                  <ItemPath>ДЭ</ItemPath>
                  <ParentID>7683f80b7112ad9620c4777c1e2db47c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>972e92493693f0b6cf461699f8867b38</ItemID>
                  <ItemPath>ДЬ</ItemPath>
                  <ParentID>7683f80b7112ad9620c4777c1e2db47c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>4ac71da4754226ad83aa3ad8fc9d38be</ItemID>
              <ItemPath>Я</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>fc5547eff24a6dcc7f155a9d16ff2944</ItemID>
                  <ItemPath>Я </ItemPath>
                  <ParentID>4ac71da4754226ad83aa3ad8fc9d38be</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>13cf191477e205b000576f9bf8ab4a40</ItemID>
              <ItemPath>М</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>a3cd70e31ead2062bc48309002e6148e</ItemID>
                  <ItemPath>МА</ItemPath>
                  <ParentID>13cf191477e205b000576f9bf8ab4a40</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>04eb2e3a0bd3226fe4c44fd56a4490b4</ItemID>
                  <ItemPath>МЕ</ItemPath>
                  <ParentID>13cf191477e205b000576f9bf8ab4a40</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>3e602153323011c4e5795420cc4638ed</ItemID>
                  <ItemPath>МЭ</ItemPath>
                  <ParentID>13cf191477e205b000576f9bf8ab4a40</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>37dad33f509cd594413b60bbf840c993</ItemID>
                  <ItemPath>МИ</ItemPath>
                  <ParentID>13cf191477e205b000576f9bf8ab4a40</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>314b84d7dbd92c9a302e53affda592f6</ItemID>
                  <ItemPath>МО</ItemPath>
                  <ParentID>13cf191477e205b000576f9bf8ab4a40</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>79878345df7caf09db3eb061e0c3f9f3</ItemID>
              <ItemPath>Н</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>22cf9abcc91615415b6b5efea0738372</ItemID>
                  <ItemPath>НЕ</ItemPath>
                  <ParentID>79878345df7caf09db3eb061e0c3f9f3</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>a67999aa1569f663119e28222f72c71f</ItemID>
                  <ItemPath>НА</ItemPath>
                  <ParentID>79878345df7caf09db3eb061e0c3f9f3</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>c7d3a94269a1f71e44853a83fcbadf9c</ItemID>
                  <ItemPath>НО</ItemPath>
                  <ParentID>79878345df7caf09db3eb061e0c3f9f3</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>54ec71b8a766cc9ce72c23a531b98bcc</ItemID>
              <ItemPath>Ч</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>e247276c328368ff57dee58905a22d4d</ItemID>
                  <ItemPath>ЧЕ</ItemPath>
                  <ParentID>54ec71b8a766cc9ce72c23a531b98bcc</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>9e0d6fdac9b7b3b725d8f9b1b2c02f93</ItemID>
                  <ItemPath>ЧУ</ItemPath>
                  <ParentID>54ec71b8a766cc9ce72c23a531b98bcc</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>0e77073e07ce2ab90d8519ff4f8df359</ItemID>
              <ItemPath>Ш</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>8511a974f1c98405613a7e4c5f2add7e</ItemID>
                  <ItemPath>ША</ItemPath>
                  <ParentID>0e77073e07ce2ab90d8519ff4f8df359</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>9eed77252347ce15c8ae5ecfd49ca6f4</ItemID>
                  <ItemPath>ШТ</ItemPath>
                  <ParentID>0e77073e07ce2ab90d8519ff4f8df359</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>e73671ed98fe64a96697ade019a0fb1f</ItemID>
                  <ItemPath>ШО</ItemPath>
                  <ParentID>0e77073e07ce2ab90d8519ff4f8df359</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>f8ede0f1e12ee3379411e83fe1bf1a2e</ItemID>
                  <ItemPath>ШК</ItemPath>
                  <ParentID>0e77073e07ce2ab90d8519ff4f8df359</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>64b8f924c2e3dc653de0f3208ccbe935</ItemID>
              <ItemPath>У</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>e38e46bcfe8ecb51477612dd139dd1a8</ItemID>
                  <ItemPath>УХ</ItemPath>
                  <ParentID>64b8f924c2e3dc653de0f3208ccbe935</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>45bb633a38d5b5ee92b98b660483ebab</ItemID>
                  <ItemPath>УД</ItemPath>
                  <ParentID>64b8f924c2e3dc653de0f3208ccbe935</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>14b8ea3ea98e09408d47557308b94ed9</ItemID>
                  <ItemPath>УЛ</ItemPath>
                  <ParentID>64b8f924c2e3dc653de0f3208ccbe935</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b81a595aaa151da1613b226cb586f1ec</ItemID>
                  <ItemPath>УП</ItemPath>
                  <ParentID>64b8f924c2e3dc653de0f3208ccbe935</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>f905171410dfe28dbb5d8b56bdfc7307</ItemID>
                  <ItemPath>УК</ItemPath>
                  <ParentID>64b8f924c2e3dc653de0f3208ccbe935</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>1fd64cc6300e4860f2f49b783ff5473e</ItemID>
                  <ItemPath>УИ</ItemPath>
                  <ParentID>64b8f924c2e3dc653de0f3208ccbe935</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>42a6c04f26056912652672a4cdee94d7</ItemID>
              <ItemPath>Л</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>5faa1ea5a342034d8d4c5daa5e1bf874</ItemID>
                  <ItemPath>ЛИ</ItemPath>
                  <ParentID>42a6c04f26056912652672a4cdee94d7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>1387645f031e9181227034d2d3cd581d</ItemID>
                  <ItemPath>ЛУ</ItemPath>
                  <ParentID>42a6c04f26056912652672a4cdee94d7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>233456c3fc5b368345e39940da0d8ec1</ItemID>
                  <ItemPath>ЛЕ</ItemPath>
                  <ParentID>42a6c04f26056912652672a4cdee94d7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>0b6d4660c2654ba562e5b359ceba23df</ItemID>
                  <ItemPath>ЛО</ItemPath>
                  <ParentID>42a6c04f26056912652672a4cdee94d7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>17bf06636aebbe49b31d743fd444ac5c</ItemID>
                  <ItemPath>ЛЮ</ItemPath>
                  <ParentID>42a6c04f26056912652672a4cdee94d7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>ea944d024cea3f271b5d60c17d6c08a7</ItemID>
              <ItemPath>Р</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>f518abfd2f5f968dc65a2918beff6ef4</ItemID>
                  <ItemPath>РА</ItemPath>
                  <ParentID>ea944d024cea3f271b5d60c17d6c08a7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b4425097b007523b0683470f85af0134</ItemID>
                  <ItemPath>РО</ItemPath>
                  <ParentID>ea944d024cea3f271b5d60c17d6c08a7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>ad4966bc25c11122c4ac45c468f6b60b</ItemID>
                  <ItemPath>РУ</ItemPath>
                  <ParentID>ea944d024cea3f271b5d60c17d6c08a7</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>27b45a844e77474c86b43b877176652c</ItemID>
              <ItemPath>Ю</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>94718f098cea871c357e1922ba47e1fd</ItemID>
                  <ItemPath>ЮН</ItemPath>
                  <ParentID>27b45a844e77474c86b43b877176652c</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>47d6f54301eb60858de3df87e198f18c</ItemID>
              <ItemPath>#</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>4</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>f19d3eec3798d71c45ad221f119cea23</ItemID>
              <ItemPath>И</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>a944a955ce7be363bfb7d62c43637823</ItemID>
                  <ItemPath>ИД</ItemPath>
                  <ParentID>f19d3eec3798d71c45ad221f119cea23</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>d65b59533f0b37686eae3a3254fdbddc</ItemID>
                  <ItemPath>ИГ</ItemPath>
                  <ParentID>f19d3eec3798d71c45ad221f119cea23</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>99476847ed0d6fb6925e325d2ec6e077</ItemID>
                  <ItemPath>ИН</ItemPath>
                  <ParentID>f19d3eec3798d71c45ad221f119cea23</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>a7b5949d0bec83879c23d9bc275c9356</ItemID>
                  <ItemPath>ИС</ItemPath>
                  <ParentID>f19d3eec3798d71c45ad221f119cea23</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>fc29dddab003f4cfe3809d4d45395069</ItemID>
              <ItemPath>A..Z</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>4</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>3065bd4238effa8e4f654659a13304a1</ItemID>
              <ItemPath>Х</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>79f93982f38d1d0ced8423082809a6bb</ItemID>
                  <ItemPath>ХО</ItemPath>
                  <ParentID>3065bd4238effa8e4f654659a13304a1</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b5d43ead77fb2fa80dc04d2188df03bf</ItemID>
                  <ItemPath>ХЭ</ItemPath>
                  <ParentID>3065bd4238effa8e4f654659a13304a1</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>50ae0520f9b808df52cdd8ecad8aaf28</ItemID>
              <ItemPath>Ж</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>033b17ebb4b889250cc7f2a4bc24f994</ItemID>
                  <ItemPath>ЖЕ</ItemPath>
                  <ParentID>50ae0520f9b808df52cdd8ecad8aaf28</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>d6e35a5d0f3b636c5ded01365396b18e</ItemID>
                  <ItemPath>ЖА</ItemPath>
                  <ParentID>50ae0520f9b808df52cdd8ecad8aaf28</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>62bdd21cb150a8b2ba863d21a77015a5</ItemID>
                  <ItemPath>ЖУ</ItemPath>
                  <ParentID>50ae0520f9b808df52cdd8ecad8aaf28</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>909adf5d894746ff12e3ce8b57d0a399</ItemID>
              <ItemPath>Е</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>fded570aa6767dbe73aa8684ae6705b4</ItemID>
                  <ItemPath>ЕГ</ItemPath>
                  <ParentID>909adf5d894746ff12e3ce8b57d0a399</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b3f9185513e2c78a3aab816bc8146e1f</ItemID>
                  <ItemPath>ЕВ</ItemPath>
                  <ParentID>909adf5d894746ff12e3ce8b57d0a399</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>f68e6ed5a0252fea55fb068922244e2e</ItemID>
                  <ItemPath>ЕС</ItemPath>
                  <ParentID>909adf5d894746ff12e3ce8b57d0a399</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>0a55c81e3c0f03a2c12b9b1e4177eaa4</ItemID>
              <ItemPath>Ц</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42814,9516539583</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b7a35cd71f0f429f138d1d3db1d5a932</ItemID>
                  <ItemPath>ЦЕ</ItemPath>
                  <ParentID>0a55c81e3c0f03a2c12b9b1e4177eaa4</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>3fdf6ad1979e07b33be8336b1430710d</ItemID>
              <ItemPath>Й</ItemPath>
              <ParentID>03cec620ae92408ab2cb07f6c9112984</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>4f38bba3ee94f458fb78fbdcad8eeb2f</ItemID>
                  <ItemPath>ЙО</ItemPath>
                  <ParentID>3fdf6ad1979e07b33be8336b1430710d</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
          </ChildItems>
        </Item>
        <Item>
          <ClassID>51</ClassID>
          <ItemID>f723e09058755da08c65662909b45270</ItemID>
          <ItemPath>Фильмы - По годам</ItemPath>
          <ParentID>ab10a7f95ff8c1a6029a60d9e3f355b8</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-4</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42800,9267987037</Value>
            </Property>
          </Properties>
          <ChildItems>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>dc47169869295c98cdfaebd719748341</ItemID>
              <ItemPath>2016</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>1adfb89cf81a7bb373f784920a1fd229</ItemID>
              <ItemPath>2015</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>ea78aab8f19c72684f6ae93fe6379c6d</ItemID>
              <ItemPath>1981</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>6fa9699dbef3e0fd805bd8784f492143</ItemID>
              <ItemPath>2003</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>2e8f04f91d90c016dec4e11f7a4f8397</ItemID>
              <ItemPath>1994</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>f71755fd760fe3e7d73857d5068356c3</ItemID>
              <ItemPath>2013</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>abec8147bb5e2934a4f4ae2182ac4b26</ItemID>
              <ItemPath>1983</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>0cb411384acbda4ceead0da3ce862a71</ItemID>
              <ItemPath>2014</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>2c436c90300216f3cf89bd76619960c8</ItemID>
              <ItemPath>1979</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>fe4379b2465d7136d6520a9fdecedc54</ItemID>
              <ItemPath>2008</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>f69f1b808a8373b83d8e1a2abd31baee</ItemID>
              <ItemPath>1949</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>0b73fdef40abfe0361e40d3eca03541d</ItemID>
              <ItemPath>1968</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>e8f6de04a337e8e8547b508776f460d6</ItemID>
              <ItemPath>2011</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>dd94af04b6e43933c0abdd58255b6c2a</ItemID>
              <ItemPath>1995</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>8337cfb961004d88b339c96bbc8ff65f</ItemID>
              <ItemPath>2009</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>c49dddc2931db759dd2f063536330339</ItemID>
              <ItemPath>2007</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>21c8d9074c65ad38b12afeda25420c53</ItemID>
              <ItemPath>1993</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>fae24087a11666c5ea03cb221e591007</ItemID>
              <ItemPath>2012</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>33bbc88b4d6840be9b036d1dc25e7e77</ItemID>
              <ItemPath>2005</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>d5e26c98799bf43b51761ce98b5c5c9f</ItemID>
              <ItemPath>1992</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>2d77c91027bb6304b97b896ea337fb22</ItemID>
              <ItemPath>2004</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>4841521ee98c8c00b36cf8ce46d82492</ItemID>
              <ItemPath>1938</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>9e11a656d673502ed821a12e910ee4fc</ItemID>
              <ItemPath>2006</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>66f62828179326a1e7fd7d1e81c54281</ItemID>
              <ItemPath>1942</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>034d830e4ae19fe4f56db0ec189b2f83</ItemID>
              <ItemPath>1970</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>0cbd0fb31c73174d056271c70001142b</ItemID>
              <ItemPath>1985</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>9024dba91ef6a2d1722f77759a7631ca</ItemID>
              <ItemPath>1997</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>37b0a8d33c0f137a767fda076b82de6a</ItemID>
              <ItemPath>1998</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>5cbdda6b200e15a172f7ccbdd26fefe8</ItemID>
              <ItemPath>1960</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>078110d1688e2d226b4fa4f0ad26dfb3</ItemID>
              <ItemPath>1996</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>a91c78f72a43476becfbd261b0ced507</ItemID>
              <ItemPath>2001</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>0e6c20f80c7ee3ed5bccff0253e8f257</ItemID>
              <ItemPath>2000</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>1a86b8943e463eb7e413ad1b891944c9</ItemID>
              <ItemPath>1962</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>a8e6184933c0a10a3ac9cc3cefae0922</ItemID>
              <ItemPath>1988</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>d79da31a4d0ca76db7f69e08401ebdd2</ItemID>
              <ItemPath>1991</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>14f656e6b01467ddb5df27a113f5b145</ItemID>
              <ItemPath>1978</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>87c480e523ea37848afafe3444e9dc9b</ItemID>
              <ItemPath>2010</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>4357c4eecb76747b7a8477f27ea3295f</ItemID>
              <ItemPath>1999</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>2968f80de445325f7c1e79f776d9dfc1</ItemID>
              <ItemPath>1946</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>eb03e1e876c44f341c43af626ac4bd78</ItemID>
              <ItemPath>1952</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>6ee39aef102968dd6b4824d112d9f56e</ItemID>
              <ItemPath>1987</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>0ab99074fda794a074e266f2b2e0b2ca</ItemID>
              <ItemPath>1972</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>cd80ce64e18b49653ed14b1f92911481</ItemID>
              <ItemPath>2017</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42814,9516539583</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>5a6229b561a5c0007ec0832556b4566b</ItemID>
              <ItemPath>1989</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>5442074b01ee235c972fb2c511069683</ItemID>
              <ItemPath>1986</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>5947d96ca6d0590aeaa3f534f0d37aa4</ItemID>
              <ItemPath>1980</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>8063bee9ac521250d399e1be275e1015</ItemID>
              <ItemPath>1969</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>ffe10ef84d2653ba6462a6b5b72904e5</ItemID>
              <ItemPath>1943</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>53d2518b182164aef33700aba74122a2</ItemID>
              <ItemPath>2002</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>f36ec979035977a259a7eb011aec5cf4</ItemID>
              <ItemPath>1974</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>0f423c7c54848e7dd7d557a75a049597</ItemID>
              <ItemPath>1964</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>551bc47ccdf976f1c6678c4c3688fc8b</ItemID>
              <ItemPath>1961</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>1814bc9ac1355e0a2b7c8bf3d368db4c</ItemID>
              <ItemPath>1965</ItemPath>
              <ParentID>f723e09058755da08c65662909b45270</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
          </ChildItems>
        </Item>
        <Item>
          <ClassID>51</ClassID>
          <ItemID>7a7707d56af5320c943df75e2fa6080c</ItemID>
          <ItemPath>Мультфильмы - По алфавиту</ItemPath>
          <ParentID>ab10a7f95ff8c1a6029a60d9e3f355b8</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>4</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42800,9267987037</Value>
            </Property>
          </Properties>
          <ChildItems>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>0dce1a25863cdea5339aedb232561a9e</ItemID>
              <ItemPath>П</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>5438fb7729fe5c89e392d00bf2f5d23b</ItemID>
                  <ItemPath>ПР</ItemPath>
                  <ParentID>0dce1a25863cdea5339aedb232561a9e</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>5114beee17a373fdb03f1999c4e3a6df</ItemID>
                  <ItemPath>ПЕ</ItemPath>
                  <ParentID>0dce1a25863cdea5339aedb232561a9e</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>e706c6cc984cdc62216f43a3b3d7972d</ItemID>
                  <ItemPath>ПА</ItemPath>
                  <ParentID>0dce1a25863cdea5339aedb232561a9e</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>bb18ef8ad260dbfc2e2d5cc0ec618239</ItemID>
                  <ItemPath>ПО</ItemPath>
                  <ParentID>0dce1a25863cdea5339aedb232561a9e</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>4173ad8fe1a21ee5b27c39aa677d439d</ItemID>
              <ItemPath>Л</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>7c44681cb16dd4b36c565a1e246bb586</ItemID>
                  <ItemPath>ЛО</ItemPath>
                  <ParentID>4173ad8fe1a21ee5b27c39aa677d439d</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>12f97c4638fe48552af699639ef2e884</ItemID>
                  <ItemPath>ЛИ</ItemPath>
                  <ParentID>4173ad8fe1a21ee5b27c39aa677d439d</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>8f87c5e8fb2243322b9dee45e36589cd</ItemID>
                  <ItemPath>ЛЕ</ItemPath>
                  <ParentID>4173ad8fe1a21ee5b27c39aa677d439d</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>bb5ecd41fb84d6e510eb3e863de0329b</ItemID>
              <ItemPath>Б</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>3eec1569b7e93f96b2bf9e6331d83309</ItemID>
                  <ItemPath>БА</ItemPath>
                  <ParentID>bb5ecd41fb84d6e510eb3e863de0329b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>8bd81e4e5c8ced5936599a6e18b064ba</ItemID>
                  <ItemPath>БО</ItemPath>
                  <ParentID>bb5ecd41fb84d6e510eb3e863de0329b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>4bebdbdbd1ba1fbf0579e0705a7d9659</ItemID>
              <ItemPath>В</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>d0ff1690d634b42b2b8ae4701b514a45</ItemID>
                  <ItemPath>ВП</ItemPath>
                  <ParentID>4bebdbdbd1ba1fbf0579e0705a7d9659</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>7b8f8977fd11e3ef9a63af5a2bb44a3c</ItemID>
                  <ItemPath>ВЕ</ItemPath>
                  <ParentID>4bebdbdbd1ba1fbf0579e0705a7d9659</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>69724523d1e8fe1b8474a5714e9c2a5b</ItemID>
                  <ItemPath>ВО</ItemPath>
                  <ParentID>4bebdbdbd1ba1fbf0579e0705a7d9659</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>cce8cdccd3411eb7fb87eb339dbeb4bd</ItemID>
                  <ItemPath>В </ItemPath>
                  <ParentID>4bebdbdbd1ba1fbf0579e0705a7d9659</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>e54eb1c5612362d4ba7787e2b9e05bb3</ItemID>
                  <ItemPath>ВА</ItemPath>
                  <ParentID>4bebdbdbd1ba1fbf0579e0705a7d9659</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>f022000246ad7cd154d3f00742719c7b</ItemID>
              <ItemPath>Г</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>ff1454d9511e1275425e7f8390cb91e2</ItemID>
                  <ItemPath>ГО</ItemPath>
                  <ParentID>f022000246ad7cd154d3f00742719c7b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>f429c80e472fdfae2650b0cb122bd612</ItemID>
                  <ItemPath>ГР</ItemPath>
                  <ParentID>f022000246ad7cd154d3f00742719c7b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>fb2bb74b1e65211ac693ea7109a510a5</ItemID>
                  <ItemPath>ГА</ItemPath>
                  <ParentID>f022000246ad7cd154d3f00742719c7b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>2a6bad8fb21fa82aeb060b58f62df1e0</ItemID>
              <ItemPath>З</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>1447e091baee1a14eab1e8c8d44c7333</ItemID>
                  <ItemPath>ЗВ</ItemPath>
                  <ParentID>2a6bad8fb21fa82aeb060b58f62df1e0</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>3d66322d40755a5a9d43d4ee24693624</ItemID>
                  <ItemPath>ЗА</ItemPath>
                  <ParentID>2a6bad8fb21fa82aeb060b58f62df1e0</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>0cdae2e12d2ebb9bf0eb9e2de22426fb</ItemID>
              <ItemPath>Я</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>4bb5a431d3ce2b32592524fbc8feaddc</ItemID>
                  <ItemPath>ЯР</ItemPath>
                  <ParentID>0cdae2e12d2ebb9bf0eb9e2de22426fb</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>8e290d49acd1860a84807a5c21abad61</ItemID>
              <ItemPath>О</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>6547e3be7938e19e54b01ed29a072773</ItemID>
                  <ItemPath>ОД</ItemPath>
                  <ParentID>8e290d49acd1860a84807a5c21abad61</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>056ed4cee707d3a52134f3b40e5d8cec</ItemID>
                  <ItemPath>ОХ</ItemPath>
                  <ParentID>8e290d49acd1860a84807a5c21abad61</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>40d2c766e882efc2ef0b6b4f68c4aa58</ItemID>
              <ItemPath>С</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>6e00d8453af6a4320d47919c329c4b7a</ItemID>
                  <ItemPath>СО</ItemPath>
                  <ParentID>40d2c766e882efc2ef0b6b4f68c4aa58</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>af9d2c8864b3ac8d95421b4d6d05563b</ItemID>
                  <ItemPath>СУ</ItemPath>
                  <ParentID>40d2c766e882efc2ef0b6b4f68c4aa58</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>1be646934d1217727c49d3559fad2b33</ItemID>
                  <ItemPath>СВ</ItemPath>
                  <ParentID>40d2c766e882efc2ef0b6b4f68c4aa58</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>065e64e1aeab8229152e9991f003baec</ItemID>
                  <ItemPath>СИ</ItemPath>
                  <ParentID>40d2c766e882efc2ef0b6b4f68c4aa58</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>d348edb045a6e57ec9bdd124b617ccea</ItemID>
                  <ItemPath>СТ</ItemPath>
                  <ParentID>40d2c766e882efc2ef0b6b4f68c4aa58</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>8835b4f2cb8ce965f8007e6e63d7d9e9</ItemID>
                  <ItemPath>СК</ItemPath>
                  <ParentID>40d2c766e882efc2ef0b6b4f68c4aa58</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>5dfb9bf38dbf56e80d751264e9ea1528</ItemID>
              <ItemPath>Э</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>5724aaa0dbf375617f2dedc24c9e692a</ItemID>
                  <ItemPath>ЭК</ItemPath>
                  <ParentID>5dfb9bf38dbf56e80d751264e9ea1528</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>2da201cf84b41a419bb08f2ed5fc08c7</ItemID>
                  <ItemPath>ЭЛ</ItemPath>
                  <ParentID>5dfb9bf38dbf56e80d751264e9ea1528</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>9e5ea9e748b4d7825d21f82ab1bccc86</ItemID>
              <ItemPath>Т</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>7261425ba9e35b948588afc3cb5b1e76</ItemID>
                  <ItemPath>ТР</ItemPath>
                  <ParentID>9e5ea9e748b4d7825d21f82ab1bccc86</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42800,9267987037</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>eba4a7cf54fa6fb8e03841db74a47fb1</ItemID>
                  <ItemPath>ТЕ</ItemPath>
                  <ParentID>9e5ea9e748b4d7825d21f82ab1bccc86</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>bab98ef2cc3730491c6dec4e6466095f</ItemID>
                  <ItemPath>ТВ</ItemPath>
                  <ParentID>9e5ea9e748b4d7825d21f82ab1bccc86</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>bba5329550b928f64f0b2b140d26bc05</ItemID>
              <ItemPath>Н</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42809,8835526273</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>1bb0bf414cd57a03a21a91473014f397</ItemID>
                  <ItemPath>НА</ItemPath>
                  <ParentID>bba5329550b928f64f0b2b140d26bc05</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>ba51c39c0436388f0d92d0f104eb1b2f</ItemID>
              <ItemPath>М</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42809,8835526273</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>8e0d07d34a7cc710b37ffdf47e56078e</ItemID>
                  <ItemPath>МА</ItemPath>
                  <ParentID>ba51c39c0436388f0d92d0f104eb1b2f</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>59dcbc7238813b3f2f7355efbb0d956d</ItemID>
                  <ItemPath>МИ</ItemPath>
                  <ParentID>ba51c39c0436388f0d92d0f104eb1b2f</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>742c205d3d7ae50fb646ade8062f4d6c</ItemID>
                  <ItemPath>МО</ItemPath>
                  <ParentID>ba51c39c0436388f0d92d0f104eb1b2f</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>e0becf08788ad454b312d06c709fd960</ItemID>
              <ItemPath>А</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42809,8835526273</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b7730428d0238f9382607ea5431070e2</ItemID>
                  <ItemPath>АЙ</ItemPath>
                  <ParentID>e0becf08788ad454b312d06c709fd960</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42809,8835526273</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>4ce1715b4b7d317a779f1ac1494ac9ea</ItemID>
                  <ItemPath>АЛ</ItemPath>
                  <ParentID>e0becf08788ad454b312d06c709fd960</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>cb6d64fe17ced76264f80556759cc10a</ItemID>
                  <ItemPath>АР</ItemPath>
                  <ParentID>e0becf08788ad454b312d06c709fd960</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>af58b43693b132e8d6ec3658e6518da6</ItemID>
                  <ItemPath>АИ</ItemPath>
                  <ParentID>e0becf08788ad454b312d06c709fd960</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>18280b10d068bd6a17c74d4f1fb20694</ItemID>
                  <ItemPath>АЯ</ItemPath>
                  <ParentID>e0becf08788ad454b312d06c709fd960</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>7e1bfd4dcf7df47b9196ac3f3e4aab36</ItemID>
              <ItemPath>Д</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42814,9516539583</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>b4b995b266ebd8e8f2b85052d06db0be</ItemID>
                  <ItemPath>ДЖ</ItemPath>
                  <ParentID>7e1bfd4dcf7df47b9196ac3f3e4aab36</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42814,9516539583</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>735e1c60cfc7fb34e7c233f752a80bf6</ItemID>
                  <ItemPath>ДЕ</ItemPath>
                  <ParentID>7e1bfd4dcf7df47b9196ac3f3e4aab36</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>87c7eb0af7a3be898c2d4d9468ce2f3f</ItemID>
                  <ItemPath>ДИ</ItemPath>
                  <ParentID>7e1bfd4dcf7df47b9196ac3f3e4aab36</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>033d0afdb6db288435fdb1d3c4c06f7a</ItemID>
                  <ItemPath>ДО</ItemPath>
                  <ParentID>7e1bfd4dcf7df47b9196ac3f3e4aab36</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>0c3ddbccaeac35f037b30315dd02922b</ItemID>
              <ItemPath>Ш</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>c25e3602ffe7a48f20516ac5a454f5b5</ItemID>
                  <ItemPath>ШР</ItemPath>
                  <ParentID>0c3ddbccaeac35f037b30315dd02922b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>2f6dfda2fca7e9b00662e66c2ee6f996</ItemID>
                  <ItemPath>ШК</ItemPath>
                  <ParentID>0c3ddbccaeac35f037b30315dd02922b</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>51</ClassID>
              <ItemID>57cffd34859b82d7ccb2fd0581c89371</ItemID>
              <ItemPath>К</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
              <ChildItems>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>94c6ef6beac9a7ef0a30b4f50f2849eb</ItemID>
                  <ItemPath>КР</ItemPath>
                  <ParentID>57cffd34859b82d7ccb2fd0581c89371</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>83001d3f7197e337dfafad1fe4f0a4b1</ItemID>
                  <ItemPath>КУ</ItemPath>
                  <ParentID>57cffd34859b82d7ccb2fd0581c89371</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>78185accaae78f041fd009d0f0745ae4</ItemID>
                  <ItemPath>КИ</ItemPath>
                  <ParentID>57cffd34859b82d7ccb2fd0581c89371</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
                <Item>
                  <ClassID>53</ClassID>
                  <ItemID>6a0bfd069943e21c44c92ca1c911da93</ItemID>
                  <ItemPath>КА</ItemPath>
                  <ParentID>57cffd34859b82d7ccb2fd0581c89371</ParentID>
                  <Properties>
                    <Property>
                      <ID>515</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>512</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>532</ID>
                      <Value>0</Value>
                    </Property>
                    <Property>
                      <ID>700</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>553</ID>
                      <Value>2</Value>
                    </Property>
                    <Property>
                      <ID>42</ID>
                      <Value>3</Value>
                    </Property>
                    <Property>
                      <ID>215</ID>
                      <Value>4</Value>
                    </Property>
                    <Property>
                      <ID>93</ID>
                      <Value>42823,6221015278</Value>
                    </Property>
                  </Properties>
                </Item>
              </ChildItems>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>b40618ebadea050a83a6bf31138b7ef8</ItemID>
              <ItemPath>#</ItemPath>
              <ParentID>7a7707d56af5320c943df75e2fa6080c</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>4</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
          </ChildItems>
        </Item>
        <Item>
          <ClassID>51</ClassID>
          <ItemID>816f41450dd8be1853daa9bfc99063f4</ItemID>
          <ItemPath>Мультфильмы - По годам</ItemPath>
          <ParentID>ab10a7f95ff8c1a6029a60d9e3f355b8</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>215</ID>
              <Value>-4</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42800,9267987037</Value>
            </Property>
          </Properties>
          <ChildItems>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>0a56faf07b91d51f0e987e4e8daa4701</ItemID>
              <ItemPath>2013</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>e6d2fda9aaf52261678f0e70f093f681</ItemID>
              <ItemPath>2017</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>33acd57291f885aeac8c4ef52ad49db4</ItemID>
              <ItemPath>2016</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>c6ddd7cefb5328ef6e23857eb79113f6</ItemID>
              <ItemPath>2011</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>1c542c85e224206e388f729bbcf46075</ItemID>
              <ItemPath>2005</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>4f2c0bfe767ce389cb084bcd5467f4dc</ItemID>
              <ItemPath>2012</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>14bc6044e984767d07363f18e1aa8d65</ItemID>
              <ItemPath>2001</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>23acf1a03487f5a37288da8888385c2c</ItemID>
              <ItemPath>2008</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>094efe5c71c9349bc7db4c8934d834ab</ItemID>
              <ItemPath>2009</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>8fcdbe2f955f80e8bf605a80a60cc2db</ItemID>
              <ItemPath>1998</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>98ab49d0294e0ab08586c3719fd67706</ItemID>
              <ItemPath>2010</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>fbb7d3d8d860d983c6d8a3763626329d</ItemID>
              <ItemPath>2000</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>6c704a3c06118afb522760daf1bcb835</ItemID>
              <ItemPath>2003</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>50bca4cff49c73e6214bd31858f7126a</ItemID>
              <ItemPath>2014</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42800,9267987037</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>fbbb5b9a6b67798defb0c248e3dff245</ItemID>
              <ItemPath>1989</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42809,8835526273</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>238189c221d2b65c7aab9917c1f49830</ItemID>
              <ItemPath>1999</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42809,8835526273</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>372f79a8526b3927d1cb486bd3a7c7dd</ItemID>
              <ItemPath>2007</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42809,8835526273</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>528664b4a9cbcfe83f948b9c28b05a17</ItemID>
              <ItemPath>2015</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42809,8835526273</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>39b3ba55edc02cdbea87e4791ceba9ea</ItemID>
              <ItemPath>1993</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>14e17cdf793ee810ec8098adfde41a62</ItemID>
              <ItemPath>2006</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>3ee2d508385823d002e8de66cdd8d716</ItemID>
              <ItemPath>1982</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
            <Item>
              <ClassID>53</ClassID>
              <ItemID>c40eb79a82e270d012ea43516d3d242a</ItemID>
              <ItemPath>1985</ItemPath>
              <ParentID>816f41450dd8be1853daa9bfc99063f4</ParentID>
              <Properties>
                <Property>
                  <ID>515</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>512</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>532</ID>
                  <Value>0</Value>
                </Property>
                <Property>
                  <ID>700</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>553</ID>
                  <Value>2</Value>
                </Property>
                <Property>
                  <ID>42</ID>
                  <Value>3</Value>
                </Property>
                <Property>
                  <ID>215</ID>
                  <Value>-35</Value>
                </Property>
                <Property>
                  <ID>93</ID>
                  <Value>42823,6221015278</Value>
                </Property>
              </Properties>
            </Item>
          </ChildItems>
        </Item>
      </ChildItems>
    </Item>
  </ChildItems>
</HmsMediaItem>
