if (typeof (TagParameters.Optional.SuccessEventId) != "undefined" && TagParameters.Optional.SuccessEventId) { utag_data.success_event_id = TagParameters.Optional.SuccessEventId; } var utagLibPath = ""; var utagSyncLibPath = ""; if (document.location.host == "www-pce.schwab.com" || document.location.host == "www-uat.schwab.com" || document.location.host == "client-pce.schwab.com" || document.location.host == "www-qa.schwab.com") { utagLibPath = "/public/file/TEALIUM-UTAG-GLOBAL/utag.js"; utagSyncLibPath = "/system/asset/short/?cmsid=TEALIUM-UTAG-SYNC"; } else { utagLibPath = "//www.schwab.com/public/file/TEALIUM-UTAG-GLOBAL/utag.js"; utagSyncLibPath = "//www.schwab.com/system/asset/short/?cmsid=TEALIUM-UTAG-SYNC"; } if (typeof(adobe) == "undefined" ) { if (typeof($) == "function") { $.getScript(utagSyncLibPath); } else if (typeof(jQuery) == "function") { jQuery.getScript(utagSyncLibPath); } else { a=utagSyncLibPath; b=document;c='script';d=b.createElement(c);d.src=a;d.type='text/java'+c;d.async=false; a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a); } } var interval = setInterval(function() { // Check for utag.sync.js stuff to be loaded // and check every 10 msec if (typeof adobe == 'undefined') return; // It's there, clear timer and execute remaining code clearInterval(interval); // Now load utag.js a=utagLibPath; b=document;c='script';d=b.createElement(c);d.src=a;d.type='text/java'+c;d.async=false; a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a); }, 10); if (typeof(s) != "undefined" && s.prop17) { TagParameters.Vendor.SiteCatalyst.S.prop17 = s.prop17; } if (typeof (sendBid) != "undefined" && sendBid != "") { if (window.location.hostname == "content.schwab.com" || window.location.hostname == "activetrader.schwab.com" || window.location.hostname == "intelligent.schwab.com" || window.location.hostname == "intelligent-pre.schwab.com") { var bcon1 = document.createElement("img"); var refUrl = encodeURIComponent(window.location.href); var protocol = window.location.protocol == 'https:' ? 'https:' : 'http:'; bcon1.src = protocol + "//www.schwab.com/public/file?cmsid=P-684894&filename=ClrPix.gif" + "&bid=" + sendBid + "&refurl=" + refUrl; document.body.appendChild(bcon1); var bcon2 = document.createElement("script"); bcon2.src = protocol + "//www.schwab.com/public/schwab/page?cmsid=P-7212235" + "&bid=" + sendBid + "&refurl=" + refUrl; document.body.appendChild(bcon2); } }