rem: } 
add: }; 
context: HTMLArea.PanelDialog = function(editor, side, html, localizer){  this.id    = { };  this.r_id  = { }; // reverse lookup id  this.editor   = editor;  this.document = document;  this.rootElem = editor.addPanel(side);  var dialog = this;  if(typeof localizer == 'function')  {    this._lc = localizer;  }  else if(localizer)  {    this._lc = function(string)    {      return HTMLArea._lc(string,localizer);    }  }  else  {    this._lc = function(string)    {      return string;    }  }  html = html.replace(/\[([a-z0-9_]+)\]/ig,                      function(fullString, id)                      {                        if(typeof dialog.id[id] == 'undefined')                        {                          dialog.id[id] = HTMLArea.uniq('Dialog');                          dialog.r_id[dialog.id[id]] = id;                        }                        return dialog.id[id];                      }             ).replace(/<l10n>(.*?)<\/l10n>/ig,                       function(fullString,translate)                       {                         return dialog._lc(translate) ;                       }             ).replace(/="_\((.*?)\)"/g,                       function(fullString, translate)                       {                         return '="' + dialog._lc(translate) + '"';                       }             );  this.rootElem.innerHTML = html;}
meta: 1743	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1743/878617918015c2c8847abc97bb36fbda96298ac5/panel-dialog.js/buggy/xinha/panel-dialog.js