text: var g_server = "DEV";
  var ismppacages = [{
      "identityName" : "isa_framework",
      "isPackaged" : true,
      "modulePath" : "",
      "packagePath" : "/",
      "location" : "",
      "namespace" : ""
  }, {
      "identityName" : "nurture",
      "isPackaged" : true,
      "modulePath" : "nurture/NurtureModule",
      "packagePath" : "nurture/nurture",
      "location" : "/sales/console/lib/nurture",
      "namespace" : "nurture"
  }, {
      "identityName" : "my_rep_page",
      "isPackaged" : true,
      "modulePath" : "pagemanager/pageManagerModule",
      "packagePath" : "pagemanager/pagemanager",
      "location" : "/sales/console/lib/pagemanager",
      "namespace" : "pagemanager"
  }, {
      "identityName" : "digital_mastery",
      "isPackaged" : true,
      "modulePath" : "digitalmastery/digitalmasteryModule",
      "packagePath" : "digitalmastery/digitalmastery",
      "location" : "/sales/console/lib/digitalmastery",
      "namespace" : "digitalmastery"
  }, {
      "identityName" : "social_account",
      "isPackaged" : true,
      "modulePath" : "sf/SFModule",
      "packagePath" : "sf/sf",
      "location" : "/sales/console/lib/sf",
      "namespace" : "sf"
  }, {
      "identityName" : "sor",
      "isPackaged" : true,
      "modulePath" : "sor/SORModule",
      "packagePath" : "sor/sor",
      "location" : "/sales/console/lib/sor",
      "namespace" : "sor"
  }, {
      "identityName" : "soe",
      "isPackaged" : true,
      "modulePath" : "soe/SOEModule",
      "packagePath" : "soe/soe",
      "location" : "/sales/console/lib/soe",
      "namespace" : "soe"
  }, {
      "identityName" : "bookmark",
      "isPackaged" : true,
      "modulePath" : "bookmark/BookMarkModule",
      "packagePath" : "bookmark/bookmark",
      "location" : "/sales/console/lib/bookmark",
      "namespace" : "bookmark"
  }, {
      "identityName" : "help",
      "isPackaged" : true,
      "modulePath" : "help/HelpModule",
      "packagePath" : "help/help",
      "location" : "/sales/console/lib/help",
      "namespace" : "help"
  }, {
      "identityName" : "pa",
      "isPackaged" : true,
      "modulePath" : "pa/PAModule",
      "packagePath" : "pa/pa",
      "location" : "/sales/console/lib/pa",
      "namespace" : "pa"
  }, {
      "identityName" : "get_event",
      "isPackaged" : false,
      "modulePath" : "sicioi_getevents/sicioi_geteventsModule",
      "packagePath" : "sicioi_getevents/sicioi_getevents",
      "location" : "/sales/console/lib/sicioi_getevents",
      "namespace" : "sicioi_getevents"
  }, {
      "identityName" : "team_builder",
      "isPackaged" : false,
      "modulePath" : "teambuilder/teambuilderModule",
      "packagePath" : "teambuilder/teambuilder",
      "location" : "/sales/console/lib/teambuilder",
      "namespace" : "teambuilder"
  }, {
      "identityName" : "techiq",
      "isPackaged" : true,
      "modulePath" : "techexpert/techexpertModule",
      "packagePath" : "techexpert/techexpert",
      "location" : "/sales/console/lib/techexpert",
      "namespace" : "techexpert"
  }, {
      "identityName" : "opportunities",
      "isPackaged" : true,
      "modulePath" : "opportunitieslistpage/OpportunitiesListPageModule",
      "packagePath" : "opportunitieslistpage/opportunitieslistpage",
      "location" : "/sales/console/lib/opportunitieslistpage",
      "namespace" : "opportunitieslistpage"
  }, {
      "identityName" : "prospecting",
      "isPackaged" : true,
      "modulePath" : "leads/leadsModule",
      "packagePath" : "leads/leads",
      "location" : "/sales/console/lib/leads",
      "namespace" : "leads"
  }, {
      "identityName" : "digital_me",
      "isPackaged" : true,
      "modulePath" : "digitalme/digitalmeModule",
      "packagePath" : "digitalme/digitalme",
      "location" : "/sales/console/lib/digitalme",
      "namespace" : "digitalme"
  }, {
      "identityName" : "pm_metrices",
      "isPackaged" : true,
      "modulePath" : "pagemanager/modules/metricsm/metricsMModule",
      "packagePath" : "pagemanager/pagemanager",
      "location" : "/sales/console/lib/pagemanager",
      "namespace" : "pagemanager"
  }, {
      "identityName" : "one_score",
      "isPackaged" : true,
      "modulePath" : "onescore/onescoreModule",
      "packagePath" : "onescore/onescore",
      "location" : "/sales/console/lib/onescore",
      "namespace" : "onescore"
  }, {
      "identityName" : "socialsetting",
      "isPackaged" : true,
      "modulePath" : "ss/ssModule",
      "packagePath" : "ss/ss",
      "location" : "/sales/console/lib/ss",
      "namespace" : "ss"
  }, {
      "identityName" : "prospect_iq",
      "isPackaged" : true,
      "modulePath" : "mainpiq/mainpiqModule",
      "packagePath" : "mainpiq/mainpiq",
      "location" : "/sales/console/lib/mainpiq",
      "namespace" : "mainpiq"
  }, {
      "identityName" : "crossbrandadvisor",
      "isPackaged" : true,
      "modulePath" : "crossbrandadvisor/CrossBrandAdvisorModule",
      "packagePath" : "crossbrandadvisor/crossbrandadvisor",
      "location" : "/sales/console/lib/crossbrandadvisor",
      "namespace" : "crossbrandadvisor"
  }, {
      "identityName" : "crossbrandadvisorright",
      "isPackaged" : true,
      "modulePath" : "crossbrandadvisorright/CrossBrandAdvisorRightModule",
      "packagePath" : "crossbrandadvisorright/crossbrandadvisorright",
      "location" : "/sales/console/lib/crossbrandadvisorright",
      "namespace" : "crossbrandadvisorright"
  }, {
      "identityName" : "redb",
      "isPackaged" : true,
      "modulePath" : "redbook/RedBookModule",
      "packagePath" : "redbook/redbook",
      "location" : "/sales/console/lib/redbook",
      "namespace" : "redbook"
  }, {
      "identityName" : "clienti",
      "isPackaged" : true,
      "modulePath" : "clientinformation/ClientInformationModule",
      "packagePath" : "clientinformation/clientinformation",
      "location" : "/sales/console/lib/clientinformation",
      "namespace" : "clientinformation"
  }, {
      "identityName" : "clientr",
      "isPackaged" : true,
      "modulePath" : "clientreferences/ClientReferencesModule",
      "packagePath" : "clientreferences/clientreferences",
      "location" : "/sales/console/lib/clientreferences",
      "namespace" : "clientreferences"
  }, {
      "identityName" : "my_favorites",
      "isPackaged" : true,
      "modulePath" : "techexpert/techexpert_mf/modules/myfavorites/myFavoritesModule",
      "packagePath" : "techexpert/techexpert",
      "location" : "/sales/console/lib/techexpert",
      "namespace" : "techexpert"
  }, {
      "identityName" : "notes_and_interactions",
      "isPackaged" : true,
      "modulePath" : "notesandinteractions/notesAndInteractionsModule",
      "packagePath" : "notesandinteractions/notesandinteractions",
      "location" : "/sales/console/lib/notesandinteractions",
      "namespace" : "notesandinteractions"
  }, {
      "identityName" : "crosssellrecommendations",
      "isPackaged" : true,
      "modulePath" : "crosssellrecommendations/CrossSellRecommendationsModule",
      "packagePath" : "crosssellrecommendations/crosssellrecommendations",
      "location" : "/sales/console/lib/crosssellrecommendations",
      "namespace" : "crosssellrecommendations"
  }, {
      "identityName" : "social_search",
      "isPackaged" : true,
      "modulePath" : "socialsearch/socialsearchModule",
      "packagePath" : "socialsearch/socialsearch",
      "location" : "/sales/console/lib/socialsearch",
      "namespace" : "socialsearch"
  }, {
      "identityName" : "educationbookmark",
      "isPackaged" : true,
      "modulePath" : "educationbookmark/educationbookmarkModule",
      "packagePath" : "educationbookmark/educationbookmark",
      "location" : "/sales/console/lib/educationbookmark",
      "namespace" : "educationbookmark"
  }, {
      "identityName" : "mytriumphs",
      "isPackaged" : true,
      "modulePath" : "mytriumphs/mytriumphsModule",
      "packagePath" : "mytriumphs/mytriumphs",
      "location" : "/sales/console/lib/mytriumphs",
      "namespace" : "mytriumphs"
  }, {
      "identityName" : "opportunities_restore",
      "isPackaged" : false,
      "modulePath" : "opportunitiesrestorepage/OpportunitiesRestorePageModule",
      "packagePath" : "opportunitiesrestorepage/opportunitiesrestorepage",
      "location" : "/sales/console/lib/opportunitiesrestorepage",
      "namespace" : "opportunitiesrestorepage"
  }, {
      "identityName" : "opportunities_stage",
      "isPackaged" : false,
      "modulePath" : "opportunitiesstagepage/OpportunitiesStagePageModule",
      "packagePath" : "opportunitiesstagepage/opportunitiesstagepage",
      "location" : "/sales/console/lib/opportunitiesstagepage",
      "namespace" : "opportunitiesstagepage"
  }, {
      "identityName" : "myclients",
      "isPackaged" : true,
      "modulePath" : "myclients/myclientsModule",
      "packagePath" : "myclients/myclients",
      "location" : "/sales/console/lib/myclients",
      "namespace" : "myclients"
  }, {
      "identityName" : "client_selected",
      "isPackaged" : true,
      "modulePath" : "myclientsdetial/MyClientsDetialModule",
      "packagePath" : "myclientsdetial/myclientsdetial",
      "location" : "/sales/console/lib/myclientsdetial",
      "namespace" : "myclientsdetial"
  }, {
      "identityName" : "client_contacts",
      "isPackaged" : true,
      "modulePath" : "mccontacts/MCContactsModule",
      "packagePath" : "mccontacts/mccontacts",
      "location" : "/sales/console/lib/mccontacts",
      "namespace" : "mccontacts"
  }, {
      "identityName" : "client_installed_base",
      "isPackaged" : true,
      "modulePath" : "mcinstalledbase/MCInstalledBaseModule",
      "packagePath" : "mcinstalledbase/mcinstalledbase",
      "location" : "/sales/console/lib/mcinstalledbase",
      "namespace" : "mcinstalledbase"
  }, {
      "identityName" : "client_recommended_product",
      "isPackaged" : true,
      "modulePath" : "mcrecommendedproducts/MCRecommendedProductsModule",
      "packagePath" : "mcrecommendedproducts/mcrecommendedproducts",
      "location" : "/sales/console/lib/mcrecommendedproducts",
      "namespace" : "mcrecommendedproducts"
  }, {
      "identityName" : "client_opportunities",
      "isPackaged" : true,
      "modulePath" : "mcopportunities/MCOpportunitiesModule",
      "packagePath" : "mcopportunities/mcopportunities",
      "location" : "/sales/console/lib/mcopportunities",
      "namespace" : "mcopportunities"
  }, {
      "identityName" : "mc_client_health",
      "isPackaged" : true,
      "modulePath" : "mcclienthealth/MCClientHealthModule",
      "packagePath" : "mcclienthealth/mcclienthealth",
      "location" : "/sales/console/lib/mcclienthealth",
      "namespace" : "mcclienthealth"
  }, {
      "identityName" : "mc_revenuepotential",
      "isPackaged" : true,
      "modulePath" : "mcrevenuepotential/MCRevenuePotentialModule",
      "packagePath" : "mcrevenuepotential/mcrevenuepotential",
      "location" : "/sales/console/lib/mcrevenuepotential",
      "namespace" : "mcrevenuepotential"
  }];
  function replaceVal(_name, _value) {
      var _have = false;
      for (var i = 0; i < dojoConfig.packages.length; i++) {
          if (dojoConfig.packages[i].name == _name) {
              dojoConfig.packages[i].location = _value;
              _have = true;
          }
      };
      if (!_have) {
          var _obj = new Object();
          _obj.name = _name;
          _obj.location = _value;
          dojoConfig.packages.push(_obj);
      }
  }
  
  try {
      for (var i = 0; i < ismppacages.length; i++) {
          if (ismppacages[i].isPackaged) {
              replaceVal(ismppacages[i].namespace, ismppacages[i].location);
          }
      };
  } catch(error) {
  } 