function syncRoadBlock( adTag ) {
    var adnode = document.getElementById("ez-companionAd");
	
	if (adnode != null){
		adnode.innerHTML = '<ifr' + 'ame src="' + adTag + '" id="ifr_companion" width="300" height="250" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no">' + '</ifr' + 'ame>';
	}
}


// Called from Flash when new media loaded (e.g., continuous play, highlights reel)
EVERYZING.metaPlayerRequest.setTitle = function(value){
    jQuery(".ez-playerTitle h1").text(value);
	jQuery(".ez-breadcrumbVideoTitle").text(value);
	
	jQuery(".ez-player .ez-transcript-disclaimer").css("display", "none");
	jQuery(".ez-player .ez-clipLabel").css("display", "none");
    jQuery(".ez-player .ez-videoTitle").css("display", "none");
	jQuery(".ez-player .ez-transcriptMod-ares-fullTranscript").css("display", "none");
	jQuery(".ez-player .ez-fullTranscript").css("display", "none");
};

EVERYZING.metaPlayerRequest.setPubDate = function(value){};

EVERYZING.metaPlayerRequest.setDescription = function(value){
    jQuery(".ez-player .ez-player-desc").text(value);
	EVERYZING.truncateMoreLess(140, ".ez-player-desc");
};

EVERYZING.metaPlayerRequest.setEpisodeId = function(value){
    EVERYZING.showPlayingClip(value);
};


EVERYZING.showPlayingClip = function(clipId){
	jQuery(".ez-clipEpisode").each(function(){
		var item = jQuery(this);
		
		if (item.attr("clipid") == clipId){
			jQuery(".ez-clipOn", item).show();
			jQuery(".ez-clipOff", item).hide();
			/*var top = item.offset().top - jQuery('.ez-clipBox').offset().top
			jQuery('.ez-clipBox').animate({scrollTop: top}, 1000);*/
		}else{
            jQuery(".ez-clipOn", item).hide();
            jQuery(".ez-clipOff", item).show();
		}
	});
}


EVERYZING.transcriptMod_ares_toggleTranscript = function(tClipLength) {
    var tObjEl = document.getElementById('ez-fullTranscript');
    var tBtnEl = document.getElementById('ez-transcript-btn');
    
    if (tBtnEl.innerHTML == "[+]"){
        tObjEl.innerHTML = EVERYZING.transcriptMod_ares_fullTranscriptText;
        tObjEl.className = "ez-full";
        tBtnEl.innerHTML = "[-]";
    }else{
        EVERYZING.transcriptMod_ares_fullTranscriptText = tObjEl.innerHTML;
        jQuery(tObjEl).truncateText(tClipLength, '... "');
        tObjEl.className = "ez-clipped";
        tBtnEl.innerHTML = "[+]";
    }
}