rem: captionLine = bundle.GetStringFromName( "ps_title" ); 
add: captionLine = gProfileManagerBundle.getString("ps_title"); 
context: function SwitchProfileManagerMode(){  var prattleIndex  = null;  var captionLine   = null;  var buttonDisplay = null;  var selItems      = [];    if( profileManagerMode == "selection" )  {    prattleIndex = 1;                                       // need to switch to manager's index        try {      captionLine = bundle.GetStringFromName( "pm_title" );   // get manager's caption    } catch(e) {      captionLine = "Manage Profiles *";    }        var manage = document.getElementById( "manage" );       // hide the manage profiles button...    var manageParent = manage.parentNode;    manageParent.removeChild( manage );    profileManagerMode = "manager";                         // swap the mode  }   else {    prattleIndex = 0;    try {      captionLine = bundle.GetStringFromName( "ps_title" );    } catch(e) {      captionLine = "Select Profile *";    }    profileManagerMode = "selection";  }  // swap deck    var deck = document.getElementById( "prattle" );  deck.setAttribute( "index", prattleIndex )      // swap caption  ChangeCaption( captionLine );    set = !set;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dec4f3fd553b5f15c686cbb5a50060c74137e639/profileManager.js/buggy/profile/resources/content/profileManager.js