// function hideVideoIntroAnim(){ if (PlayerFrame.document.getElementById('videoIntroAnim')) { PlayerFrame.document.getElementById('videoIntroAnim').style.display='none'; } } function hideErrorPlayingVideo(){ if (document.getElementById('errorPlayingVideo')) { document.getElementById('errorPlayingVideo').style.display='none'; } if (document.getElementById('errorNonUK')) { document.getElementById('errorNonUK').style.display='none'; } if (document.getElementById('errorDRM')) { document.getElementById('errorDRM').style.display='none'; } if (document.getElementById('needDRM')) { document.getElementById('needDRM').style.display='none'; } } //
// DomLoaded.load( function() { var loadingVideo = getElementsByClass('loadingVideo',null,'div')[0]; var loadingVideoFlash = new SWFObject("/_app/flash/swf/loadingVideo.swf", "loadingVideo", "320", "250", "8", "#000"); loadingVideoFlash.write(loadingVideo); } ); //
// baseHref=document.getElementsByTagName('base')[0].href; function insertVidController(){//this function is needed to fix a bug with the ExternalInterface in IE. var videoController = getElementsByClass('videoController',null,'div')[0]; var videoControllerFlash = new SWFObject("/_app/flash/swf/videoController_08_2.swf?baseurl="+baseHref, "videoController", "322", "50", "8", "#EEEEEE"); videoControllerFlash.addParam("wmode", "transparent"); videoControllerFlash.write(videoController); } if ((parseInt( Itv.ClientCaps.FlashVersion )<=8)&&Itv.ClientCaps.ISIE){ document.write('
'); }else{ insertVidController() } //
// baseHref=document.getElementsByTagName('base')[0].href; function insertWatchNow(){//this function is needed to fix a bug with the ExternalInterface in IE. var WatchNow = getElementsByClass('WatchNowFlashDiv',null,'div')[0]; var WatchNowFlash = new SWFObject("/_app/flash/swf/watchNow_08.swf?baseurl="+baseHref, "WatchNowFlashDiv", "322", "52", "8", "#EEEEEE"); WatchNowFlash.write(WatchNow); } insertWatchNow() //
AddAdCallToStack('http://sam.itv.com','ITV','SPORT','1','300x250','False','placeholderadvert1','SPORT');