rem: if (dialog.HeadingsList.options[i].value == text) 
add: if (GetTreelistValueAt(dialog.HeadingsList, i) == text) 
context: function GetExistingHeadingIndex(text){  var len = dialog.HeadingsList.getAttribute("length");  for (var i=0; i < len; i++)  {    if (dialog.HeadingsList.options[i].value == text)      return i;  }  return -1;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c0a534c8efb9e6703626cacd6d61cb6ad8eb6680/EdLinkProps.js/buggy/editor/ui/dialogs/content/EdLinkProps.js