var setcookie = "N"; var doreplace = "N"; var ruleset = "None"; var continueeval = "Y"; var referrer = "Nothing"; var overridevariablevalue = "Nothing"; // Examine cookie var curCookie = document.cookie.split("; "); for (var i=0; i < curCookie.length; i++) { var crumb = curCookie[i].split("="); var name = crumb[0]; var value = crumb[1]; // Found a Cookie if (name == "HubCookie") { // Pull values from the HubCookie var cookvalue = value.split("|"); overridevariablevalue = cookvalue[0]; if (overridevariablevalue != "Nothing") { value = overridevariablevalue; // We found our variable name.. Now look at values. if (name = "phtrack") { // We found a value match. Set doreplace to Y... if (value == "ppclinkbuilding") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ACTest") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "PPC") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsearchengineoptimization") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsearchengineoptimization") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcwebdesign") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcwebdesign") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcwebdev") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcwebdev") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsimilar") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ACTest") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdigitalmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdigitalmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppclinkbuilding") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccompetitors") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccompetitors") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppconlinemarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppconlinemarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcinternetmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcinternetmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdsa") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdsa") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsimilar") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcyt") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcyt") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "newscms") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "newscms") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "adroll") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdisplay") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdisplay") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "seoreseller") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "seoreseller") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "outsourceseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdigitaladvertising") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsearchenginemarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsearchenginemarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcenterprise") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcbrand") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcbrand") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpaidsearche") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpaidsearche") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccontentmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccontentmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpr") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpr") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcenterprise") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdigitaladvertising") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcli") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "research") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "TMF") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email4") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email1") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "facebook") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email3") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "research") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "localseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "software") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "linkedin") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "redsp") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "TMF") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "localseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "software") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "redsp") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "linkedin") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email2") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email3") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "facebook") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email1") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email4") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email2") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsocial") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppc") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppc") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccontent") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccontent") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcremarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcremarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcweb") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcweb") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsem") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcli") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcemail") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcemail") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppclocal") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppclocal") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpaidsearch") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpaidsearch") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsem") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsocial") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } } } referrer = cookvalue[1]; if (referrer != "Nothing") { var str = referrer; var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { doreplace = "Y"; setcookie = "Y"; continueeval = "N"; var ruleset = "R"; referrer = str; } var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { doreplace = "Y"; setcookie = "Y"; continueeval = "N"; var ruleset = "R"; referrer = str; } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { doreplace = "Y"; setcookie = "Y"; continueeval = "N"; var ruleset = "R"; referrer = str; } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { doreplace = "Y"; setcookie = "Y"; continueeval = "N"; var ruleset = "R"; referrer = str; } } // This was set to Y in the template because that is used later, but we DONT want to rewrite the cookie here. setcookie = "N"; } } // Only do this if HubCookie was NOT found... if (continueeval == "Y") { //Examine URL string var searchString = document.location.search; searchString = searchString.substring(1); var nvPairs = searchString.split("&"); for (i = 0; i < nvPairs.length; i++) { var nvPair = nvPairs[i].split("="); var name = nvPair[0]; var value = nvPair[1]; // We found our variable name.. Now look at values. if (name = "phtrack") { // We found a value match. Set doreplace to Y... if (value == "ppclinkbuilding") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ACTest") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "PPC") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsearchengineoptimization") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsearchengineoptimization") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcwebdesign") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcwebdesign") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcwebdev") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcwebdev") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsimilar") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ACTest") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdigitalmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdigitalmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppclinkbuilding") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccompetitors") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccompetitors") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppconlinemarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppconlinemarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcinternetmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcinternetmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdsa") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdsa") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsimilar") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcyt") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcyt") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "newscms") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "newscms") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "adroll") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdisplay") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdisplay") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "seoreseller") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "seoreseller") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "outsourceseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdigitaladvertising") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsearchenginemarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsearchenginemarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcenterprise") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcbrand") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcbrand") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpaidsearche") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpaidsearche") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccontentmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccontentmarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpr") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpr") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcenterprise") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcdigitaladvertising") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcli") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "research") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "TMF") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email4") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email1") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "facebook") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email3") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "research") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "localseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "software") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "linkedin") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "redsp") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "TMF") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "localseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "software") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "redsp") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "linkedin") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email2") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email3") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "facebook") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email1") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email4") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "email2") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsocial") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcseo") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppc") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppc") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccontent") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppccontent") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcremarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcremarketing") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcweb") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcweb") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsem") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcli") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcemail") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcemail") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppclocal") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppclocal") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpaidsearch") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcpaidsearch") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsem") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } // We found a value match. Set doreplace to Y... if (value == "ppcsocial") { overridevariablevalue = value; doreplace = "Y"; ruleset = "V"; setcookie = "Y"; continueeval = "N"; } } } } // Only do this if HubCookie was NOT found AND URL string evaluation failed to find anything... if (continueeval == "Y") { //Examine referrer var str = document.referrer; var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { doreplace = "Y"; setcookie = "Y"; continueeval = "N"; var ruleset = "R"; referrer = str; } var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { doreplace = "Y"; setcookie = "Y"; continueeval = "N"; var ruleset = "R"; referrer = str; } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { doreplace = "Y"; setcookie = "Y"; continueeval = "N"; var ruleset = "R"; referrer = str; } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { doreplace = "Y"; setcookie = "Y"; continueeval = "N"; var ruleset = "R"; referrer = str; } } // START myscript FUNCTION function myscript() { //Start Rewrite if (document.getElementById('phtrack') != null) { var newtext = document.getElementById('phtrack').innerHTML; if (ruleset == "V") { if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); } if (overridevariablevalue == "PPC") { newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); } if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); } if (overridevariablevalue == "adroll") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "outsourceseo") { newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "research") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); } if (overridevariablevalue == "research") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } } if (ruleset == "R") { var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); } var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); } } document.getElementById('phtrack').innerHTML = newtext; } if (document.getElementById('phtrack1') != null) { var newtext = document.getElementById('phtrack1').innerHTML; if (ruleset == "V") { if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); } if (overridevariablevalue == "PPC") { newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); } if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); } if (overridevariablevalue == "adroll") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "outsourceseo") { newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "research") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); } if (overridevariablevalue == "research") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } } if (ruleset == "R") { var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); } var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); } } document.getElementById('phtrack1').innerHTML = newtext; } if (document.getElementById('phtrack2') != null) { var newtext = document.getElementById('phtrack2').innerHTML; if (ruleset == "V") { if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); } if (overridevariablevalue == "PPC") { newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); } if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); } if (overridevariablevalue == "adroll") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "outsourceseo") { newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "research") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); } if (overridevariablevalue == "research") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } } if (ruleset == "R") { var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); } var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); } } document.getElementById('phtrack2').innerHTML = newtext; } if (document.getElementById('phtrack3') != null) { var newtext = document.getElementById('phtrack3').innerHTML; if (ruleset == "V") { if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); } if (overridevariablevalue == "PPC") { newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); } if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); } if (overridevariablevalue == "adroll") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "outsourceseo") { newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "research") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); } if (overridevariablevalue == "research") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } } if (ruleset == "R") { var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); } var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); } } document.getElementById('phtrack3').innerHTML = newtext; } if (document.getElementById('phtrack4') != null) { var newtext = document.getElementById('phtrack4').innerHTML; if (ruleset == "V") { if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); newtext = newtext.replace("866-482-5505","888-983-7215"); } if (overridevariablevalue == "PPC") { newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); newtext = newtext.replace("(585) 461-5010","(585) 454-8093"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); newtext = newtext.replace("888-266-6432","888-983-7412"); } if (overridevariablevalue == "ppcsearchengineoptimization") { newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); newtext = newtext.replace("866-482-5505","888-983-7412"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "ppcwebdesign") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); newtext = newtext.replace("888-266-6432","888-979-9868"); } if (overridevariablevalue == "ppcwebdev") { newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); newtext = newtext.replace("866-482-5505","888-979-9868"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); newtext = newtext.replace("888-266-6432","877-756-4757"); } if (overridevariablevalue == "ACTest") { newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); newtext = newtext.replace("888-266-6432","888-983-7215"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); newtext = newtext.replace("888-266-6432","888-983-7460"); } if (overridevariablevalue == "ppcdigitalmarketing") { newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); newtext = newtext.replace("866-482-5505","888-983-7460"); } if (overridevariablevalue == "ppclinkbuilding") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "ppccompetitors") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); newtext = newtext.replace("866-482-5505","855-848-3164"); } if (overridevariablevalue == "ppconlinemarketing") { newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); newtext = newtext.replace("888-266-6432","855-848-3164"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); newtext = newtext.replace("888-266-6432","855-807-5202"); } if (overridevariablevalue == "ppcinternetmarketing") { newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); newtext = newtext.replace("866-482-5505","855-807-5202"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); newtext = newtext.replace("866-482-5505","866-612-0343"); } if (overridevariablevalue == "ppcdsa") { newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); newtext = newtext.replace("888-266-6432","866-612-0343"); } if (overridevariablevalue == "ppcsimilar") { newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); newtext = newtext.replace("866-482-5505","877-756-4757"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); newtext = newtext.replace("888-266-6432","866-443-9509"); } if (overridevariablevalue == "ppcyt") { newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); newtext = newtext.replace("866-482-5505","866-443-9509"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); newtext = newtext.replace("888-266-6432","888-997-4209"); } if (overridevariablevalue == "newscms") { newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); newtext = newtext.replace("866-482-5505","888-997-4209"); } if (overridevariablevalue == "adroll") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); newtext = newtext.replace("866-482-5505","888-563-4096"); } if (overridevariablevalue == "ppcdisplay") { newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); newtext = newtext.replace("888-266-6432","888-563-4096"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); newtext = newtext.replace("888-266-6432","877-818-5490"); } if (overridevariablevalue == "seoreseller") { newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); newtext = newtext.replace("866-482-5505","877-818-5490"); } if (overridevariablevalue == "outsourceseo") { newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); newtext = newtext.replace("866-482-5505","888-913-8594"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); newtext = newtext.replace("888-266-6432","877-659-8380"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); newtext = newtext.replace("866-482-5505","855-805-6719"); } if (overridevariablevalue == "ppcsearchenginemarketing") { newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); newtext = newtext.replace("888-266-6432","855-805-6719"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); newtext = newtext.replace("888-266-6432","888-983-7469"); } if (overridevariablevalue == "ppcbrand") { newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); newtext = newtext.replace("866-482-5505","888-983-7469"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); newtext = newtext.replace("866-482-5505","877-562-7571"); } if (overridevariablevalue == "ppcpaidsearche") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); newtext = newtext.replace("866-482-5505","877-668-9511"); } if (overridevariablevalue == "ppccontentmarketing") { newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); newtext = newtext.replace("888-266-6432","877-668-9511"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); newtext = newtext.replace("866-482-5505","866-252-2517"); } if (overridevariablevalue == "ppcpr") { newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); newtext = newtext.replace("888-266-6432","866-252-2517"); } if (overridevariablevalue == "ppcenterprise") { newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); newtext = newtext.replace("888-266-6432","877-562-7571"); } if (overridevariablevalue == "ppcdigitaladvertising") { newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); newtext = newtext.replace("866-482-5505","877-659-8380"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "research") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); newtext = newtext.replace("866-482-5505","888-224-1870"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); newtext = newtext.replace("866-482-5505","877-641-5202"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); newtext = newtext.replace("866-482-5505","888-249-8498"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); newtext = newtext.replace("866-482-5505","888-253-5124"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); newtext = newtext.replace("866-482-5505","888-249-9152"); } if (overridevariablevalue == "research") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); newtext = newtext.replace("866-482-5505","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); newtext = newtext.replace("866-482-5505","888-231-7065"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); newtext = newtext.replace("866-482-5505","866-574-5726"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); newtext = newtext.replace("866-482-5505","866-291-0634"); } if (overridevariablevalue == "TMF") { newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); newtext = newtext.replace("888-266-6432","888-224-1870"); } if (overridevariablevalue == "localseo") { newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); newtext = newtext.replace("888-266-6432","866-295-8897"); } if (overridevariablevalue == "software") { newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); newtext = newtext.replace("888-266-6432","888-231-7065"); } if (overridevariablevalue == "redsp") { newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); newtext = newtext.replace("888-266-6432","866-291-0634"); } if (overridevariablevalue == "linkedin") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); newtext = newtext.replace("888-266-6432","888-249-8962"); } if (overridevariablevalue == "email3") { newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); newtext = newtext.replace("888-266-6432","888-249-9152"); } if (overridevariablevalue == "facebook") { newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); newtext = newtext.replace("888-266-6432","888-253-5124"); } if (overridevariablevalue == "email1") { newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); newtext = newtext.replace("888-266-6432","888-249-8498"); } if (overridevariablevalue == "email4") { newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); newtext = newtext.replace("888-266-6432","877-641-5202"); } if (overridevariablevalue == "email2") { newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); newtext = newtext.replace("866-482-5505","888-249-8962"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); newtext = newtext.replace("866-482-5505","866-292-2735"); } if (overridevariablevalue == "ppcseo") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); newtext = newtext.replace("888-266-6432","866-295-5753 "); } if (overridevariablevalue == "ppc") { newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); newtext = newtext.replace("866-482-5505","866-295-5753 "); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); newtext = newtext.replace("888-266-6432","855-776-2637"); } if (overridevariablevalue == "ppccontent") { newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); newtext = newtext.replace("866-482-5505","855-776-2637"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppcremarketing") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); newtext = newtext.replace("866-482-5505","855-770-2893"); } if (overridevariablevalue == "ppcweb") { newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); newtext = newtext.replace("888-266-6432","855-770-2893"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); newtext = newtext.replace("866-482-5505","855-773-8184"); } if (overridevariablevalue == "ppcli") { newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); newtext = newtext.replace("888-266-6432","866-574-5726"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); newtext = newtext.replace("888-266-6432","855-777-0742"); } if (overridevariablevalue == "ppcemail") { newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); newtext = newtext.replace("866-482-5505","855-777-0742"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); newtext = newtext.replace("888-266-6432","855-777-8597"); } if (overridevariablevalue == "ppclocal") { newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); newtext = newtext.replace("866-482-5505","855-777-8597"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); newtext = newtext.replace("888-266-6432","855-802-9476"); } if (overridevariablevalue == "ppcpaidsearch") { newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); newtext = newtext.replace("866-482-5505","855-802-9476"); } if (overridevariablevalue == "ppcsem") { newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); newtext = newtext.replace("888-266-6432","855-773-8184"); } if (overridevariablevalue == "ppcsocial") { newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); newtext = newtext.replace("888-266-6432","866-292-2735"); } } if (ruleset == "R") { var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); newtext = newtext.replace("888-266-6432","866-574-5730"); } var patt = new RegExp ("google.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); newtext = newtext.replace("866-482-5505","866-574-5730"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); newtext = newtext.replace("866-482-5505","866-574-5727"); } var patt = new RegExp ("bing.com","i"); if (patt.test(str)==true) { newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); newtext = newtext.replace("888-266-6432","866-574-5727"); } } document.getElementById('phtrack4').innerHTML = newtext; } // alert('5'); //End Rewrite if (setcookie == "Y") { // Set cookie // We need to add a PATH substatement here to specify the ROOT directory for landing pages in directories... days=30; // number of days to keep the cookie myDate = new Date(); myDate.setTime(myDate.getTime()+(days*24*60*60*1000)); // Build a HubCookie value that includes the overridevariablevalue | referrer for later processing if they come back. document.cookie = 'HubCookie=' + overridevariablevalue + '|' + referrer + '; path=/; expires=' + myDate.toGMTString(); } } // END myscript function /* function onloadhandler() { window.onLoad = myscript(); } */ if (doreplace == "Y") { //Get browser and Page - Delay if IE and FindaLocation due to Google map conflict var browser=navigator.appName; var sPath = window.location.pathname; var sPage = sPath.substring(sPath.lastIndexOf('/') + 1); if (browser=="Microsoft Internet Explorer" && sPage == "FindaLocation.aspx") { setTimeout('myscript();', 5); } else { setTimeout('myscript();', 5); } } // End If DoReplace is Y