rem: var title = elem.getAttributeNode("title"); if (title && title.value) { var overrides = new Array('accesskey','alt+','ctrl+'); for (var j=0; j < overrides.length; j++) { if (title.value.toLowerCase().indexOf(overrides[j]) != -1) continue processElements; } elem.setAttribute("title", title.value + ' (' + getHintText(accessKey.value) + ')'); } else { elem.setAttribute("title", getHintText(accessKey.value)); } } } 
add: var title = elem.getAttributeNode("title"); if (title && title.value) { var overrides = new Array('accesskey','alt+','ctrl+'); for (var j=0; j < overrides.length; j++) { if (title.value.toLowerCase().indexOf(overrides[j]) != -1) continue processElements; } elem.setAttribute("title", title.value + ' (' + this.getHintText(accessKey.value) + ')'); } else { elem.setAttribute("title", this.getHintText(accessKey.value)); } } }, 
context: function addHint(elems){  var elem;  var i = 0;  processElements:  while(elem = elems.item(i++))  {    var accessKey = elem.getAttributeNode("accesskey");    if (!accessKey || !accessKey.value)      continue processElements;    var title = elem.getAttributeNode("title");    if (title && title.value)    {      var overrides = new Array('accesskey','alt+','ctrl+');      for (var j=0; j < overrides.length; j++)      {        if (title.value.toLowerCase().indexOf(overrides[j]) != -1)          continue processElements;      }      elem.setAttribute("title", title.value + ' (' + getHintText(accessKey.value) + ')');    }    else    {        elem.setAttribute("title", getHintText(accessKey.value));    }  }}
meta: 1331	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1331/c18db17054056929fa45b69b71f9b2947d0b704d/accesskey-hints.js/clean/tracks/public/javascripts/accesskey-hints.js