/** This sets up the CF.context and gives it its instance of the rest API 
 * 
 * You will need to change this to point to:
 * 1. Your b2c endpoint (often http://b2c-sandbox5.crowdfactory.com for testing.)
 * 2. your subscriber, product, and topcommunity keys
 * 
 * *
CF.context.setApi(
	IGA.RestV1("http://sdk.interscope.igadev.com", "/rest/",
	{
	    subscriber: "9eecf34a-cf5d-102c-b0b1-0019b9f80169",
	    product: "9eece1ca-cf5d-102c-b0b1-0019b9f80169",
	    topcommunity: 9
	})
);
*/
CF.context.setApi(
      IGA.RestV1("http://cf.umusic.com", "/rest/",
      {
            subscriber:"d9a2769e-dcab-102c-8f6e-001a64333d22",
            product:"d9a2752c-dcab-102c-8f6e-001a64333d22",            
            topcommunity: 3357                  
      })
);


	IGA.config.setGroup({
	    id: "IGA-694",
	    name: "Common",
	    description: "Common Official Website"
	});

//This line is needed if you want the toolkit library to process 
//Redirects for third party login tokens (Like JanRain RPX)
//If you don't use these features you can comment it out or remove it.
	if (!CF.cookie.readCookie("iga_tweet_text"))
	    IGA.login.processRemoteAuthToken({ cleanParams: false, logoutCleanParams: true });
	else
	    IGA.login._authTokenOpts = { cleanParams: false, logoutCleanParams: true };
