Точно такая же ошибка. При сохранении выдает Uncaught ReferenceError: var_key is not defined. На этом участке:
[CODE] if (propValues["SEF_MODE"] && propValues["SEF_MODE"].toUpperCase() == "Y")
{
res += "\t\t\"VARIABLE_ALIASES\" => Array(\n";
if (this.arVA)
{
for (templ_key in this.arVA)
{
if (typeof(this.arVA[templ_key]) != 'object')
continue;
res += "\t\t\t\""+templ_key+"\" => Array(";
cnt = 0;
for (k in this.arVA[templ_key])
{
if (typeof(this.arVA[templ_key][k]) != 'string')
continue;
cnt++;
res += "\n\t\t\t\t\""+var_key+"\" => \"" + this.arVA[templ_key][var_key]+"\",";
}
if (cnt > 0)
{
lio = res.lastIndexOf(",");
res = res.substr(0, lio) + res.substr(lio + 1);
res += "\n\t\t\t),\n";
}
[/CODE]