/* This file should only be used to set the s_account variable (report suite variable) as the "s" object will not have been created at this point. To overwrite default variables, modify /js/local_s_code.js */;/*7P1RCD3H9R0M*/var I10C;(function(I10C){ I10C.ScriptBegin || (I10C.ScriptBegin = function(){}); I10C.ScriptEnd || (I10C.ScriptEnd = function(){});I10C.PostMessage || (I10C.PostMessage = function(){ return this.postMessage.apply(this, arguments); });I10C.Location || (I10C.Location = function i10cloc(ba$e, isWrite, op){ var locat1onPresent = Object.getOwnPropertyNames(ba$e).indexOf('locat1on') !== -1; return (!isWrite) ? ( locat1onPresent ? ba$e.locat1on : (ba$e.location || ba$e.locat1on)) : (locat1onPresent ? {set href(v) {ba$e.locat1on.href = v;}, get href() {return i10cloc(ba$e,false,op);}} : {set href(v) {ba$e.location = v;}, get href() {return i10cloc(ba$e,false,op);}});});})(I10C || (I10C = {}));I10C.ScriptBegin(); var s_account = 'canwestglobal,cannationalpost'; var schost = I10C.Location(window, false, 0).host; var scpathArray=I10C.Location(window, false, 0).pathname.split('/'); if (schost.search("qa.") !=-1 || schost.search("dev.") != -1 || schost.search("staging.") != -1) { s_account = "canpublishing,canwestglobaldev"; //} else if (scpathArray[1]!=undefined&&scpathArray[1]!=""&&scpathArray[1]=="mobile") { } else if (schost.search("classifieds.") !=-1) { s_account = "canwestglobal,canclassified-ecommrce"; //} else if (scpathArray[1]!=undefined&&scpathArray[1]!=""&&scpathArray[1]=="mobile") { } else if (scpathArray[1]!=undefined&&scpathArray[1]!=""&&scpathArray[1]=="m") { //s_account="canwestglobal,cannationalpost,canmobilenews" s_account="canwestglobal,canmobilenews" } ; I10C.ScriptEnd();