

// This file is used in HTML pages only, placed before the dcs_tag.js file.
// SRVADDA2 - 18APR2006 - Added country specific domains prefixes and suffixes

var strDCC_Environment;

strDCC_Environment = "DEV";

/*		if(location.href.indexOf("dowcorning.com") != -1)
		{
			strDCC_Environment = "PROD";
		}
		if(location.href.indexOf("dcctest.com") != -1)
		{
			strDCC_Environment = "QA";
		}
*/
	strLocationHref = location.href;
	switch (true) {
		case strLocationHref.indexOf("www.dev.") != -1:
			strDCC_Environment = "DEV"; break;
		case strLocationHref.indexOf("www.qa.") != -1:
			strDCC_Environment = "QA"; break;
		case strLocationHref.indexOf("dowcorning.com") != -1:
		case strLocationHref.indexOf("dowcorning.com.cn") != -1:
		case strLocationHref.indexOf("dowcorning.co.jp") != -1:
		case strLocationHref.indexOf("dowcorning.co.kr") != -1:
		case strLocationHref.indexOf("dowcorning.de") != -1:
			strDCC_Environment = "PROD"; break;
		case strLocationHref.indexOf("dcctest.com") != -1:
			strDCC_Environment = "QA"; break;
		default:
			strDCC_Environment = "DEV";	
	}


//alert(strDCC_Environment);
