
/* Channel3000.com scripts */
// Begin national js scripts
 if (IBSYS.application.Application.getProperty('ads.defaultStrategy', '') == "DartAlternate" ) {  IBSYS.ad.AdManager.setEventMapping('newMediaContent', {   mapping: [{    Strategy: {     Name: 'dartAsx',     Parameters: {      contentMeta: {event: 'eventData'},      rollType: 'preroll',      playerType: this.playerType     }    },    Rules: [{     Type: 'CheckValue',     check: {position: 'type'},     expect: 'asxProxy'    },    {     Type: 'CheckValue',     check: { event: 'eventData.showAds'},     expect: true    }]   }]  });    IBSYS.ad.AdManager.setEventMapping('playingVideoAd', {   mapping: [   {    Strategy: {     Name: 'videoCompanionIFrame',     Parameters: {      adPre: {event: 'eventData'}     }    },    Rules: [{     Type: 'CheckValue',     check: {event: 'eventData.companionSource'}    },    {     Type: 'adPositionSizeIn',     sizes: '300x250'    }]   },       {    Strategy: {     Name: 'videoCompanion',     Parameters: {      adPre: {event: 'eventData'}     }    },    Rules: [{     Type: 'CheckValue',     check: {event: 'eventData.companionImageSource'}    },    {     Type: 'adPositionSizeIn',     sizes: '300x250'    }]   },   {    Strategy: {     Name: "Dart",     Parameters: {      companionID: {event: 'eventData.adid'},      companionIdLabel: 'adid',      interactive: false,      topic: 'interactive',      useId: {       propPath: 'IBSYS.media.vidPlayModule.currentVideo.coidValue'      },      section: {       propPath: 'IBSYS.media.vidPlayModule.currentVideo.category'      },      getSect: false,      useZone: { application: 'dartAsx.lastZone'}     }    },    Rules: [{     expect: "DOM",     check: {position: "type"},     Type: "CheckValue"    },{     Type: 'adPositionSizeIn',     sizes: '300x250,160x600,728x90'    }]   }]  });    IBSYS.ad.AdManager.setEventMapping('videoAdSkipped', {   mapping: [{    Strategy: {     Name: "Dart",     Parameters: {      companionID: {event: 'eventData.adid'},      companionIdLabel: 'adid',      interactive: true,      useId: {       propPath: 'IBSYS.media.vidPlayModule.currentVideo.coidValue'      },      section: {       propPath: 'IBSYS.media.vidPlayModule.currentVideo.category'      },      getSect: false     }    },    Rules: [{     expect: "DOM",     check: {position: "type"},     Type: "CheckValue"    },{     Type: 'adPositionSizeIn',     sizes: '300x250,160x600,728x90'    }]   }]  }); } 
// End national_js scripts


