/**********************************************************************
    * File Name       :	cx_coremetrics.js
    * Author          : CPPOLB - Ollie But
    * Created Date    :	20 Aug,2009
    * Description     :	Coremetrics-Related Variables / Functions
    *                   for CX.
***********************************************************************/

// Coremetrics variables
var coreOnFlag = 1; // 0 = off, 1 = on
var coreProductionFlag = 1; // 0 = Test, 1 = Prod

// Switch off Coremetrics Tags when on development and staging
if (window.location.hostname.indexOf("stawww.") == 0) {
	coreOnFlag = 0;
	coreProductionFlag = 0;
} else if (window.location.hostname.indexOf("devwww.") == 0) { 
	coreOnFlag = 0;
	coreProductionFlag = 0;
}

// Map to retrieve Master Client ID
// usage: MasterClientMap[key]
var MasterClientIDMap = {	"CX":90291278, "KA":90290867, "ICX":90291004, "IKA":90291141, "CH":90296395,
				"CA":90296421, "AM":90296434 };

// Map to retrieve Country Client ID
// usage: CountryClientIDMap[key]
var CountryClientIDMap = {	"CXINTL":90298215, "CXHK":90293059, "CXAU":90293196, "CXBH":90293333, "CXCA":90293470,
				"CXCN":90293607, "CXFR":90293744, "CXDE":90293881, "CXIN":90294018, "CXID":90294155,
				"CXIT":90294292, "CXJP":90294429, "CXKR":90294566, "CXMY":90294703, "CXNL":90294840,
				"CXNZ":90294977, "CXPK":90295114, "CXPH":90295251, "CXSA":90295388, "CXSG":90295525,
				"CXZA":90295662, "CXLK":90295799, "CXTW":90295936, "CXTH":90296073, "CXAE":90296210,
				"CXGB":90296347, "CXUS":90296369, "CXVN":90296382, "KAINTL":90292922, "KABD":90291415,
				"KACN":90291552, "KAHK":90291689, "KAIN":90291826, "KAJP":90291963, "KAMY":90292100,
				"KANP":90292648, "KAPH":90292785, "KATW":90292237, "KATH":90292374, "KAVN":90292511, 
				"CHJP":90296408 };