add: var heading = document.getElementById("walletpreview"); heading.setAttribute("title", bundle.GetStringFromName("title")); 
context: function Startup() {  /* fetch the input */  list = walletpreview.GetPrefillValue();  BREAK = list[0];  prefillList = list.split(BREAK);  /* create the heading */  var heading = document.getElementById("heading");  heading.setAttribute("value", bundle.GetStringFromName("heading"));  var fieldHeading = document.getElementById("fieldHeading");  fieldHeading.setAttribute("value", bundle.GetStringFromName("fieldHeading"));  var valueHeading = document.getElementById("valueHeading");  valueHeading.setAttribute("value", bundle.GetStringFromName("valueHeading"));  var menuPopup;  var count;  /* create the fill-in entries */  for (i=1; i<prefillList.length-2; i+=3) {    if(prefillList[i] != 0) {      count = prefillList[i];      menuPopup = document.createElement("menupopup");//      menuList.setAttribute("size", Number(count)+1);    }    count--;    var menuItem = document.createElement("menuitem");    if (count == (prefillList[i]-1)) {      menuItem.setAttribute("selected", "true");    }    menuItem.setAttribute("data", prefillList[i+1]);    menuItem.setAttribute("value", prefillList[i+2]);    menuPopup.appendChild(menuItem);    if(count == 0) {      var lastMenuItem = document.createElement("menuitem");      lastMenuItem.setAttribute("data", prefillList[i+1]);      lastMenuItem.setAttribute("value", "<"+doNotPrefill+">");      menuPopup.appendChild(lastMenuItem);      var menuList = document.createElement("menulist");      menuList.setAttribute("id", "x"+(++fieldCount));      menuList.setAttribute("allowevents", "true");      menuList.appendChild(menuPopup);      var treeCell0 = document.createElement("treecell");      treeCell0.setAttribute("value", prefillList[i+1])      var treeCell = document.createElement("treecell");      treeCell.appendChild(menuList);      var treeRow = document.createElement("treerow");      treeRow.appendChild(treeCell0);      treeRow.appendChild(treeCell);      var treeItem = document.createElement("treeitem");      treeItem.appendChild(treeRow);      var treeChildren = document.getElementById("combolists");      treeChildren.appendChild(treeItem);    }  }  /* create checkbox label */  var checkBoxText = document.getElementById("checkboxText");  checkBoxText.setAttribute("value", bypass);  /* initialization OK and Cancel buttons */  doSetOKCancel(Save, Cancel);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/ad44cd875e41f6072c5c6e81bec1f3fa42eaf4ee/WalletPreview.js/clean/extensions/wallet/walletpreview/WalletPreview.js