var tooltiptext = gProfileManagerBundle.getFormattedString("profileTooltip", [newName, aProfile.rootDir.path]); listitem.setAttribute("tooltiptext", tooltiptext); 
var tiptext = gProfileManagerBundle. getFormattedString("profileTooltip", [newName, selectedProfile.rootDir.path]); selectedItem.setAttribute("tooltiptext", tiptext); 
function RenameProfile(){  var profilesElement = document.getElementById("profiles");  var selectedItem = profilesElement.selectedItem;  if (!selectedItem) {    return false;  }  var selectedProfile = selectedItem.profile;  var oldName = selectedProfile.name;  var newName = {value: oldName};  var dialogTitle = gProfileManagerBundle.getString("renameProfileTitle");  var msg =    gProfileManagerBundle.getFormattedString("renameProfilePrompt", [oldName]);  if (gPromptService.prompt(window, dialogTitle, msg, newName, null, {value:0})) {    newName = newName.value;    // User hasn't changed the profile name. Treat as if cancel was pressed.    if (newName == oldName)      return false;    try {      selectedProfile.name = newName;    }    catch (e) {      var alTitle = gProfileManagerBundle.getString("profileNameInvalidTitle");      var alMsg = gProfileManagerBundle.getFormattedString("profileNameInvalid", [newName]);      gPromptService.alert(window, alTitle, alMsg);      return false;    }    selectedItem.label = newName;    var tooltiptext =      gProfileManagerBundle.getFormattedString("profileTooltip", [newName, aProfile.rootDir.path]);    listitem.setAttribute("tooltiptext", tooltiptext);    return true;  }  return false;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/b8bb9a8f70326907ab0332e71107d66b3ac9321b/profileSelection.js/clean/toolkit/profile/content/profileSelection.js