var	wa_production_report_suite = 'ncidccps-cancercontrolpopulationsciences';
var	wa_dev_report_suite = 'ncidccps-cancercontrolpopulationsci-dev';
var wa_channel = ''; 
var wa_search_function_name = ''; 
var wa_production_url_match = ''; 
var wa_production_linkInternalFilters = 
'appliedresearch.cancer.gov,breastscreening.cancer.gov,cancercontrol.cancer.gov/brp,cancercontrol.cancer.gov/funding.html,cancercontrol.cancer.gov/is,cancercontrol.cancer.gov/ocs,cancercontrol.cancer.gov,cisnet.cancer.gov/projections/colorectal,cisnet.cancer.gov,costprojections.cancer.gov,crn.cancer.gov,epi.grants.cancer.gov,gis.cancer.gov,healthservices.cancer.gov,li-gis.cancer.gov,outcomes.cancer.gov,riskfactor.cancer.gov,sae.cancer.gov,seer.cancer.gov,statecancerprofiles.cancer.gov,statfund.cancer.gov,surveillance.cancer.gov,training.seer.cancer.gov'
var wa_dev_linkInternalFilters = 'javascript:'; 
var wa_is_production_report_suite = false;

if (document.URL.indexOf('appliedresearch.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - ARP';
	wa_search_function_name = 'DCCPS - ARP - Search';
	wa_production_url_match = 'appliedresearch.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,appliedresearch.cancer.gov'
}
else if (document.URL.indexOf('breastscreening.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - ARP';
	wa_search_function_name = 'DCCPS - ARP - Search';
	wa_production_url_match = 'breastscreening.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,breastscreening.cancer.gov';
}
else if (document.URL.indexOf('cancercontrol.cancer.gov/brp') != -1) {	
	wa_channel = 'DCCPS - BRP';
	wa_search_function_name = 'DCCPS - BRP - Search';
	wa_production_url_match = 'cancercontrol.cancer.gov/brp';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,cancercontrol.cancer.gov/brp';
}
else if (document.URL.indexOf('cancercontrol.cancer.gov/funding.html') != -1) {	
	wa_channel = 'DCCPS - Funding';
	wa_search_function_name = 'DCCPS - Funding - Search';
	wa_production_url_match = 'cancercontrol.cancer.gov/funding.html';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,cancercontrol.cancer.gov/';
}
else if (document.URL.indexOf('cancercontrol.cancer.gov/is') != -1) {	
	wa_channel = 'DCCPS - IS';
	wa_search_function_name = 'DCCPS - IS - Search';
	wa_production_url_match = 'cancercontrol.cancer.gov/is';
	//wa_production_linkInternalFilters = 'javascript:,cancercontrol.cancer.gov/is';
}
else if (document.URL.indexOf('cancercontrol.cancer.gov/ocs') != -1) {	
	wa_channel = 'DCCPS - OCS';
	wa_search_function_name = 'DCCPS - OCS - Search';
	wa_production_url_match = 'cancercontrol.cancer.gov/ocs';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,cancercontrol.cancer.gov/ocs';
}
else if (document.URL.indexOf('cancercontrol.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - OD';
	wa_search_function_name = 'DCCPS - OD - Search';
	wa_production_url_match = 'cancercontrol.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,cancercontrol.cancer.gov/';
}
else if (document.URL.indexOf('cisnet.cancer.gov/projections/colorectal') != -1) {	
	wa_channel = 'DCCPS - SRP';
	wa_search_function_name = 'DCCPS - SRP - Search';
	wa_production_url_match = 'cisnet.cancer.gov/projections/colorectal';
	//wa_production_linkInternalFilters = 'javascript:,cisnet.cancer.gov/projections/colorectal/';
}
else if (document.URL.indexOf('cisnet.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - SRP';
	wa_search_function_name = 'DCCPS - SRP - Search';
	wa_production_url_match = 'cisnet.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,cisnet.cancer.gov';
}
else if (document.URL.indexOf('costprojections.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - SRP';
	wa_search_function_name = 'DCCPS - SRP - Search';
	wa_production_url_match = 'costprojections.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,costprojections.cancer.gov';
}
else if (document.URL.indexOf('crn.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - ARP';
	wa_search_function_name = 'DCCPS - ARP - Search';
	wa_production_url_match = 'crn.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,crn.cancer.gov';
}
else if (document.URL.indexOf('epi.grants.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - EGRP';
	wa_search_function_name = 'DCCPS - EGRP - Search';
	wa_production_url_match = 'epi.grants.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,epi.grants.cancer.gov';
}
else if (document.URL.indexOf('gis.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - SRP';
	wa_search_function_name = 'DCCPS - SRP - Search';
	wa_production_url_match = 'gis.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,gis.cancer.gov';
}
else if (document.URL.indexOf('healthservices.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - ARP';
	wa_search_function_name = 'DCCPS - ARP - Search';
	wa_production_url_match = 'healthservices.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,healthservices.cancer.gov';
}
else if (document.URL.indexOf('li-gis.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - EGRP';
	wa_search_function_name = 'DCCPS - EGRP - Search';
	wa_production_url_match = 'li-gis.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,li-gis.cancer.gov';
}
else if (document.URL.indexOf('outcomes.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - ARP';
	wa_search_function_name = 'DCCPS - ARP - Search';
	wa_production_url_match = 'outcomes.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,outcomes.cancer.gov';
}
else if (document.URL.indexOf('riskfactor.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - ARP';
	wa_search_function_name = 'DCCPS - ARP - Search';
	wa_production_url_match = 'riskfactor.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,riskfactor.cancer.gov';
}
else if (document.URL.indexOf('sae.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - SRP';
	wa_search_function_name = 'DCCPS - SRP - Search';
	wa_production_url_match = 'sae.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,';
}
else if (document.URL.indexOf('seer.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - SEER';
	wa_search_function_name = 'DCCPS - SEER - Search';
	wa_production_url_match = 'seer.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,sae.cancer.gov';
}
else if (document.URL.indexOf('statecancerprofiles.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - SRP';
	wa_search_function_name = 'DCCPS - SRP - Search';
	wa_production_url_match = 'statecancerprofiles.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,';
}
else if (document.URL.indexOf('statfund.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - SRP';	
	wa_search_function_name = 'DCCPS - SRP - Search';
	wa_production_url_match = 'statfund.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,statecancerprofiles.cancer.gov';
}
else if (document.URL.indexOf('surveillance.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - SRP';
	wa_search_function_name = 'DCCPS - SRP - Search';
	wa_production_url_match = 'surveillance.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,surveillance.cancer.gov';
}
else if (document.URL.indexOf('training.seer.cancer.gov') != -1) {	
	wa_channel = 'DCCPS - SEER';
	wa_search_function_name = 'DCCPS - SEER - Search';
	wa_production_url_match = 'training.seer.cancer.gov';
	wa_is_production_report_suite = true;
	//wa_production_linkInternalFilters = 'javascript:,training.seer.cancer.gov';
}
else {
	wa_channel = 'DCCPS - Development';
	wa_search_function_name = 'DCCPS - Development - Search';
}

if (wa_is_production_report_suite) 
    // production 
    var s_account=wa_production_report_suite;
else 
    // non-production
    var s_account=wa_dev_report_suite;

var pageNameOverride = location.hostname.toLowerCase() + location.pathname.toLowerCase();






