var oFBHBX = {
	buildTitle: function(){ return '/blog/'+oFBHBX.getBlogDomain() +"/" +oFBHBX.getBlogName(); },
	getBlogDomain: function(){ return  window.location.host.split(".")[0];},
	getBlogName: function(){return  oFBHBX.checkLastSlash(window.location.href.split(".com/")[1].replace('.html',''));},
	checkLastSlash: function(sHBXName){ 
		if(sHBXName.indexOf("/")!=-1){
			sHBXNameLen = sHBXName.length;
			return sHBXName.slice(0,sHBXNameLen-1);
		} else{ return sHBXName;}
	}
}

var _hbEC=0,_hbE=new Array;function _hbEvent(a,b){b=_hbE[_hbEC++]=new Object();b._N=a;b._C=0;return b;}
var hbx=_hbEvent("pv");hbx.vpc="HBX0200u";

//First Party Cookie
//hbx.gn="a.foxbusiness.com";
//Third Party Cookie
hbx.gn="ehg-foxnewsnetworkllc.hitbox.com"

//BEGIN EDITABLE SECTION
//CONFIGURATION VARIABLES
//hbx.acct="DM570903H9EC";//ACCOUNT NUMBER(S)
hbx.acct="DM570829MPSE";//ACCOUNT NUMBER(S)
hbx.pn=document.location.pathname;//PAGE NAME(S)
if (hbx.pn == "/") hbx.pn = "/index.html";
var contCat = "";
var urlString = document.location.toString();
if (urlString.indexOf("/article/") != -1) {
	//Is an article Page
	contCat = "/section" + document.location.pathname.substring(0,document.location.pathname.indexOf("/article/")).replace(/-/g," ").replace(/'/g," ") + "/stories";
} else if (urlString.indexOf("search-results.html") != -1) {
	// Is Search
	if (document.location.search.indexOf("query=") == -1) {
		contCat = "/search/front";
	} else if (document.location.search.indexOf("st=V") != -1 ) {
		contCat = "/search/video results";
	} else {
		contCat = "/search/story results";
	}	
} else if (urlString.indexOf("research.html") != -1) {
	// Is Get Quote
	contCat = "/search/get quotes/quote";
} else if (urlString.indexOf("?tool=") != -1) {
	// Is specific Tool page
	contCat = "".replace(/,/g,"").replace(/'/g,"");
} else {
	//Other
	contCat = "/section" + document.location.pathname.substring(0,document.location.pathname.indexOf(".html")).replace("/index","").replace(/-/g," ") + "/front";
}


hbx.mlc=oFBHBX.buildTitle();//MULTI-LEVEL CONTENT CATEGORY
hbx.pndef="title";//DEFAULT PAGE NAME
hbx.ctdef="full";//DEFAULT CONTENT CATEGORY

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";//FORM VALIDATION MINIMUM ELEMENTS OR SUBMIT FUNCTION NAME
hbx.lt="auto";//LINK TRACKING
hbx.dlf="n";//DOWNLOAD FILTER
hbx.dft="n";//DOWNLOAD FILE NAMING
hbx.elf="n";//EXIT LINK FILTER

//SEGMENTS AND FUNNELS
hbx.seg=(document.location.search.indexOf("form_registration") != -1)?"--1,++2,3":"1";//VISITOR SEGMENTATION
hbx.fnl="";//FUNNELS

//CAMPAIGNS
hbx.cmp="";//CAMPAIGN ID
hbx.cmpn="";//CAMPAIGN ID IN QUERY
hbx.dcmp="";//DYNAMIC CAMPAIGN ID
hbx.dcmpn="";//DYNAMIC CAMPAIGN ID IN QUERY
hbx.dcmpe="";//DYNAMIC CAMPAIGN EXPIRATION
hbx.dcmpre="";//DYNAMIC CAMPAIGN RESPONSE EXPIRATION
hbx.hra="";//RESPONSE ATTRIBUTE
hbx.hqsr="";//RESPONSE ATTRIBUTE IN REFERRAL QUERY
hbx.hqsp="";//RESPONSE ATTRIBUTE IN QUERY
hbx.hlt="";//LEAD TRACKING
hbx.hla="";//LEAD ATTRIBUTE
hbx.gp="";//CAMPAIGN GOAL
hbx.gpn="";//CAMPAIGN GOAL IN QUERY
hbx.hcn="";//CONVERSION ATTRIBUTE
hbx.hcv="";//CONVERSION VALUE
hbx.cp="null";//LEGACY CAMPAIGN
hbx.cpd="";//CAMPAIGN DOMAIN

//CUSTOM VARIABLES
hbx.ci="";//CUSTOMER ID
hbx.hc1="";//ticker symbol
hbx.hc1="".toUpperCase(); //ticker symbol
hbx.hc2="";
hbx.hc3="";//CUSTOM 3
hbx.hc4="";//CUSTOM 4
hbx.hrf="";//CUSTOM REFERRER
hbx.pec="";//ERROR CODES
