function getParm(name,parms) {
			var pos = parms.indexOf(name);
			if (pos == -1)
                                return null;
			pos += (name.length+1);
			if (pos >= parms.length)
                                return null;
                        if (parms.charAt(pos-1) != '=')
                                return null;
			var endPos = parms.indexOf("&", pos);
			if (endPos < 0)
					return unescape(parms.substring(pos));
			return unescape(parms.substring(pos, endPos));
}

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="HBX0100u";hbx.gn="wm.intuit.com";

//BEGIN EDITABLE SECTION
//CONFIGURATION VARIABLES
var strDomain= new String(window.location.hostname);
if (strDomain.toLowerCase()  == 'intuitmarket.intuit.com'){
	hbx.acct="DM540722EPNS58EN3;DM540722PJNC58EN3";//ACCOUNT NUMBER(S)
	hbx.cacct="975408123219";
}
else{
	hbx.acct="DM5501042ASV";//ACCOUNT NUMBER(S)
	hbx.cacct="975708293562";
}


var pTit=window.document.title.replace('Checks, Business Cards, & More –', '');  //"PUT+PAGE+NAME+HERE";//PAGE NAME(S)

var fullURL = document.URL.toLowerCase();
var pos1 = 0;
var parms = "";

pos1 = fullURL.indexOf("?");
if (pos1 < fullURL.length)
   parms = fullURL.substring(pos1+1);

hbx.pn=pTit.replace(/ /g,"+");
hbx.mlc="CONTENT+CATEGORY";//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
var segVar="";
var segState = "";
var pType = "";
var imPageTitle=window.document.title;


if (pTit.indexOf("Sales Receipt") >= 0)
	segVar = "15";	
	


hbx.seg=segVar;//VISITOR SEGMENTATION
hbx.fnl="";//FUNNELS

//CAMPAIGNS
hbx.cmp="";//CAMPAIGN ID
hbx.cmpn="";//CAMPAIGN ID IN QUERY
hbx.dcmp="";//DYNAMIC CAMPAIGN ID
hbx.dcmpn="";
pos1 = fullURL.indexOf("track=");
if (pos1 >= 0)
        hbx.dcmpn="track";//DYNAMIC CAMPAIGN ID IN QUERY
else
{
   pos1 = fullURL.indexOf("ltrk=");
   if (pos1 >= 0)
   {
        if (parms.length > 0)
        {
                var cString = "";
                cString = getParm("ltrk",parms);
                var retVar;
                retVar = getParm("ltrkloc", parms);
                if (retVar)
                        cString += "-" + retVar;
                retVar = getParm("ltrk_pid", parms);
                if (retVar)
                        cString += "-" + retVar;
                retVar = getParm("ltrk_ptype", parms);
                if (retVar)
                        cString += "-" + retVar;
                retVar = getParm("brand", parms);
                if (retVar && retVar != "3")
                        cString += "-brand" + retVar;
                 hbx.dcmp="OTC-"+cString;
        }
   }
}
var bcode = "";
var _dcX=document.cookie;
var _i1X=_dcX.indexOf("brand=");
if (_i1X >= 0)
{
	bcode = _dcX.substring(_i1X+6,_i1X+6);
}
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="";//CUSTOM 1
hbx.hc2="";//CUSTOM 2
hbx.hc3="";//CUSTOM 3
hbx.hc4="";//CUSTOM 4
hbx.hc5="";//CUSTOM 5
hbx.hc6="";//CUSTOM 6
hbx.hc7="";//CUSTOM 7
hbx.hc8="";//CUSTOM 8
hbx.hc5=bcode;
hbx.hrf="";//CUSTOM REFERRER
hbx.pec="";//ERROR CODES

//INSERT CUSTOM EVENTS

//END EDITABLE SECTION

//REQUIRED SECTION. CHANGE "YOURSERVER" TO VALID LOCATION ON YOUR WEB SERVER (HTTPS IF FROM SECURE SERVER)
