 
 		/**
 		 * delete all data concerning the current entry, so when
-		 * the next entry loads we'll ask for new info 
+		 * the next entry loads we'll ask for new info
 		 */
 		private function clearMediaData():void {
 			_entryTitle = null;
 			_entryId = null;
 			_entryUrl = null;
 		}
-		
-		
+
+
 		private function retrieveMediaData():void {
 			var mp:Object = facade.retrieveProxy("mediaProxy");
 			_entryTitle = mp.vo.entry.name;

		public var traces:String = "";

		/**
		 * current ad context. 
		 * possible values are preroll / midroll / postroll. 
		 */
		private var _adContext:String = TremorMediator.MID;

		/**
		 * Tremor's hell-ish ad manager 
		 */		
		private var _adManager:IAdManager;
		
		/**
		 * title of current media entry 
		 */		
		private var _entryTitle:String = "";
		
		/**
		 * id of current media entry 
		 */		
		private var _entryId:String = "";
		
		/**
		 * url of current media entry 
		 */		
		private var _entryUrl:String = "";
		
		/**
		 * current player volium 
		 */		
		private var _currentVolume:Number = 100;
		
		/**
		 * indicates the video had started playing and asked for prerolls
		 */		
		private var _requestAd:Boolean;
		
		/**
		 * indicates ads program is loaded 
		 */		
		private var _programLoaded:Boolean = false;
		
		/**
		 * init manager once only. 
		 */		
		private var _managerInit:Boolean = false;
		
		/**
		 * since the new enableGui mechanism in KDP counts calls to 
		 * enable/disable gui, use this to not call too many of any of them. 
		 */
		private var _controlsEnabled:Boolean = true;

		/**
		 * tremor send startAd for midrolls twice. we'll only dispatch one of them.
		 * hopefully. 
		 */
		private var _midrollStatFlag:Boolean = false;
		
		
		/**
		 * This flag is to mark when a mid roll was played
		 */
		private var paused:Boolean = false;
		
		
		private var bypassAds:Boolean = false;
		/**
		 * Holder for internal companion ads 
		 */
		private var companionHolder:UIComponent;
		/**
		 * Maximum days for this ad to be live 
		 */		
		public var maxAgeForAds:Number = 0;
		/**
		 * The creationDate of this entry 
		 */		
		public var creationDate:Number = 0;
		/**
		 * Constructor.
		 * @param viewComponent
		 * @param prog	Tremor program id
		 * @param tracesVolume	
		 * 
		 */
		public function TremorMediator(viewComponent:Object = null, prog:String = "", tracesVolume:String = "FATAL",companionHolder:UIComponent=null) {
			trace("TremorMediator V1"); 
			super(viewComponent);
			if (prog != "")
				progId = prog;
			traces = tracesVolume;
			this.companionHolder = companionHolder;
			_adManager = (viewComponent as Tremor).ad_manager;
			
		}

		
		/**
		 * initialize the ad manager 
		 */
		private function initAdManager():void {


	import flash.geom.Rectangle;
	import flash.net.URLRequest;
	import flash.net.navigateToURL;

	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.interfaces.IProxy;

