var AkamaiURL = "https://.com",
	ACTIVATE = "https://.com",
	BANKUS = "https://.com",
	BOND = "https://.com",
	BORROW = "https://.com",
	EDOCS = "https://.com",
	TRADE = "https://.com",
	EXPRESS = "https://.com",
	FILESVR = "https://.com",
	OLINK = "https://.com",
	GLOBAL = "https://.com",
	SEARCH = "https://.com";
	OPTCHART = "https://.com";
	LENDINGPROXY = "https://.com";
	PINGFEDERATE = "https://.com";
	HOMEDEPOSITPROXY = "https://.com";
	


GoToETURL.thirdParty = function(sParty) {
	switch(sParty) {
		case "activate": return ACTIVATE;
		case "bankus": return BANKUS;
		case "bond": return BOND;
		case "borrow": return BORROW;
		case "edocs": return EDOCS;
		case "trade": return TRADE;
		case "express": return EXPRESS;
		case "filesvr": return FILESVR;
		case "olink": return OLINK;
		case "search": return SEARCH; 
		case "global": return GLOBAL;
		case "optchart": return OPTCHART;
		case "lendingproxy": return LENDINGPROXY;
		case "pingfederate": return PINGFEDERATE;
		case "homedepositproxy": return HOMEDEPOSITPROXY;
	}
}


function GoToETURL(urlPath,thirdParty) {
	if(thirdParty == null) {
		thirdParty = "investorhouse";
	}
	window.top.location.href = etURL.parse(urlPath,thirdParty); 
}


function checkSpeedBump(urlPath)
{
	var isSpeedBump = urlPath.indexOf("/e/t/user/speedbump");
	var refr = "";
	if(isSpeedBump != -1)
	{
		var referrer = document.URL;	
		refr="&hReferrer="+referrer;	
	}
	return refr;
}

