/** 
 Austereo Now Playing Functionality 
 CHANGELOG: 
 20091102 - Born. 
 **/
function refreshSession(){var pN;if(window['s_pageName']){pN=s_pageName}else if(window['s']){pN=s.pageName}FD.doNielsonImpression.delay(50,FD,[pN,location.href])}function onVideoPlay(event){this.refreshSession()}function onVideoStop(event){this.refreshSession()}function onTemplateLoaded(experienceID){try{player=bcPlayer.getPlayer(experienceID);video=player.getModule(APIModules.VIDEO_PLAYER);video.addEventListener(BCMediaEvent.PLAY,onVideoPlay);video.addEventListener(BCMediaEvent.STOP,onVideoStop)}catch(e){addBrightcove2Events()}}function addBrightcove2Events(){try{callFlash("addEventListener","streamStart","onVideoPlay");callFlash("addEventListener","mediaStop","onVideoStop")}catch(e){}}function receiveOoyalaEvent(playerId,eventName,eventArgs){if(eventName=="stateChanged"){if(eventArgs.state=="playing"){onVideoPlay()}}if(eventName=="playComplete"){onVideoStop()}}