rem: else if (element.name) objStr = GetString("NamedAnchor"); 
context: function EditorInitFormatMenu(){  // Set the string for the background color menu item  SetBackColorString("backgroundColorMenu");   var menuItem = document.getElementById("objectProperties");  if (menuItem)  {    var element = GetSelectedElementOrParentCell();    var menuStr = GetString("ObjectProperties");    if (element && element.nodeName)    {      var objStr = "";      menuItem.removeAttribute("disabled");      switch (element.nodeName)      {        case 'IMG':          objStr = GetString("Image");          break;        case 'HR':          objStr = GetString("HLine");          break;        case 'TABLE':          objStr = GetString("Table");          break;        case 'TD':          objStr = GetString("TableCell");          break;        case 'A':          if(element.href)            objStr = GetString("Link");          else if (element.name)            objStr = GetString("NamedAnchor");          break;      }      menuStr = menuStr.replace(/%obj%/,objStr);            }    else    {      // We show generic "Properties" string, but disable menu item      menuItem.setAttribute("disabled","true");      // Replace placeholder with "", then remaining space on left side      menuStr = menuStr.replace(/%obj%/,"").replace(/^\s+/, "");    }    menuItem.setAttribute("value", menuStr);  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/bb37359bbe653a6d833150d329eee3eb1e58828e/editor.js/buggy/editor/ui/composer/content/editor.js