
/* OOVVUU Targeting */
const path = ‘/news/canada’;
const siteName = ‘thestar.com’;
let domain = ‘thestar.com’;
if (siteName === ‘thestar.com’)
domain = ‘thestar.com’;
else if (siteName === ‘niagarafallsreview.ca’)
domain = ‘niagara_falls_review’;
else if (siteName === ‘stcatharinesstandard.ca’)
domain = ‘st_catharines_standard’;
else if (siteName === ‘thepeterboroughexaminer.com’)
domain = ‘the_peterborough_examiner’;
else if (siteName === ‘therecord.com’)
domain = ‘the_record’;
else if (siteName === ‘thespec.com’)
domain = ‘the_spec’;
else if (siteName === ‘wellandtribune.ca’)
domain = ‘welland_tribune’;
else if (siteName === ‘bramptonguardian.com’)
domain = ‘brampton_guardian’;
else if (siteName === ‘caledonenterprise.com’)
domain = ‘caledon_enterprise’;
else if (siteName === ‘cambridgetimes.ca’)
domain = ‘cambridge_times’;
else if (siteName === ‘durhamregion.com’)
domain = ‘durham_region’;
else if (siteName === ‘guelphmercury.com’)
domain = ‘guelph_mercury’;
else if (siteName === ‘insidehalton.com’)
domain = ‘inside_halton’;
else if (siteName === ‘insideottawavalley.com’)
domain = ‘inside_ottawa_valley’;
else if (siteName === ‘mississauga.com’)
domain = ‘mississauga’;
else if (siteName === ‘muskokaregion.com’)
domain = ‘muskoka_region’;
else if (siteName === ‘newhamburgindependent.ca’)
domain = ‘new_hamburg_independent’;
else if (siteName === ‘niagarathisweek.com’)
domain = ‘niagara_this_week’;
else if (siteName === ‘northbaynipissing.com’)
domain = ‘north_bay_nipissing’;
else if (siteName === ‘northumberlandnews.com’)
domain = ‘northumberland_news’;
else if (siteName === ‘orangeville.com’)
domain = ‘orangeville’;
else if (siteName === ‘ourwindsor.ca’)
domain = ‘our_windsor’;
else if (siteName === ‘parrysound.com’)
domain = ‘parrysound’;
else if (siteName === ‘simcoe.com’)
domain = ‘simcoe’;
else if (siteName === ‘theifp.ca’)
domain = ‘the_ifp’;
else if (siteName === ‘waterloochronicle.ca’)
domain = ‘waterloo_chronicle’;
else if (siteName === ‘yorkregion.com’)
domain = ‘york_region’;
let sectionTag = ”;
try
if (domain === ‘thestar.com’ && path.indexOf(‘wires/’) = 0)
sectionTag = ‘/business’;
else if (path.indexOf(‘/autos’) >= 0)
sectionTag = ‘/autos’;
else if (path.indexOf(‘/entertainment’) >= 0)
sectionTag = ‘/entertainment’;
else if (path.indexOf(‘/life’) >= 0)
sectionTag = ‘/life’;
else if (path.indexOf(‘/news’) >= 0)
sectionTag = ‘/news’;
else if (path.indexOf(‘/politics’) >= 0)
sectionTag = ‘/politics’;
else if (path.indexOf(‘/sports’) >= 0)
sectionTag = ‘/sports’;
else if (path.indexOf(‘/opinion’) >= 0)
sectionTag = ‘/opinion’;
} catch (ex)
const descriptionUrl = ‘window.location.href’;
const vid = ‘mediainfo.reference_id’;
const cmsId = ‘2665777’;
let url = `https://pubads.g.doubleclick.net/gampad/ads?iu=/58580620/$domain/video/oovvuu$sectionTag&description_url=$descriptionUrl&vid=$vid&cmsid=$cmsId&tfcd=0&npa=0&sz=640×480&ad_rule=0&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=`;
url = url.split(‘ ‘).join(”);
window.oovvuuReplacementAdServerURL = url;
Canada has seen a concerning rise in measles cases in the first months of 2024.
By the third week of March, the country had already recorded more than three times the number of cases as all of last year. Canada had just 12 cases of measles in 2023, up from three in 2022.
function buildUserSwitchAccountsForm()
var form = document.getElementById(‘user-local-logout-form-switch-accounts’);
if (form) return;
// build form with javascript since having a form element here breaks the payment modal.
var switchForm = document.createElement(‘form’);
switchForm.setAttribute(‘id’,’user-local-logout-form-switch-accounts’);
switchForm.setAttribute(‘method’,’post’);
switchForm.setAttribute(‘action’,’https://www.thestar.com/tncms/auth/logout/?return=https://www.thestar.com/users/login/?referer_url=https%3A%2F%2Fwww.thestar.com%2Fnews%2Fcanada%2Ftoronto-reports-2-more-measles-cases-use-our-tool-to-check-the-spread-in-canada%2Farticle_20aa7df4-e88f-11ee-8fad-8f8368d7ff53.html’);
switchForm.setAttribute(‘style’,’display:none;’);
var refUrl = document.createElement(‘input’); //input element, text
refUrl.setAttribute(‘type’,’hidden’);
refUrl.setAttribute(‘name’,’referer_url’);
refUrl.setAttribute(‘value’,’https://www.thestar.com/news/canada/toronto-reports-2-more-measles-cases-use-our-tool-to-check-the-spread-in-canada/article_20aa7df4-e88f-11ee-8fad-8f8368d7ff53.html’);
var submit = document.createElement(‘input’);
submit.setAttribute(‘type’,’submit’);
submit.setAttribute(‘name’,’logout’);
submit.setAttribute(‘value’,’Logout’);
switchForm.appendChild(refUrl);
switchForm.appendChild(submit);
document.getElementsByTagName(‘body’)[0].appendChild(switchForm);
function handleUserSwitchAccounts()
window.sessionStorage.removeItem(‘bd-viafoura-oidc’); // clear viafoura JWT token
// logout user before sending them to login page via return url
document.getElementById(‘user-local-logout-form-switch-accounts’).submit();
return false;
buildUserSwitchAccountsForm();
#ont-map-iframepadding:0;width:100%;border:0;overflow:hidden;
#ontario-cases-iframepadding:0;width:100%;border:0;overflow:hidden;
#province-table-iframepadding:0;width:100%;border:0;overflow:hidden;
console.log(‘=====> bRemoveLastParagraph: ‘,0);












